|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.xml.XPointerHandler
This class implements XPointer operation. The supported XPointer functions include: "#xpointer(/)" and "#xpointer(id("ID"))". The result of XPointer processing is a node-set derived from the resultant location-set as follows:
Constructor Summary |
|
XPointerHandler()
|
Method Summary |
|
static org.w3c.dom.NodeList |
processXPointer(org.w3c.dom.Node document,
String xptr)
This method processes the XPointer and returns the result as a node-set. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPointerHandler()
Method Detail |
public static org.w3c.dom.NodeList processXPointer(org.w3c.dom.Node document, String xptr) throws XMLException
XMLException
is thrown.
Parameters
document | A | ||
xptr | A |
Returns
NodeList
object that contains the result node-set
dereferenced by the XPointer expression.Throws
XMLException
- If an error occured during XPointer processing,
such as the expresion is not valid or the XPointer results
in an empty node-set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |