|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XmlWriter
An interface used while writing XML
Copyright (c) Xoetrope Ltd., 1998-2004
$Revision: 2.2 $
| Method Summary | |
|---|---|
void |
setOutputStream(java.io.FileOutputStream fos)
Set the OutputStream to be used by the write function. |
void |
write(XmlElement xml,
boolean prettyPrint,
int indent)
Write the contents of an XmlElement out to the outputstream specified by setOutputStream |
| Method Detail |
|---|
void write(XmlElement xml,
boolean prettyPrint,
int indent)
throws java.io.IOException
xml - The root XmlElement to be outputprettyPrint - If true the XML will be output in a more readable formatindent - If true the XML will be indented
java.io.IOException - Throw an IOException if anything goes wrongvoid setOutputStream(java.io.FileOutputStream fos)
fos - The FileOutputStream to which the XML will be written
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||