|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xslt.pattern.Pattern
jd.xml.xslt.pattern.OrPattern
OrPattern represents the or pattern (lhs|rhs).
Constructor Summary | |
OrPattern(Pattern lhs,
Pattern rhs)
|
Method Summary | |
void |
accept(PatternVisitor visitor)
Accept a PatternVisitor. |
double |
calculatePriority()
The OrPattern does not have a default priority, because the processor must treat the template rule of with such a pattern as a set of rules, on for each alternative pattern, when it resolves template conflicts. |
Pattern[] |
getPatterns()
Return the patterns of this OrPattern. |
boolean |
match(XPathContext context)
Test if the context node matches the pattern. |
Methods inherited from class jd.xml.xslt.pattern.Pattern |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OrPattern(Pattern lhs, Pattern rhs)
Method Detail |
public Pattern[] getPatterns()
public boolean match(XPathContext context)
match
in class Pattern
public double calculatePriority()
calculatePriority
in class Pattern
public void accept(PatternVisitor visitor)
accept
in class Pattern
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |