public class CustomSerializer
extends nu.xom.Serializer
Serializer
with the sole purpose and functionality to not
output the XML declaration.Constructor and Description |
---|
CustomSerializer(OutputStream out)
Instantiates a new
CustomSerializer using the matching
Serializer.Serializer(OutputStream) . |
CustomSerializer(OutputStream out,
String encoding)
Instantiates a new
CustomSerializer using the matching
Serializer.Serializer(OutputStream, String) . |
public CustomSerializer(OutputStream out)
CustomSerializer
using the matching
Serializer.Serializer(OutputStream)
.out
- the output stream to write the document onpublic CustomSerializer(OutputStream out, String encoding) throws UnsupportedEncodingException
CustomSerializer
using the matching
Serializer.Serializer(OutputStream, String)
.out
- the output stream to write the document onencoding
- the character encoding for the serializationUnsupportedEncodingException