public class KeyManager
extends java.lang.Object
| Constructor and Description |
|---|
KeyManager()
create a KeyManager and initialise variables
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void setKeyDefinition(KeyDefinition keydef)
keyDefinition - The details of the key's definitionpublic java.util.Vector getKeyDefinitions(int fingerprint)
fingerprint - The fingerprint of the name of the required keypublic 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 builtXPathException