|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyext.graphml.reader.AbstractDOMInputHandler
Abstract implementation of the DOMInputHandler interface,
which does basic conversion for yFiles.
| Constructor Summary | |
AbstractDOMInputHandler()
|
|
| Method Summary | |
void |
applyDefault(DOMGraphMLParseContext context)
This method is invoked when no data tag is defined, and the default value should be applied. |
protected abstract void |
applyDefault(DOMGraphMLParseContext context,
Graph graph,
Object nodeedge)
Apply default data. |
void |
parseData(DOMGraphMLParseContext context,
boolean defaultMode,
Node domNode)
Implementation of the method defined in the DOMInputHandler
interface which forwards the call to
parseData(org.graphdrawing.graphml.reader.dom.DOMGraphMLParseContext, y.base.Graph, java.lang.Object, boolean, org.w3c.dom.Node). |
protected abstract void |
parseData(DOMGraphMLParseContext context,
Graph graph,
Object nodeedge,
boolean defaultMode,
Node domNode)
Parses the data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.graphdrawing.graphml.reader.dom.DOMInputHandler |
acceptKey |
| Constructor Detail |
public AbstractDOMInputHandler()
| Method Detail |
public void parseData(DOMGraphMLParseContext context,
boolean defaultMode,
Node domNode)
DOMInputHandler
interface which forwards the call to
parseData(org.graphdrawing.graphml.reader.dom.DOMGraphMLParseContext, y.base.Graph, java.lang.Object, boolean, org.w3c.dom.Node).
parseData in interface DOMInputHandlercontext - The context in which the parser is.defaultMode - Whether default data or real data is read.domNode - The DOM node which is actually processed.public void applyDefault(DOMGraphMLParseContext context)
DOMInputHandler
applyDefault in interface DOMInputHandlercontext - the current parse context.
protected abstract void parseData(DOMGraphMLParseContext context,
Graph graph,
Object nodeedge,
boolean defaultMode,
Node domNode)
context - The context in which the parser is.graph - The current graph in the parse context.nodeedge - 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.
protected abstract void applyDefault(DOMGraphMLParseContext context,
Graph graph,
Object nodeedge)
context - 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 | |||||||||