XPathPattern is an implementation of Pattern which uses an
XPath xpath.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ContextSupport | |
| public String | getMatchesNodeName()
Implements org. |
| public short | |
| public double | getPriority()
Implements org. |
| public String | |
| public Pattern[] | getUnionPatterns()
Implements org. |
| protected void | |
| public boolean | |
| public void | |
| public String |
| context | back to summary |
|---|---|
| private Context context | |
| pattern | back to summary |
|---|---|
| private Pattern pattern | |
| text | back to summary |
|---|---|
| private String text | |
| XPathPattern | back to summary |
|---|---|
| public XPathPattern(Pattern pattern) | |
| XPathPattern | back to summary |
|---|---|
| public XPathPattern(String text) | |
| getContextSupport | back to summary |
|---|---|
| protected ContextSupport getContextSupport() | |
| getMatchesNodeName | back to summary |
|---|---|
| public String getMatchesNodeName() Implements org. Doc from org. For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then this pattern may return the name of the element or attribute it matches. This allows a more efficient rule matching algorithm to be performed, rather than a brute force approach of evaluating every pattern for a given Node.
| |
| getMatchType | back to summary |
|---|---|
| public short getMatchType() Implements org. Doc from org. DOCUMENT ME!
| |
| getPriority | back to summary |
|---|---|
| public double getPriority() Implements org. Doc from org. Returns the default resolution policy of the pattern according to the XSLT conflict resolution spec .
| |
| getText | back to summary |
|---|---|
| public String getText() | |
| getUnionPatterns | back to summary |
|---|---|
| public Pattern[] getUnionPatterns() Implements org. Doc from org. If this pattern is a union pattern then this method should return an array of patterns which describe the union pattern, which should contain more than one pattern. Otherwise this method should return null.
| |
| handleJaxenException | back to summary |
|---|---|
| protected void handleJaxenException(JaxenException exception) throws XPathException | |
| matches | back to summary |
|---|---|
| public boolean matches(Node node) Implements org. Doc from org. DOCUMENT ME!
| |
| setVariableContext | back to summary |
|---|---|
| public void setVariableContext(VariableContext variableContext) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |