de.javakaffee.web.msm.serializer.javolution
Class ReflectionBinding
java.lang.Object
javolution.xml.XMLBinding
de.javakaffee.web.msm.serializer.javolution.ReflectionBinding
- All Implemented Interfaces:
- Serializable, javolution.lang.Reusable, javolution.xml.XMLSerializable
public class ReflectionBinding
- extends javolution.xml.XMLBinding
An XMLBinding that provides class bindings based on reflection.
- Author:
- Martin Grotzke
- See Also:
- Serialized Form
|
Method Summary |
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)
|
| Methods inherited from class javolution.xml.XMLBinding |
reset, setAlias, setAlias, setClassAttribute, setClassAttribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS
public static final String CLASS
- See Also:
- Constant Field Values
STRING_BUILDER_FORMAT
public static final javolution.xml.XMLFormat<StringBuilder> STRING_BUILDER_FORMAT
STRING_BUFFER_FORMAT
public static final javolution.xml.XMLFormat<StringBuffer> STRING_BUFFER_FORMAT
ReflectionBinding
public ReflectionBinding(ClassLoader classLoader)
ReflectionBinding
public ReflectionBinding(ClassLoader classLoader,
boolean copyCollectionsForSerialization,
CustomXMLFormat<?>... customFormats)
writeClass
protected void writeClass(Class cls,
javolution.xml.stream.XMLStreamWriter writer,
boolean useAttributes)
throws javolution.xml.stream.XMLStreamException
-
- Overrides:
writeClass in class javolution.xml.XMLBinding
- Throws:
javolution.xml.stream.XMLStreamException
readClass
protected Class readClass(javolution.xml.stream.XMLStreamReader reader,
boolean useAttributes)
throws javolution.xml.stream.XMLStreamException
-
- Overrides:
readClass in class javolution.xml.XMLBinding
- Throws:
javolution.xml.stream.XMLStreamException
getFormat
public javolution.xml.XMLFormat<?> getFormat(Class cls)
throws javolution.xml.stream.XMLStreamException
- Overrides:
getFormat in class javolution.xml.XMLBinding
- Throws:
javolution.xml.stream.XMLStreamException
Copyright © 2009-2012. All Rights Reserved.