com.yworks.yfiles.server.graphml.flexio
Class DefaultValueReadEdgeLayoutHandler

java.lang.Object
  extended byy.io.graphml.input.AbstractInputHandler
      extended bycom.yworks.yfiles.server.graphml.flexio.AbstractInputHandlerProvider
          extended bycom.yworks.yfiles.server.graphml.flexio.DefaultValueReadEdgeLayoutHandler
All Implemented Interfaces:
java.util.EventListener, InputHandler, InputHandlerProvider

public class DefaultValueReadEdgeLayoutHandler
extends AbstractInputHandlerProvider


Constructor Summary
DefaultValueReadEdgeLayoutHandler()
           
 
Method Summary
 boolean acceptKey(org.w3c.dom.Element attributes)
          Accepts elements with scope KeyScope.EDGE and name "geometry".
protected  java.lang.Object parseDataCore(GraphMLParseContext context, org.w3c.dom.Node node)
           
protected  void setValue(GraphMLParseContext context, java.lang.Object key, java.lang.Object data)
           
 
Methods inherited from class com.yworks.yfiles.server.graphml.flexio.AbstractInputHandlerProvider
onQueryInputHandler
 
Methods inherited from class y.io.graphml.input.AbstractInputHandler
applyDefault, getDefaultValue, getPrecedence, getValidScopes, initializeFromKeyDefinition, isDefaultExists, isParseDefaultValue, parseData, setDefaultExists, setDefaultValue, setParseDefaultValue, setPrecedence, setValidScopes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValueReadEdgeLayoutHandler

public DefaultValueReadEdgeLayoutHandler()
Method Detail

acceptKey

public boolean acceptKey(org.w3c.dom.Element attributes)
Accepts elements with scope KeyScope.EDGE and name "geometry".

Specified by:
acceptKey in class AbstractInputHandlerProvider
Parameters:
attributes - The element to check.
Returns:
true for elements with scope KeyScope.EDGE and name "geometry".

parseDataCore

protected java.lang.Object parseDataCore(GraphMLParseContext context,
                                         org.w3c.dom.Node node)
                                  throws GraphMLParseException
Throws:
GraphMLParseException

setValue

protected void setValue(GraphMLParseContext context,
                        java.lang.Object key,
                        java.lang.Object data)
                 throws GraphMLParseException
Throws:
GraphMLParseException


Copyright © 2000-2013 yWorks GmbH. All rights reserved