class AlternativesPattern extends java.lang.Object implements TopLevelPattern
| Constructor and Description |
|---|
AlternativesPattern(TopLevelPattern pattern1,
PathPattern pattern2) |
| Modifier and Type | Method and Description |
|---|---|
PathPattern[] |
getAlternatives() |
boolean |
matches(Node node,
ExprContext context) |
AlternativesPattern(TopLevelPattern pattern1, PathPattern pattern2)
public boolean matches(Node node, ExprContext context) throws XSLException
matches in interface PatternXSLExceptionpublic PathPattern[] getAlternatives()
getAlternatives in interface TopLevelPattern