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
IsNthLastChild — members 1+
C new(step, offset)
from Evaluator
M as_predicate(root) Element>
from CssNthEvaluator
M matches(root, element) boolean
M to_string() String

org.jsoup.select.Evaluator.IsNthLastChild

class final extends Evaluator.CssNthEvaluator 1 members

css pseudo class :nth-last-child)

Constructors

new

new ( int step, int offset )
Java: <init>(int step, int offset)

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

from Evaluator.CssNthEvaluator

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()