|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.icl.saxon.pattern.Pattern | +--com.icl.saxon.pattern.KeyPattern
A KeyPattern is a pattern of the form key(keyname, keyvalue)
Fields inherited from class com.icl.saxon.pattern.Pattern |
originalText, staticContext |
Constructor Summary | |
KeyPattern(int namecode,
java.lang.String value)
Constructor |
Method Summary | |
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, getNodeType, 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 KeyPattern(int namecode, java.lang.String value)
name
- the name of the keyvalue
- the value of the keyMethod Detail |
public boolean matches(NodeInfo e, Context c) throws XPathException
matches
in class Pattern
e
- The NodeInfo representing the Element or other node to be tested against the Pattern
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |