|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavolution.xml.XMLFormat<T>
de.javakaffee.web.msm.serializer.javolution.CustomXMLFormat<org.hibernate.collection.AbstractPersistentCollection>
de.javakaffee.web.msm.serializer.javolution.HibernateCollectionsXMLFormat
public class HibernateCollectionsXMLFormat
A CustomXMLFormat that handles hibernate mapped collections (subclasses
of AbstractPersistentCollection).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javolution.xml.XMLFormat |
|---|
javolution.xml.XMLFormat.InputElement, javolution.xml.XMLFormat.OutputElement |
| Field Summary |
|---|
| Fields inherited from class javolution.xml.XMLFormat |
|---|
APPENDABLE_XML, BOOLEAN_XML, BYTE_XML, CHARACTER_XML, CLASS_XML, COLLECTION_XML, CONFIGURABLE_XML, DOUBLE_XML, FAST_COLLECTION_XML, FAST_COMPARATOR_XML, FAST_MAP_XML, FLOAT_XML, INDEX_XML, INTEGER_XML, LONG_XML, MAP_XML, OBJECT_ARRAY_XML, OBJECT_XML, PERSISTENT_CONTEXT_XML, QNAME_XML, SHORT_XML, STRING_XML, TEXT_XML |
| Constructor Summary | |
|---|---|
HibernateCollectionsXMLFormat()
|
|
| Method Summary | |
|---|---|
boolean |
canConvert(Class<?> cls)
Used to determine if this XMLFormat can handle the given class, both
during serialization and deserialization. |
void |
read(javolution.xml.XMLFormat.InputElement input,
org.hibernate.collection.AbstractPersistentCollection obj)
|
void |
write(org.hibernate.collection.AbstractPersistentCollection obj,
javolution.xml.XMLFormat.OutputElement output)
|
| Methods inherited from class de.javakaffee.web.msm.serializer.javolution.CustomXMLFormat |
|---|
getTargetClass |
| Methods inherited from class javolution.xml.XMLFormat |
|---|
getBoundClass, getDefault, isReferenceable, newInstance, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateCollectionsXMLFormat()
| Method Detail |
|---|
public boolean canConvert(Class<?> cls)
CustomXMLFormatXMLFormat can handle the given class, both
during serialization and deserialization.
canConvert in class CustomXMLFormat<org.hibernate.collection.AbstractPersistentCollection>cls - the class to check
true if this XMLFormat serializes/deserializes instances of the provided class.
public void read(javolution.xml.XMLFormat.InputElement input,
org.hibernate.collection.AbstractPersistentCollection obj)
throws javolution.xml.stream.XMLStreamException
read in class javolution.xml.XMLFormat<org.hibernate.collection.AbstractPersistentCollection>javolution.xml.stream.XMLStreamException
public void write(org.hibernate.collection.AbstractPersistentCollection obj,
javolution.xml.XMLFormat.OutputElement output)
throws javolution.xml.stream.XMLStreamException
write in class javolution.xml.XMLFormat<org.hibernate.collection.AbstractPersistentCollection>javolution.xml.stream.XMLStreamException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||