SMILA (incubation) API documentation

org.eclipse.smila.processing.pipelets.xmlprocessing.util
Class XPathUtils

java.lang.Object
  extended by org.eclipse.smila.processing.pipelets.xmlprocessing.util.XPathUtils

public final class XPathUtils
extends java.lang.Object

To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments.


Method Summary
static java.lang.Object queryForIndexField(org.w3c.dom.Node node, java.lang.String xpath, org.w3c.dom.Node namespaceNode, java.lang.String separator)
          Queries for index field.
static void removeNodesByXPath(org.w3c.dom.Node node, java.lang.String xpath, org.w3c.dom.Node namespaceNode)
          Removes nodes by XPath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

queryForIndexField

public static java.lang.Object queryForIndexField(org.w3c.dom.Node node,
                                                  java.lang.String xpath,
                                                  org.w3c.dom.Node namespaceNode,
                                                  java.lang.String separator)
Queries for index field.

Parameters:
node - the Node
xpath - the XPath
namespaceNode - the namespace
separator - the seperator
Returns:
a Object (String, Double, Boolean)

removeNodesByXPath

public static void removeNodesByXPath(org.w3c.dom.Node node,
                                      java.lang.String xpath,
                                      org.w3c.dom.Node namespaceNode)
Removes nodes by XPath.

Parameters:
node - the Node
xpath - the XPath
namespaceNode - the namespace

SMILA (incubation) API documentation