public class XMLSerializationContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected XMLSerializer |
serializer |
Constructor and Description |
---|
XMLSerializationContext(XMLSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
ClassNameResolver |
getClassNameMap() |
java.lang.Object |
getCleanCopy(java.lang.Class type) |
int |
getRefForElement(Element elm)
Looks up the reference ID for the object within the Element, as long as the element doesn't have reference
tracking turned off.
|
Element |
serialize(java.lang.Object obj)
Uses the SerializationDelegate registered for this type of object to serialize the object into an Element.
|
protected XMLSerializer serializer
public XMLSerializationContext(XMLSerializer serializer)
public Element serialize(java.lang.Object obj) throws SerializationException
SerializationException
public int getRefForElement(Element elm)
public java.lang.Object getCleanCopy(java.lang.Class type) throws SerializationException
SerializationException
public ClassNameResolver getClassNameMap()