Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.jclark.xsl.expr.AlternativesPattern
Constructor Summary | |
|
Method Summary | |
PathPattern[] | |
boolean |
|
(package private) AlternativesPattern(TopLevelPattern pattern1, PathPattern pattern2)
construct with a head pattern1 and tail pattern2
public PathPattern[] getAlternatives()
- Specified by:
- getAlternatives in interface TopLevelPattern
- Returns:
- an array of all the alternative PathPatterns
public boolean matches(Node node, ExprContext context) throws XSLException
evaluate to a boolean