public class DomElement extends Object
Constructor and Description |
---|
DomElement(Element element) |
Modifier and Type | Method and Description |
---|---|
int |
elementCount(Object startingPoint,
String xPathString) |
Document |
getDocument() |
NodeList |
getNodeList(Object startingPoint,
String xPathString)
Gets a NodeList of Nodes matching the XPath.
|
List<String> |
getTextContentArray(Object startingPoint,
String xPathString) |
String |
getTextContentCommaList(Object startingPoint,
String xPathString)
Gets a comma separated list of text contents of the nodes matching the XPath
|
String |
getTextContentOneNode(Object startingPoint,
String xPathString)
Gets the text content of the first occurrence of the requested node
|
protected Element element
public DomElement(Element element)
public NodeList getNodeList(Object startingPoint, String xPathString) throws StandardServiceException
startingPoint
- xPathString
- StandardServiceException
public String getTextContentOneNode(Object startingPoint, String xPathString)
startingPoint
- xPathString
- public String getTextContentCommaList(Object startingPoint, String xPathString)
startingPoint
- xPathString
- public List<String> getTextContentArray(Object startingPoint, String xPathString)
public Document getDocument()
Copyright © 2008-2015 Index Data. All Rights Reserved.