|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.KeyManager
KeyManager manages the set of key definitions in a stylesheet, and the indexes associated with these key definitions
Constructor Summary | |
KeyManager()
create a KeyManager and initialise variables |
Method Summary | |
java.util.Vector |
getKeyDefinitions(int fingerprint)
Get all the key definitions that match a particular fingerprint |
NodeEnumeration |
selectByKey(int fingerprint,
DocumentInfo doc,
java.lang.String value,
Controller controller)
Get the nodes with a given key value |
void |
setKeyDefinition(KeyDefinition keydef)
Register a key definition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyManager()
Method Detail |
public void setKeyDefinition(KeyDefinition keydef)
public java.util.Vector getKeyDefinitions(int fingerprint)
fingerprint
- The fingerprint of the name of the required key
public NodeEnumeration selectByKey(int fingerprint, DocumentInfo doc, java.lang.String value, Controller controller) throws XPathException
fingerprint
- The fingerprint of the name of the required keydoc
- The source document in questionvalue
- The required key valuecontroller
- The controller, needed only the first time when the key is being built
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |