org.jsoup.select
Class Evaluator.Tag

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

public static final class Evaluator.Tag
     
extends Evaluator

Evaluator for tag name


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.Tag(String tagName)
           
 
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.Tag

public Evaluator.Tag(String tagName)
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-2013 Jonathan Hedley. All Rights Reserved.