org.jaxen.pattern

Class AnyNodeTest

public class AnyNodeTest extends NodeTest

AnyNodeTest matches any node.

Version: $Revision: 1.8 $

Author: James Strachan

Field Summary
static AnyNodeTestinstance
Constructor Summary
AnyNodeTest()
Method Summary
static AnyNodeTestgetInstance()
shortgetMatchType()
doublegetPriority()
StringgetText()
booleanmatches(Object node, Context context)

Field Detail

instance

private static AnyNodeTest instance

Constructor Detail

AnyNodeTest

private AnyNodeTest()

Method Detail

getInstance

public static AnyNodeTest getInstance()

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