|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.icl.saxon.pattern.Pattern
com.icl.saxon.pattern.IDPattern
public final class IDPattern
An IDPattern is a pattern of the form id(literal)
| Field Summary |
|---|
| Fields inherited from class com.icl.saxon.pattern.Pattern |
|---|
originalText, staticContext |
| Constructor Summary | |
|---|---|
IDPattern(java.lang.String idvalue)
|
|
| Method Summary | |
|---|---|
short |
getNodeType()
Determine the type of nodes to which this pattern applies. |
boolean |
matches(NodeInfo e,
Context c)
Determine whether this Pattern matches the given Node |
| Methods inherited from class com.icl.saxon.pattern.Pattern |
|---|
getDefaultPriority, getFingerprint, getLineNumber, getStaticContext, getSystemId, make, setOriginalText, setStaticContext, simplify, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IDPattern(java.lang.String idvalue)
| Method Detail |
|---|
public boolean matches(NodeInfo e,
Context c)
throws XPathException
matches in class Patterne - The NodeInfo representing the Element or other node to be tested against the Patternc - The context in which the match is to take place. Only relevant if the pattern
uses variables.
XPathExceptionpublic short getNodeType()
getNodeType in class Pattern
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||