Package de.pdark.decentxml
Interface TextNode
-
- All Known Implementing Classes:
Comment,Element,ProcessingInstruction,Text,XMLDeclaration
public interface TextNodeInterface for all classes which contain text: comments, elements, processing instructions, etc.- Author:
- DIGULAA
- See Also:
Comment,Element,ProcessingInstruction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetText()Get the text from the nodeNodesetText(java.lang.String text)Change the text of the node.
-
-
-
Method Detail
-
getText
java.lang.String getText()
Get the text from the node
-
setText
Node setText(java.lang.String text)
Change the text of the node. When necessary, the text will be escaped before writing it to the output stream.
-
-