Package org.jsoup.select
Class Evaluator
java.lang.Object
org.jsoup.select.Evaluator
- Direct Known Subclasses:
Evaluator.AllElements,Evaluator.Attribute,Evaluator.AttributeKeyPair,Evaluator.AttributeStarting,Evaluator.AttributeWithValueMatching,Evaluator.Class,Evaluator.ContainsData,Evaluator.ContainsOwnText,Evaluator.ContainsText,Evaluator.CssNthEvaluator,Evaluator.Id,Evaluator.IndexEvaluator,Evaluator.IsEmpty,Evaluator.IsFirstChild,Evaluator.IsLastChild,Evaluator.IsOnlyChild,Evaluator.IsOnlyOfType,Evaluator.IsRoot,Evaluator.Matches,Evaluator.MatchesOwn,Evaluator.MatchText,Evaluator.Tag,Evaluator.TagEndsWith
public abstract class Evaluator extends Object
Evaluates that an element matches the selector.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvaluator.AllElementsEvaluator for any / all element matchingstatic classEvaluator.AttributeEvaluator for attribute name matchingstatic classEvaluator.AttributeKeyPairAbstract evaluator for attribute name/value matchingstatic classEvaluator.AttributeStartingEvaluator for attribute name prefix matchingstatic classEvaluator.AttributeWithValueEvaluator for attribute name/value matchingstatic classEvaluator.AttributeWithValueContainingEvaluator for attribute name/value matching (value containing)static classEvaluator.AttributeWithValueEndingEvaluator for attribute name/value matching (value ending)static classEvaluator.AttributeWithValueMatchingEvaluator for attribute name/value matching (value regex matching)static classEvaluator.AttributeWithValueNotEvaluator for attribute name != value matchingstatic classEvaluator.AttributeWithValueStartingEvaluator for attribute name/value matching (value prefix)static classEvaluator.ClassEvaluator for element classstatic classEvaluator.ContainsDataEvaluator for matching Element (and its descendants) datastatic classEvaluator.ContainsOwnTextEvaluator for matching Element's own textstatic classEvaluator.ContainsTextEvaluator for matching Element (and its descendants) textstatic classEvaluator.CssNthEvaluatorstatic classEvaluator.IdEvaluator for element idstatic classEvaluator.IndexEqualsEvaluator for matching by sibling index number (e = idx)static classEvaluator.IndexEvaluatorAbstract evaluator for sibling index matchingstatic classEvaluator.IndexGreaterThanEvaluator for matching by sibling index number (e > idx)static classEvaluator.IndexLessThanEvaluator for matching by sibling index number (e < idx)static classEvaluator.IsEmptystatic classEvaluator.IsFirstChildEvaluator for matching the first sibling (css :first-child)static classEvaluator.IsFirstOfTypestatic classEvaluator.IsLastChildEvaluator for matching the last sibling (css :last-child)static classEvaluator.IsLastOfTypestatic classEvaluator.IsNthChildcss-compatible Evaluator for :eq (css :nth-child)static classEvaluator.IsNthLastChildcss pseudo class :nth-last-child)static classEvaluator.IsNthLastOfTypestatic classEvaluator.IsNthOfTypecss pseudo class nth-of-typestatic classEvaluator.IsOnlyChildstatic classEvaluator.IsOnlyOfTypestatic classEvaluator.IsRootcss3 pseudo-class :rootstatic classEvaluator.MatchesEvaluator for matching Element (and its descendants) text with regexstatic classEvaluator.MatchesOwnEvaluator for matching Element's own text with regexstatic classEvaluator.MatchTextstatic classEvaluator.TagEvaluator for tag namestatic classEvaluator.TagEndsWithEvaluator for tag name that ends with -
Constructor Summary
Constructors Modifier Constructor Description protectedEvaluator() -
Method Summary