|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.xml.jaxp.JaxpXmlWriter
public class JaxpXmlWriter
Title: Xui
Description: Used to save the contents of an Element object to a FileOutputStream
Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
Company: Xoetrope Ltd.
| Constructor Summary | |
|---|---|
JaxpXmlWriter()
null ctor |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JaxpXmlWriter()
| Method Detail |
|---|
public void write(XmlElement xml,
boolean prettyPrint,
int indent)
throws java.io.IOException
write in interface XmlWriterxml - 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 wrongpublic void setOutputStream(java.io.FileOutputStream fos)
setOutputStream in interface XmlWriterfos - 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 | |||||||||