|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas_lib.xml.XMLSerializer
Serialize a given DOM Document. Handle namespaces nicely.
| Constructor Summary | |
XMLSerializer(org.w3c.dom.Document doc)
Creates a new XMLSerializer object. |
|
| Method Summary | |
void |
serialize(java.io.OutputStream os)
Serialize the encapsulated Document into the OutputStream |
void |
serialize(java.io.Writer writer)
Serialize the encapsulated Document into the Writer |
void |
setIndent(int indent)
Set the format line indent value. |
void |
setLineSeparator(java.lang.String sep)
Set the format line separator character. |
void |
setLineWidth(int width)
Set the format line width value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLSerializer(org.w3c.dom.Document doc)
doc - Document to be serialized| Method Detail |
public void setLineSeparator(java.lang.String sep)
sep - line separator characterpublic void setLineWidth(int width)
width - line width valuepublic void setIndent(int indent)
indent - line indent value
public void serialize(java.io.OutputStream os)
throws java.io.IOException
os - output stream
java.io.IOException - When serialization fails
public void serialize(java.io.Writer writer)
throws java.io.IOException
writer - writer
java.io.IOException - When serialization fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||