org.dom4j.rule.pattern
public class NodeTypePattern extends Object implements Pattern
NodeTypePattern implements a Pattern which matches any node of
the given node type.
Version: $Revision: 1.7 $
| Field Summary | |
|---|---|
| static NodeTypePattern | ANY_ATTRIBUTE A pattern which matches any Attribute node |
| static NodeTypePattern | ANY_COMMENT A pattern which matches any Comment node |
| static NodeTypePattern | ANY_DOCUMENT A pattern which matches any Document node |
| static NodeTypePattern | ANY_ELEMENT A pattern which matches any Element node |
| static NodeTypePattern | ANY_PROCESSING_INSTRUCTION A pattern which matches any ProcessingInstruction node |
| static NodeTypePattern | ANY_TEXT A pattern which matches any Text node |
| Constructor Summary | |
|---|---|
| NodeTypePattern(short nodeType) | |
| Method Summary | |
|---|---|
| String | getMatchesNodeName() |
| short | getMatchType() |
| double | getPriority() |
| Pattern[] | getUnionPatterns() |
| boolean | matches(Node node) |