Save This Page
Home » dom4j-1.6.1 » org.dom4j.rule.pattern » [javadoc | source]
org.dom4j.rule.pattern
public class: NodeTypePattern [javadoc | source]
java.lang.Object
   org.dom4j.rule.pattern.NodeTypePattern

All Implemented Interfaces:
    Pattern

NodeTypePattern implements a Pattern which matches any node of the given node type.

Field Summary
public static final  NodeTypePattern ANY_ATTRIBUTE    A pattern which matches any Attribute node 
public static final  NodeTypePattern ANY_COMMENT    A pattern which matches any Comment node 
public static final  NodeTypePattern ANY_DOCUMENT    A pattern which matches any Document node 
public static final  NodeTypePattern ANY_ELEMENT    A pattern which matches any Element node 
public static final  NodeTypePattern ANY_PROCESSING_INSTRUCTION    A pattern which matches any ProcessingInstruction node 
public static final  NodeTypePattern ANY_TEXT    A pattern which matches any Text node 
Constructor:
 public NodeTypePattern(short nodeType) 
Method from org.dom4j.rule.pattern.NodeTypePattern Summary:
getMatchType,   getMatchesNodeName,   getPriority,   getUnionPatterns,   matches
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.rule.pattern.NodeTypePattern Detail:
 public short getMatchType() 
 public String getMatchesNodeName() 
 public double getPriority() 
 public Pattern[] getUnionPatterns() 
 public boolean matches(Node node)