public abstract class AWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_INCLUDE_FIELDS
Constant for indicating if public fields should be written.
|
Constructor and Description |
---|
AWriter() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
objectToByteArray(AWriter writer,
java.lang.Object val,
java.lang.ClassLoader classloader,
IObjectWriterHandler handler)
Convert to a byte array.
|
static byte[] |
objectToByteArray(AWriter writer,
java.lang.Object val,
java.lang.ClassLoader classloader,
java.lang.Object context,
IObjectWriterHandler handler)
Convert to a byte array.
|
static byte[] |
objectToByteArray(AWriter writer,
java.lang.Object val,
java.lang.String encoding,
java.lang.ClassLoader classloader,
java.lang.Object context,
IObjectWriterHandler handler)
Convert to a byte array.
|
static void |
objectToOutputStream(AWriter writer,
java.lang.Object val,
java.io.OutputStream os,
java.lang.ClassLoader classloader,
java.lang.Object context,
IObjectWriterHandler handler)
Write to output stream.
|
static java.lang.String |
objectToXML(AWriter writer,
java.lang.Object val,
java.lang.ClassLoader classloader,
IObjectWriterHandler handler)
Convert to a string.
|
static java.lang.String |
objectToXML(AWriter writer,
java.lang.Object val,
java.lang.ClassLoader classloader,
java.lang.Object context,
IObjectWriterHandler handler)
Convert to a string.
|
void |
write(IObjectWriterHandler handler,
java.lang.Object object,
java.io.OutputStream out,
java.lang.ClassLoader classloader,
java.lang.Object context)
Write the properties to an xml.
|
abstract void |
write(IObjectWriterHandler handler,
java.lang.Object object,
java.lang.String encoding,
java.io.OutputStream out,
java.lang.ClassLoader classloader,
java.lang.Object context)
Write the properties to an xml.
|
public static final java.lang.String XML_INCLUDE_FIELDS
public void write(IObjectWriterHandler handler, java.lang.Object object, java.io.OutputStream out, java.lang.ClassLoader classloader, java.lang.Object context) throws java.lang.Exception
input
- The input stream.classloader
- The classloader.context
- The context.java.lang.Exception
public abstract void write(IObjectWriterHandler handler, java.lang.Object object, java.lang.String encoding, java.io.OutputStream out, java.lang.ClassLoader classloader, java.lang.Object context) throws java.lang.Exception
input
- The input stream.classloader
- The classloader.context
- The context.java.lang.Exception
public static java.lang.String objectToXML(AWriter writer, java.lang.Object val, java.lang.ClassLoader classloader, IObjectWriterHandler handler)
public static java.lang.String objectToXML(AWriter writer, java.lang.Object val, java.lang.ClassLoader classloader, java.lang.Object context, IObjectWriterHandler handler)
public static byte[] objectToByteArray(AWriter writer, java.lang.Object val, java.lang.ClassLoader classloader, IObjectWriterHandler handler)
public static byte[] objectToByteArray(AWriter writer, java.lang.Object val, java.lang.ClassLoader classloader, java.lang.Object context, IObjectWriterHandler handler)
public static byte[] objectToByteArray(AWriter writer, java.lang.Object val, java.lang.String encoding, java.lang.ClassLoader classloader, java.lang.Object context, IObjectWriterHandler handler)
public static void objectToOutputStream(AWriter writer, java.lang.Object val, java.io.OutputStream os, java.lang.ClassLoader classloader, java.lang.Object context, IObjectWriterHandler handler)