public abstract class AbstractDeserializationHandler extends java.lang.Object implements DeserializationHandler
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
object |
protected int |
refId |
| Constructor and Description |
|---|
AbstractDeserializationHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract DeserializationHandler |
clone()
Clones this handler.
|
void |
endObject(java.lang.Object obj)
Notifies the handler that an object tag was found and deserialized within their scope
|
void |
endSubElement(java.lang.String name,
DeserializationContext context)
Notifies the handler that a sub-element has ended
|
java.lang.Object |
getObject()
Returns the most recent object that this handler created.
|
int |
getRefId()
Returns the reference id that was in the start of this element, or -1 if there was none
|
protected void |
setObject(java.lang.Object object) |
void |
setRefId(int id)
Sets the ref-id that was found at the start of this element, if any.
|
void |
startSubElement(java.lang.String name,
AttributesMap attributes,
DeserializationContext context)
Notifies the handler that a sub-element has started.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendElement, getBodyDecoder, getElementName, onBody, startElement, supportsNestedElementspublic void startSubElement(java.lang.String name,
AttributesMap attributes,
DeserializationContext context)
throws java.lang.Exception
DeserializationHandlerstartSubElement in interface DeserializationHandlerjava.lang.Exceptionpublic void endSubElement(java.lang.String name,
DeserializationContext context)
throws java.lang.Exception
DeserializationHandlerendSubElement in interface DeserializationHandlerjava.lang.Exceptionpublic void endObject(java.lang.Object obj)
DeserializationHandlerendObject in interface DeserializationHandlerpublic java.lang.Object getObject()
DeserializationHandlergetObject in interface DeserializationHandlerprotected void setObject(java.lang.Object object)
public abstract DeserializationHandler clone()
DeserializationHandlerclone in interface DeserializationHandlerclone in class java.lang.Objectpublic int getRefId()
DeserializationHandlergetRefId in interface DeserializationHandlerpublic void setRefId(int id)
DeserializationHandlersetRefId in interface DeserializationHandler