|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyext.graphml.compat.ReadPortLayoutHandler
Reads the geometry data for ports in .NET graphml format
| Constructor Summary | |
ReadPortLayoutHandler()
|
|
| Method Summary | |
boolean |
acceptKey(NamedNodeMap attributes,
int scopeType)
This method defines whether a specific key/data pair is handled by the input handler. |
void |
applyDefault(DOMGraphMLParseContext context)
This method is invoked when no data tag is defined, and the default value should be applied. |
void |
parseData(DOMGraphMLParseContext context,
boolean defaultMode,
Node node)
This method is invoked, each time a data element with matching key is processed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReadPortLayoutHandler()
| Method Detail |
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.
acceptKey in interface DOMInputHandlerattributes - 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.
public void parseData(DOMGraphMLParseContext context,
boolean defaultMode,
Node node)
DOMInputHandler
parseData in interface DOMInputHandlercontext - the current parse context.defaultMode - true when the default value,
which is included in the key element, is processed,
false otherwise.node - the DOM node representing the data element.public void applyDefault(DOMGraphMLParseContext context)
DOMInputHandler
applyDefault in interface DOMInputHandlercontext - the current parse context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||