|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.util.XMLSerializer
public class XMLSerializer
Serialize a given DOM Document. Handle namespaces nicely.
| Constructor Summary | |
|---|---|
XMLSerializer(Document doc)
Creates a new XMLSerializer object. |
|
| Method Summary | |
|---|---|
void |
serialize(OutputStream os)
Serialize the encapsulated Document into the OutputStream |
void |
serialize(Writer writer)
Serialize the encapsulated Document into the Writer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLSerializer(Document doc)
doc - Document to be serialized| Method Detail |
|---|
public void serialize(OutputStream os)
throws IOException
os - output stream
IOException - When serialization fails
public void serialize(Writer writer)
throws IOException
writer - writer
IOException - When serialization fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||