|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceDeserializationHandler
Interface for classes that provide methods to manage shared object resources for the input process
Method Summary | |
---|---|
java.lang.Object |
getResourceForID(java.lang.String id,
DeserializationHandler decoder,
java.lang.Class targetType,
GraphMLParseContext context)
Retrieve the shared resource that is referenced by id . |
void |
registerResourceNode(java.lang.String id,
org.w3c.dom.Node domNode)
Used to register the XML representation of a shared resource. |
Method Detail |
---|
java.lang.Object getResourceForID(java.lang.String id, DeserializationHandler decoder, java.lang.Class targetType, GraphMLParseContext context) throws GraphMLParseException
id
.
If this is the first request for id
, this will deserialize the resource either with decoder
or with GraphMLParseContext.deserialize(y.io.graphml.input.GraphMLParseContext,Node,Class)
if decoder
is null
.
id
- the id that identifies the resource.decoder
- The deserialization handlercontext
- The context for the operation.
GraphMLParseException
void registerResourceNode(java.lang.String id, org.w3c.dom.Node domNode)
domNode
- The domNode that contains the resource description.id
- The id of the resource.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |