com.icl.saxon.pattern
Class KeyPattern
public final class KeyPattern
A KeyPattern is a pattern of the form key(keyname, keyvalue)
KeyPattern(int namecode, String value) - Constructor
|
getDefaultPriority , getFingerprint , getLineNumber , getNodeType , getStaticContext , getSystemId , make , matches , setOriginalText , setStaticContext , simplify , toString |
KeyPattern
public KeyPattern(int namecode,
String value)
Constructor
value
- the value of the key
matches
public boolean matches(NodeInfo e,
Context c)
throws XPathException
Determine whether this Pattern matches the given Node.
- matches in interface Pattern
e
- The NodeInfo representing the Element or other node to be tested against the Pattern
- true if the node matches the Pattern, false otherwise