|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deckfour.spex.SXNode
public abstract class SXNode
Abstract superclass for nodes in an XML document.
| Field Summary | |
|---|---|
protected int |
tabLevel
Tabulator indentation level of this node. |
protected String |
tabString
Tabulator string. |
protected Writer |
writer
Writer used for serializing document. |
| Constructor Summary | |
|---|---|
protected |
SXNode(Writer aWriter,
int aTabLevel,
String aTabString)
Creates a new node. |
| Method Summary | |
|---|---|
abstract void |
close()
Explicitly closes this node. |
int |
getTabLevel()
Returns the indentation level of this node. |
protected void |
indentLine()
Convenience method for indenting a line according to this node's tabulator depth level. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int tabLevel
protected String tabString
protected Writer writer
| Constructor Detail |
|---|
protected SXNode(Writer aWriter,
int aTabLevel,
String aTabString)
aWriter - The writer used for serializing output.aTabLevel - Indentation level of this node.aTabString - Tabulator string used in document.| Method Detail |
|---|
public abstract void close()
throws IOException
IOExceptionpublic int getTabLevel()
protected void indentLine()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||