@ProviderType public interface Node extends Serializable
<T,V extends Visitor<T>> T accept(V visitor)
String asXML()
String compactString() throws IOException
IOExceptionNode detach()
String formattedString() throws IOException
IOExceptionString formattedString(String indent) throws IOException
IOExceptionString formattedString(String indent, boolean expandEmptyElements) throws IOException
IOExceptionString formattedString(String indent, boolean expandEmptyElements, boolean trimText) throws IOException
IOExceptionDocument getDocument()
String getName()
Element getParent()
String getPath()
String getStringValue()
String getText()
String getUniquePath()
boolean hasContent()
boolean isReadOnly()
boolean matches(String xPathExpression)
List<Node> selectNodes(String xPathExpression, String comparisonXPathExpression, boolean removeDuplicates)
void setName(String name)
void setText(String text)
boolean supportsParent()
void write(Writer writer) throws IOException
IOException