|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyext.graphml.reader.AbstractDOMInputHandler
yext.graphml.graph2D.ReadEdgeRealizerHandler
Reads the y-graphics extension for edges in GraphML input.
| Constructor Summary | |
ReadEdgeRealizerHandler()
|
|
| Method Summary | |
boolean |
acceptKey(NamedNodeMap attributes,
int scopeType)
This method defines whether a specific key/data pair is handled by the input handler. |
static void |
addEdgeRealizerSerializer(EdgeRealizerSerializer ers)
Deprecated. Use RealizerSerializerManager instead for
/* instance specific registration. |
protected void |
applyDefault(DOMGraphMLParseContext context,
Graph graph,
Object nodeedge)
Apply default data. |
protected void |
parseData(DOMGraphMLParseContext context,
Graph graph,
Object edge,
boolean defaultMode,
Node domNode)
Parses the data. |
static EdgeRealizer |
parseRealizer(Graph2D graph,
Edge yEdge,
Node node,
GraphMLParseContext context)
|
| Methods inherited from class yext.graphml.reader.AbstractDOMInputHandler |
applyDefault, parseData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReadEdgeRealizerHandler()
| Method Detail |
public static void addEdgeRealizerSerializer(EdgeRealizerSerializer ers)
RealizerSerializerManager instead for
/* instance specific registration.
public boolean acceptKey(NamedNodeMap attributes,
int scopeType)
DOMInputHandlertrue, each occurence of
data elements which match the id of the key element are
forwarded to the input handler.
attributes - the attributes of the key tag.scopeType - the scope for which the key is defined.
One of
GraphMLConstants.SCOPE_ALL,
GraphMLConstants.SCOPE_EDGE,
GraphMLConstants.SCOPE_ENDPOINT,
GraphMLConstants.SCOPE_GRAPH,
GraphMLConstants.SCOPE_NODE,
GraphMLConstants.SCOPE_PORT,
GraphMLConstants.SCOPE_HYPEREDGE.
protected void parseData(DOMGraphMLParseContext context,
Graph graph,
Object edge,
boolean defaultMode,
Node domNode)
AbstractDOMInputHandler
parseData in class AbstractDOMInputHandlercontext - The context in which the parser is.graph - The current graph in the parse context.edge - The current node/edge in the parse context.defaultMode - Whether default data or real data is read.domNode - The DOM node which is actually processed.
public static EdgeRealizer parseRealizer(Graph2D graph,
Edge yEdge,
Node node,
GraphMLParseContext context)
protected void applyDefault(DOMGraphMLParseContext context,
Graph graph,
Object nodeedge)
AbstractDOMInputHandler
applyDefault in class AbstractDOMInputHandlercontext - The context in which the parser is.graph - The current graph in the parse context.nodeedge - The current node/edge in the parse context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||