org.jaxen.pattern

Class AnyChildNodeTest

public class AnyChildNodeTest extends NodeTest

AnyChildNodeTest matches any child node.

Version: $Revision: 1.6 $

Author: James Strachan

Field Summary
static AnyChildNodeTestinstance
Constructor Summary
AnyChildNodeTest()
Method Summary
static AnyChildNodeTestgetInstance()
shortgetMatchType()
doublegetPriority()
StringgetText()
booleanmatches(Object node, Context context)

Field Detail

instance

private static AnyChildNodeTest instance

Constructor Detail

AnyChildNodeTest

public AnyChildNodeTest()

Method Detail

getInstance

public static AnyChildNodeTest 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