org.jaxen.pattern

Class TextNodeTest

public class TextNodeTest extends NodeTest

TextNodeTest matches any text node.

Version: $Revision: 1.6 $

Author: James Strachan

Field Summary
static TextNodeTestSINGLETON
Constructor Summary
TextNodeTest()
Method Summary
shortgetMatchType()
doublegetPriority()
StringgetText()
booleanmatches(Object node, Context context)

Field Detail

SINGLETON

public static final TextNodeTest SINGLETON

Constructor Detail

TextNodeTest

public TextNodeTest()

Method Detail

getMatchType

public short getMatchType()

getPriority

public double getPriority()

getText

public String getText()

matches

public boolean matches(Object node, Context context)

Returns: true if the pattern matches the given node