|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.util.xml.WcmXPathUtil
Constructor Summary | |
WcmXPathUtil()
Deprecated. Utility to get, clone, remove node from and add node to an XML Document using XPath. |
Method Summary | |
static org.w3c.dom.Node |
addNode(org.w3c.dom.Node contextNode,
java.lang.String xPath,
org.w3c.dom.Node newNode,
org.w3c.dom.Node namespaceNode)
Deprecated. Add a new node to the context node at the specified xPath location. |
static org.w3c.dom.Node |
cloneNode(org.w3c.dom.Node contextNode,
java.lang.String xPath,
org.w3c.dom.Node namespaceNode)
Deprecated. Clone the node specified by the xPath string. |
static org.w3c.dom.Node |
getNode(org.w3c.dom.Node contextNode,
java.lang.String xPath,
org.w3c.dom.Node namespaceNode)
Deprecated. Get a single XML node using the specified xPath string. |
static org.w3c.dom.NodeList |
getNodeList(org.w3c.dom.Node contextNode,
java.lang.String xPath,
org.w3c.dom.Node namespaceNode)
Deprecated. Get a XML nodelist using the specified xPath string. |
static org.w3c.dom.Node |
insertNodeBefore(org.w3c.dom.Node contextNode,
java.lang.String xPath,
java.lang.String defaultxPath,
org.w3c.dom.Node newNode,
org.w3c.dom.Node namespaceNode)
Deprecated. Insert the new node into the context node right before the node specified by xPath string. |
static org.w3c.dom.Node |
removeNode(org.w3c.dom.Node contextNode,
java.lang.String xPath,
org.w3c.dom.Node namespaceNode)
Deprecated. Remove the XML node specified by the xPath string from the context node. |
static void |
removeNodeList(org.w3c.dom.Node contextNode,
java.lang.String xPath,
org.w3c.dom.Node namespaceNode)
Deprecated. Remove the entire nodelist specified by the xPath string from the context node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WcmXPathUtil()
Method Detail |
public static org.w3c.dom.Node getNode(org.w3c.dom.Node contextNode, java.lang.String xPath, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xPath
- A valid XPath string.namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public static org.w3c.dom.NodeList getNodeList(org.w3c.dom.Node contextNode, java.lang.String xPath, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xPath
- A valid XPath string.namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public static org.w3c.dom.Node addNode(org.w3c.dom.Node contextNode, java.lang.String xPath, org.w3c.dom.Node newNode, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from and add the new node to.xPath
- A valid XPath string.newNode
- The new node to add to the context node at the specified xPath.namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public static org.w3c.dom.Node insertNodeBefore(org.w3c.dom.Node contextNode, java.lang.String xPath, java.lang.String defaultxPath, org.w3c.dom.Node newNode, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from and insert the new node to.xPath
- A valid XPath string.defaultxPath
- A valid XPath string.newNode
- The new node to insert to the context node before the node specified by the xPath.namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public static org.w3c.dom.Node removeNode(org.w3c.dom.Node contextNode, java.lang.String xPath, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching for the specified node to be removed.xPath
- A valid XPath string.namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public static void removeNodeList(org.w3c.dom.Node contextNode, java.lang.String xPath, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from for the specified nodelist.xPath
- A valid XPath string.namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public static org.w3c.dom.Node cloneNode(org.w3c.dom.Node contextNode, java.lang.String xPath, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xPath
- A valid XPath string.namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |