net.sf.swan.xpath.pattern
Class UnionPattern
java.lang.Object
|
+--net.sf.swan.xpath.pattern.UnionPattern
- All Implemented Interfaces:
- NodeTypes, Pattern
- public class UnionPattern
- extends java.lang.Object
- implements Pattern
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnionPattern
public UnionPattern(Pattern[] patterns)
match
public boolean match(java.lang.Object node,
org.jaxen.ContextSupport support)
throws org.jaxen.JaxenException
- Specified by:
match
in interface Pattern
getDefaultPriority
public double getDefaultPriority()
- Specified by:
getDefaultPriority
in interface Pattern
getMatchNodeType
public short getMatchNodeType()
- Specified by:
getMatchNodeType
in interface Pattern
getMatchNodeName
public java.lang.String getMatchNodeName()
- Specified by:
getMatchNodeName
in interface Pattern
simplify
public Pattern simplify()
- Specified by:
simplify
in interface Pattern