|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
java.io.PrintWriter
com.edustructures.util.XMLWriter
public class XMLWriter
A PrintWriter for rendering xml streams
| Constructor Summary | |
|---|---|
XMLWriter(java.io.OutputStream out)
|
|
XMLWriter(java.io.OutputStream out,
boolean autoFlush)
|
|
XMLWriter(java.io.Writer out)
|
|
XMLWriter(java.io.Writer out,
boolean autoFlush)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAttrString(java.util.Dictionary attrs)
|
void |
indent(int tabs)
Increases the indentation by the specified number of tabs. |
void |
pauseTab()
Increases the number of pauses to indentation. |
void |
tab()
Writes the proper number of intentation spaces to the output stream unless tabbing has been paused. |
| Methods inherited from class java.io.PrintWriter |
|---|
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, write, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLWriter(java.io.OutputStream out)
public XMLWriter(java.io.OutputStream out,
boolean autoFlush)
public XMLWriter(java.io.Writer out)
public XMLWriter(java.io.Writer out,
boolean autoFlush)
| Method Detail |
|---|
public void indent(int tabs)
tab will write the proper number of intentation
spaces to the output stream unless tabbing has been paused.
public void pauseTab()
tab will do nothing.
public void tab()
public java.lang.String getAttrString(java.util.Dictionary attrs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||