|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.adaptx.xslt.Pattern
This class represents a "pattern" as specified in the W3C XSLT 1.0 Recommendation.
| Constructor Summary | |
|---|---|
Pattern()
Creates a new default pattern. |
|
Pattern(java.lang.String pattern)
|
|
| Method Summary | |
|---|---|
LocationPathPattern |
getMatchingPattern(XPathNode node,
XPathContext context)
Returns the LocationPathPattern with the highest priority that matches the given XPathNode using the given XPathContext. |
boolean |
matches(XPathNode node,
XPathContext context)
Determines if the given node is matched by this Pattern with respect to the given context. |
java.lang.String |
toString()
Returns the String representation of this Pattern. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Pattern()
public Pattern(java.lang.String pattern)
throws PatternException
| Method Detail |
public LocationPathPattern getMatchingPattern(XPathNode node,
XPathContext context)
throws XPathException
node - the node to determine a match forcontext - the XPathContext
XPathException
public boolean matches(XPathNode node,
XPathContext context)
throws XPathException
node - the node to determine a match forcontext - the XPathContext
XPathException - when an error occurs during
evaluationpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||