|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeserializationHandler
Event listener interface for DeserializationEvent
s.
Implementing this interface allows to perform custom deserialization code for the data contained in
DeserializationEvent.getXmlNode()
.
Implementations can be registered with GraphMLHandler.addDeserializationHandler(DeserializationHandler)
or GraphMLParser.addDeserializationHandler(DeserializationHandler)
or directly
for a specific attribute with ComplexDataAcceptorInputHandler.setDeserializer(DeserializationHandler)
.
Calls to GraphMLParseContext.deserialize(GraphMLParseContext,org.w3c.dom.Node,Class)
ultimately raise a DeserializationEvent
,
which can be handled be registered implementations of this interface.
Method Summary | |
---|---|
void |
onHandleDeserialization(DeserializationEvent event)
Callback method to handle the deserialization of the data contained in event . |
Method Detail |
---|
void onHandleDeserialization(DeserializationEvent event) throws GraphMLParseException
event
.
If this callback could deserialize the data in event
, it should assign the deserialization result to the event's
DeserializationEvent.setResult(Object)
property.
event
- Event that contains all data that is needed for deserialization.
GraphMLParseException
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |