jruby/docs BETA
org.jsoup.select.Evaluator 42
C AllElements
C Attribute
C AttributeKeyPair
C AttributeStarting
C AttributeWithValue
C AttributeWithValueContaining
C AttributeWithValueEnding
C AttributeWithValueMatching
C AttributeWithValueNot
C AttributeWithValueStarting
C Class
C ContainsData
C ContainsOwnText
C ContainsText
C ContainsWholeOwnText
C ContainsWholeText
C CssNthEvaluator
C Id
C IndexEquals
C IndexEvaluator
C IndexGreaterThan
C IndexLessThan
C IsEmpty
C IsFirstChild
C IsFirstOfType
C IsLastChild
C IsLastOfType
C IsNthChild
C IsNthLastChild
C IsNthLastOfType
C IsNthOfType
C IsOnlyChild
C IsOnlyOfType
C IsRoot
C MatchText
C Matches
C MatchesOwn
C MatchesWholeOwnText
C MatchesWholeText
C Tag
C TagEndsWith
C TagStartsWith
AttributeStarting — members 3+
C new(key_prefix)
M matches(root, element) boolean
M to_string() String
from Evaluator
M as_predicate(root) Element>

org.jsoup.select.Evaluator.AttributeStarting

class final extends Evaluator 3 members

Evaluator for attribute name prefix matching

Constructors

new

new ( String key_prefix )
Java: <init>(String keyPrefix)

Instance Methods

matches

boolean matches ( Element root, Element element )
Java: matches(org.jsoup.nodes.Element root, org.jsoup.nodes.Element element)

to_string

String to_string ( )
Java: toString()

Inherited

from Evaluator

as_predicate

Predicate<Element> as_predicate ( Element root )
Java: asPredicate(org.jsoup.nodes.Element root)

Provides a Predicate for this Evaluator, matching the test Element.

nametypedescription
rootorg.jsoup.nodes.Elementthe root Element, for match evaluation

Returns: a predicate that accepts an Element to test for matches with this Evaluator