public class Writer extends AWriter
XML_INCLUDE_FIELDS
Constructor and Description |
---|
Writer()
Create a new reader (with genids=true and indent=true).
|
Writer(boolean genids)
Create a new reader (with genids=true and indent=true).
|
Writer(boolean genids,
boolean indent,
boolean newline)
Create a new reader.
|
Modifier and Type | Method and Description |
---|---|
void |
write(IObjectWriterHandler handler,
Object object,
OutputStream out,
ClassLoader classloader,
Object context)
Write the properties to an xml.
|
void |
write(IObjectWriterHandler handler,
Object object,
String encoding,
OutputStream out,
ClassLoader classloader,
Object context)
Write the properties to an xml.
|
objectToByteArray, objectToByteArray, objectToOutputStream, objectToXML, objectToXML
public Writer()
readerhandler
- The handler.public Writer(boolean genids)
readerhandler
- The handler.public Writer(boolean genids, boolean indent, boolean newline)
readerhandler
- The handler.public void write(IObjectWriterHandler handler, Object object, OutputStream out, ClassLoader classloader, Object context) throws Exception
public void write(IObjectWriterHandler handler, Object object, String encoding, OutputStream out, ClassLoader classloader, Object context) throws Exception
Copyright © 2013. All Rights Reserved.