de.pdark.decentxml
Interface TextNode

All Known Implementing Classes:
Comment, Element, ProcessingInstruction, Text, XMLDeclaration

public interface TextNode

Interface for all classes which contain text: comments, elements, processing instructions, etc.

Author:
DIGULAA
See Also:
Comment, Element, ProcessingInstruction

Method Summary
 java.lang.String getText()
          Get the text from the node
 Node setText(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.



Copyright © 2008-2011. All Rights Reserved.