yarfraw.utils
Class DOMSerializer
java.lang.Object
yarfraw.utils.DOMSerializer
public class DOMSerializer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMSerializer
public DOMSerializer()
setLineSeparator
public void setLineSeparator(String lineSeparator)
setEncoding
public void setEncoding(String encoding)
setIndent
public void setIndent(int numSpaces)
serialize
public void serialize(Document doc,
OutputStream out)
throws IOException
- Throws:
IOException
serialize
public void serialize(Document doc,
File file)
throws IOException
- Throws:
IOException
serialize
public void serialize(Document doc,
Writer writer)
throws IOException
- Throws:
IOException
serializeNode
public void serializeNode(Node node,
Writer writer,
String indentLevel)
throws IOException
- Throws:
IOException
Copyright © 2008. All Rights Reserved.