org.jaxen.pattern
public class UnionPattern extends Pattern
UnionPattern
represents a union pattern.
Version: $Revision: 1.8 $
Field Summary | |
---|---|
Pattern | lhs |
String | matchesNodeName |
short | nodeType |
Pattern | rhs |
Constructor Summary | |
---|---|
UnionPattern() | |
UnionPattern(Pattern lhs, Pattern rhs) |
Method Summary | |
---|---|
Pattern | getLHS() |
String | getMatchesNodeName() |
short | getMatchType() |
Pattern | getRHS() |
String | getText() |
Pattern[] | getUnionPatterns() |
void | init() |
boolean | matches(Object node, Context context) |
void | setLHS(Pattern lhs) |
void | setRHS(Pattern rhs) |
Pattern | simplify() |
String | toString() |
Returns: true if the pattern matches the given node