Modifier and Type | Method and Description |
---|---|
<T,V extends Visitor<T>> |
accept(V visitor) |
String |
asXML() |
Node |
asXPathResult(Element parent) |
String |
compactString() |
Node |
detach() |
String |
formattedString() |
String |
formattedString(String indent) |
String |
formattedString(String indent,
boolean expandEmptyElements) |
String |
formattedString(String indent,
boolean expandEmptyElements,
boolean trimText) |
Document |
getDocument() |
String |
getName() |
Element |
getParent() |
String |
getPath() |
String |
getPath(Element context) |
String |
getStringValue() |
String |
getText() |
String |
getUniquePath() |
String |
getUniquePath(Element context) |
boolean |
hasContent() |
boolean |
isReadOnly() |
boolean |
matches(String xPathExpression) |
Number |
numberValueOf(String xPathExpression) |
List<Node> |
selectNodes(String xPathExpression) |
List<Node> |
selectNodes(String xPathExpression,
String comparisonXPathExpression) |
List<Node> |
selectNodes(String xPathExpression,
String comparisonXPathExpression,
boolean removeDuplicates) |
Object |
selectObject(String xPathExpression) |
Node |
selectSingleNode(String xPathExpression) |
void |
setName(String name) |
void |
setText(String text) |
boolean |
supportsParent() |
String |
valueOf(String xPathExpression) |
void |
write(Writer writer) |
<T,V extends Visitor<T>> T accept(V visitor)
String asXML()
String compactString() throws IOException
IOException
Node detach()
String formattedString() throws IOException
IOException
String formattedString(String indent) throws IOException
IOException
String formattedString(String indent, boolean expandEmptyElements) throws IOException
IOException
String formattedString(String indent, boolean expandEmptyElements, boolean trimText) throws IOException
IOException
Document getDocument()
String getName()
Element getParent()
String getPath()
String getPath(Element context)
String getStringValue()
String getText()
String getUniquePath()
String getUniquePath(Element context)
boolean hasContent()
boolean isReadOnly()
boolean matches(String xPathExpression)
Number numberValueOf(String xPathExpression)
List<Node> selectNodes(String xPathExpression)
List<Node> selectNodes(String xPathExpression, String comparisonXPathExpression)
List<Node> selectNodes(String xPathExpression, String comparisonXPathExpression, boolean removeDuplicates)
Object selectObject(String xPathExpression)
Node selectSingleNode(String xPathExpression)
void setName(String name)
void setText(String text)
boolean supportsParent()
String valueOf(String xPathExpression)
void write(Writer writer) throws IOException
IOException