org.deckfour.spex
Class SXTextNode
java.lang.Object
org.deckfour.spex.SXNode
org.deckfour.spex.SXTextNode
public class SXTextNode
- extends SXNode
Bogus wrapper class for text nodes.
Text nodes can only be appended to tag nodes and represent tag-enclosed
text fragements in an XML document.
- Author:
- Christian W. Guenther (christian@deckfour.org)
Method Summary |
void |
close()
Explicitly closes this node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SXTextNode
public SXTextNode(String text,
Writer aWriter,
int aTabLevel,
String aTabString)
throws IOException
- Constructs a new text node.
- Parameters:
text
- text contained in this nodeaWriter
- output writeraTabLevel
- tabulator levelaTabString
- tabulator encoding string
- Throws:
IOException
close
public void close()
throws IOException
- Description copied from class:
SXNode
- Explicitly closes this node.
- Specified by:
close
in class SXNode
- Throws:
IOException