public class ReflectionBinding
extends javolution.xml.XMLBinding
XMLBinding that provides class bindings based on reflection.| Modifier and Type | Class and Description |
|---|---|
static class |
ReflectionBinding.XMLArrayFormat |
static class |
ReflectionBinding.XMLCalendarFormat
An
XMLFormat for Calendar that serialized those calendar
fields that contain actual data (these fields also are used by
Calendar.equals(Object). |
static class |
ReflectionBinding.XMLCollectionFormat |
static class |
ReflectionBinding.XMLCurrencyFormat |
static class |
ReflectionBinding.XMLJdkProxyFormat |
static class |
ReflectionBinding.XMLMapFormat |
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS |
static javolution.xml.XMLFormat<StringBuffer> |
STRING_BUFFER_FORMAT |
static javolution.xml.XMLFormat<StringBuilder> |
STRING_BUILDER_FORMAT |
| Constructor and Description |
|---|
ReflectionBinding(ClassLoader classLoader) |
ReflectionBinding(ClassLoader classLoader,
boolean copyCollectionsForSerialization,
CustomXMLFormat<?>... customFormats) |
| Modifier and Type | Method and Description |
|---|---|
javolution.xml.XMLFormat<?> |
getFormat(Class cls) |
protected Class |
readClass(javolution.xml.stream.XMLStreamReader reader,
boolean useAttributes) |
protected void |
writeClass(Class cls,
javolution.xml.stream.XMLStreamWriter writer,
boolean useAttributes) |
public static final String CLASS
public static final javolution.xml.XMLFormat<StringBuilder> STRING_BUILDER_FORMAT
public static final javolution.xml.XMLFormat<StringBuffer> STRING_BUFFER_FORMAT
public ReflectionBinding(ClassLoader classLoader)
public ReflectionBinding(ClassLoader classLoader, boolean copyCollectionsForSerialization, CustomXMLFormat<?>... customFormats)
protected void writeClass(Class cls, javolution.xml.stream.XMLStreamWriter writer, boolean useAttributes) throws javolution.xml.stream.XMLStreamException
writeClass in class javolution.xml.XMLBindingjavolution.xml.stream.XMLStreamExceptionprotected Class readClass(javolution.xml.stream.XMLStreamReader reader, boolean useAttributes) throws javolution.xml.stream.XMLStreamException
readClass in class javolution.xml.XMLBindingjavolution.xml.stream.XMLStreamExceptionpublic javolution.xml.XMLFormat<?> getFormat(Class cls) throws javolution.xml.stream.XMLStreamException
getFormat in class javolution.xml.XMLBindingjavolution.xml.stream.XMLStreamExceptionCopyright © 2009-2016. All Rights Reserved.