com.yworks.yfiles.server.graphml.support
Class GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler
java.lang.Object
y.io.graphml.GraphMLHandler
com.yworks.yfiles.server.graphml.support.GraphMLLayoutGraphIOHandler
com.yworks.yfiles.server.graphml.support.GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler
- Enclosing class:
- GraphRoundtripSupportBase
- public static class GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler
- extends GraphMLLayoutGraphIOHandler
A special GraphML I/O handler implementation that adds support for
roundtrips with a yFiles FLEX client.
Nested classes inherited from class y.io.graphml.GraphMLHandler |
GraphMLHandler.BoolDataAcceptorInputHandler, GraphMLHandler.BooleanDataProviderOutputHandler, GraphMLHandler.DoubleDataAcceptorInputHandler, GraphMLHandler.DoubleDataProviderOutputHandler, GraphMLHandler.FloatDataAcceptorInputHandler, GraphMLHandler.FloatDataProviderOutputHandler, GraphMLHandler.InputHandlerQueryPredicate, GraphMLHandler.IntDataAcceptorInputHandler, GraphMLHandler.IntDataProviderOutputHandler, GraphMLHandler.LongDataAcceptorInputHandler, GraphMLHandler.LongDataProviderOutputHandler, GraphMLHandler.StringDataAcceptorInputHandler, GraphMLHandler.StringDataProviderOutputHandler |
Methods inherited from class com.yworks.yfiles.server.graphml.support.GraphMLLayoutGraphIOHandler |
configureLookup, configureLookup, createGraphElementFactory, createHierarchySupport, createPortProvider, getGraphIdAcceptor, getGraphIdProvider, getIdDataAcceptor, getIdDataProvider, isAutoCreateGroupingDPs, read, read, setAutoCreateGroupingDPs, setGraphIdAcceptor, setGraphIdProvider, setIdDataAcceptor, setIdDataProvider, write |
Methods inherited from class y.io.graphml.GraphMLHandler |
addDeserializationHandler, addInputDataAcceptor, addInputDataAcceptor, addInputDataAcceptor, addInputDataAcceptor, addInputDataAcceptor, addInputDataAcceptor, addInputDataAcceptorFuture, addInputDataAcceptorFuture, addInputDataAcceptorFuture, addInputHandlerProvider, addNamespace, addOutputDataProvider, addOutputDataProvider, addOutputDataProvider, addOutputDataProvider, addOutputHandlerProvider, addParseEventListener, addRegisteredOutputDataProvider, addRegisteredOutputDataProvider, addRegisteredOutputDataProvider, addSchemaLocation, addSerializationHandler, addWriteEventListener, configureDeserializationHandlers, configureGraphMLParser, configureGraphMLWriter, configureNamespaces, configureParseEvents, configureSchemaLocations, configureSerializationHandlers, configureWriteEvents, configureXMLWriter, createGraphMLParser, createGraphMLWriter, createXMLWriter, createXMLWriter, fireDeserializationEvent, fireQueryInputHandlersProviders, fireQueryOutputHandlersEvent, fireSerializationEvent, getDeserializationProperty, getKeyName, getKeyScope, getKeyType, getKeyUri, getSerializationProperty, isClearGraphBeforeRead, isWriteXMLSchema, matchesName, matchesScope, matchesType, matchesUri, onGraphMLParserHandleDeserialization, onGraphMLParserQueryInputHandlers, onGraphMLWriterHandleSerialization, onGraphMLWriterQueryOutputHandlers, read, read, removeDeserializationHandler, removeDeserializationProperty, removeInputHandlerProvider, removeOutputHandlerProvider, removeParseEventListener, removeSerializationHandler, removeSerializationProperty, removeWriteEventListener, setClearGraphBeforeRead, setDeserializationProperty, setSerializationProperty, setWriteXMLSchema, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler
public GraphRoundtripSupportBase.RoundtripGraphMLLayoutGraphIOHandler(GraphRoundtripSupportBase roundtripSupport)
isLocalViewMode
public boolean isLocalViewMode()
setLocalViewMode
public void setLocalViewMode(boolean localViewMode)
isFoldingEnabled
public boolean isFoldingEnabled()
- Whether this GraphMLIOHandler will be configured to read and write
folded graphs.
- See Also:
FoldedLayoutGraph
,
FoldingSupport
setFoldingEnabled
public void setFoldingEnabled(boolean foldingEnabled)
- Whether this GraphMLIOHandler will be configured to read and write
folded graphs.
- See Also:
FoldedLayoutGraph
,
FoldingSupport
configureOutputHandlers
protected void configureOutputHandlers(Graph graph,
GraphMLWriter writer)
- Configures default event handlers for the
QueryOutputHandlersEvent
event.
- Overrides:
configureOutputHandlers
in class GraphMLLayoutGraphIOHandler
- Parameters:
graph
- The graph that will be written.writer
- The writer that should be configured.
configureInputHandlers
protected void configureInputHandlers(Graph graph,
GraphMLParser parser)
- Configures default event handlers for the
GraphMLParser.fireQueryInputHandlersEvent(y.io.graphml.input.QueryInputHandlersEvent)
event.
Support for post-processors is added by default
.
- Overrides:
configureInputHandlers
in class GraphMLLayoutGraphIOHandler
- Parameters:
graph
- The graph that shall be populated.parser
- The parser that should be configured.
configureSerializationProperties
protected void configureSerializationProperties(Graph graph,
GraphMLWriter writer)
configureDeserializationProperties
protected void configureDeserializationProperties(Graph graph,
GraphMLParser parser)
getRoundtripSupport
protected GraphRoundtripSupportBase getRoundtripSupport()
Copyright © 2000-2013 yWorks GmbH. All
rights reserved