| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface GenericNodeRealizerSerializer.ConfigurationFactory
Interface for dynamic creation and registration of configurations for GenericNodeRealizer.
 
 If an instance of this interface is present in Lookup.lookup(Class),
 createConfiguration(org.w3c.dom.Node,y.view.GenericNodeRealizer,y.io.graphml.input.GraphMLParseContext) will be
 called if a configuration does not exist in GenericNodeRealizer.Factory.
 
 A default implementation that registers a default configuration under the given name is provided by
 Graph2DGraphMLHandler.configureLookup(y.base.Graph,y.io.graphml.input.GraphMLParser) .
 
| Method Summary | |
|---|---|
|  void | createConfiguration(org.w3c.dom.Node domNode,
                    GenericNodeRealizer gnr,
                    GraphMLParseContext context)Fallback method that is called by GenericNodeRealizerSerializer.parse(y.view.NodeRealizer,org.w3c.dom.Node,y.io.graphml.input.GraphMLParseContext)if the specified configuration is not registered. | 
| Method Detail | 
|---|
void createConfiguration(org.w3c.dom.Node domNode,
                         GenericNodeRealizer gnr,
                         GraphMLParseContext context)
GenericNodeRealizerSerializer.parse(y.view.NodeRealizer,org.w3c.dom.Node,y.io.graphml.input.GraphMLParseContext)
 if the specified configuration is not registered.
 
 Implementations should provide some fallback behaviour, and set a configuration on gnr if applicable.
 
 A default implementation that registers a default configuration under the given name is provided by
 Graph2DGraphMLHandler.configureLookup(y.base.Graph,y.io.graphml.input.GraphMLParser) .
 
domNode - The toplevel DOM node that represents the realizergnr - The realizer to configurecontext - The current parse context| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||