|
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 | |
|---|---|
Object |
getResourceForID(String id,
DeserializationHandler decoder,
Class targetType,
GraphMLParseContext context)
Retrieve the shared resource that is referenced by id. |
void |
registerResourceNode(String id,
Node domNode)
Used to register the XML representation of a shared resource. |
| Method Detail |
|---|
Object getResourceForID(String id,
DeserializationHandler decoder,
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.
GraphMLParseExceptionid - the id that identifies the resource.decoder - The deserialization handlercontext - The context for the operation.
void registerResourceNode(String id,
Node domNode)
domNode - The domNode that contains the resource description.id - The id of the resource.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||