org.jsoup.select
Class Evaluator.AllElements

java.lang.Object
  extended by org.jsoup.select.Evaluator
      extended by org.jsoup.select.Evaluator.AllElements
Enclosing class:
Evaluator

public static final class Evaluator.AllElements
     
extends Evaluator

Evaluator for any / all element matching


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jsoup.select.Evaluator
Evaluator.AllElements, Evaluator.Attribute, Evaluator.AttributeKeyPair, Evaluator.AttributeStarting, Evaluator.AttributeWithValue, Evaluator.AttributeWithValueContaining, Evaluator.AttributeWithValueEnding, Evaluator.AttributeWithValueMatching, Evaluator.AttributeWithValueNot, Evaluator.AttributeWithValueStarting, Evaluator.Class, Evaluator.ContainsOwnText, Evaluator.ContainsText, Evaluator.CssNthEvaluator, Evaluator.Id, Evaluator.IndexEquals, Evaluator.IndexEvaluator, Evaluator.IndexGreaterThan, Evaluator.IndexLessThan, Evaluator.IsEmpty, Evaluator.IsFirstChild, Evaluator.IsFirstOfType, Evaluator.IsLastChild, Evaluator.IsLastOfType, Evaluator.IsNthChild, Evaluator.IsNthLastChild, Evaluator.IsNthLastOfType, Evaluator.IsNthOfType, Evaluator.IsOnlyChild, Evaluator.IsOnlyOfType, Evaluator.IsRoot, Evaluator.Matches, Evaluator.MatchesOwn, Evaluator.Tag
 
Constructor Summary
Evaluator.AllElements()
           
 
Method Summary
 boolean matches(Element root, Element element)
          Test if the element meets the evaluator's requirements.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Evaluator.AllElements

public Evaluator.AllElements()
Method Detail

matches

public boolean matches(Element root,
                       Element element)
Description copied from class: Evaluator
Test if the element meets the evaluator's requirements.

Specified by:
matches in class Evaluator
Parameters:
root - Root of the matching subtree
element - tested element

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 Jonathan Hedley. All Rights Reserved.