com.yworks.yfiles.server.graphml.folding
Class EdgeViewStateOutputHandler

java.lang.Object
  extended byy.io.graphml.output.AbstractOutputHandler
      extended bycom.yworks.yfiles.server.graphml.folding.EdgeViewStateOutputHandler
All Implemented Interfaces:
java.util.EventListener, OutputHandler, OutputHandlerProvider

public class EdgeViewStateOutputHandler
extends AbstractOutputHandler

Output handler for EdgeViewState instances.

Edge view states define the visual appearance of dummy edges in folded graphs.


Constructor Summary
EdgeViewStateOutputHandler()
          Initializes a new instance using the name 'http://www.yworks.com/xml/yfiles-graphml/1.0/edgeviewstates', the scope KeyScope.EDGE and the type KeyType.COMPLEX for the key element.
 
Method Summary
protected  java.lang.Object getValue(GraphMLWriteContext context, java.lang.Object key)
           
 boolean isDefaultValue(GraphMLWriteContext ctx)
           
protected  void writeValueCore(GraphMLWriteContext context, java.lang.Object data)
           
 
Methods inherited from class y.io.graphml.output.AbstractOutputHandler
addNameToKeyDefinition, addScopeToKeyDefinition, addTypeToKeyDefinition, addUriToKeyDefinition, getDataTagAttributes, getDefaultValue, getKeyDefinitionAttributes, getPrecedence, getScope, getValidScopes, hasDefaultValueAssigned, isValidScope, isWriteKeyDefault, onQueryOutputHandler, setDefaultValue, setDefaultValueAssigned, setPrecedence, setScope, setValidScopes, setWriteKeyDefault, writeKeyDefinitionContent, writeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeViewStateOutputHandler

public EdgeViewStateOutputHandler()
Initializes a new instance using the name 'http://www.yworks.com/xml/yfiles-graphml/1.0/edgeviewstates', the scope KeyScope.EDGE and the type KeyType.COMPLEX for the key element.

See Also:
KeyScope, KeyType
Method Detail

getValue

protected java.lang.Object getValue(GraphMLWriteContext context,
                                    java.lang.Object key)
                             throws GraphMLWriteException
Throws:
GraphMLWriteException

isDefaultValue

public boolean isDefaultValue(GraphMLWriteContext ctx)
                       throws GraphMLWriteException
Throws:
GraphMLWriteException

writeValueCore

protected void writeValueCore(GraphMLWriteContext context,
                              java.lang.Object data)
                       throws GraphMLWriteException
Throws:
GraphMLWriteException


Copyright © 2000-2013 yWorks GmbH. All rights reserved