org.apache.jmeter.extractor

## Interface Extractor

- All Superinterfaces:
    java.io.Serializable
  All Known Implementing Classes:
    JoddExtractor, JSoupExtractor

      public interface Extractor
      extends java.io.Serializable

  CSS/JQuery based extractor for HTML pages
  Since:
    2.9

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `extract(java.lang.String expression, java.lang.String attribute, int matchNumber, java.lang.String inputString, java.util.List<java.lang.String> result, int found, java.lang.String cacheKey)`

- - ### Method Detail

    - #### extract

          int extract(java.lang.String expression,
                      java.lang.String attribute,
                      int matchNumber,
                      java.lang.String inputString,
                      java.util.List<java.lang.String> result,
                      int found,
                      java.lang.String cacheKey)

      Parameters:
        `expression` - Expression used for extraction of nodes
        `attribute` - Attribute name to return
        `matchNumber` - Match number
        `inputString` - Page or excerpt
        `result` - List of results
        `found` - current matches found
        `cacheKey` - If not null, the implementation is encouraged to cache parsing result and use this key as part of cache key
      Returns:
        match found updated

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.