Packagecom.yworks.io.graphml
Classpublic class LayoutGraphMLIOHandler
InheritanceLayoutGraphMLIOHandler Inheritance GraphMLIOHandler Inheritance flash.events.EventDispatcher

A GraphMLIOHandler that writes only geometric information.



Public Properties
 PropertyDefined by
 InheritedclearGraphBeforeRead : Boolean
Whether to clear an existing graph instance before reading

If set to true, an exisisting graph instance will be cleared before the graph is read into this instance, otherwise the loaded graph will be merged into the existing one.

GraphMLIOHandler
 InheritedparseErrorHandler : IGraphMLParseErrorHandler
Gets or sets whether embedded resources should be evaluated.
GraphMLIOHandler
 InheritedreadLabels : Boolean
Whether labels should be deserialized.
GraphMLIOHandler
 InheritedreadMajorVersion : int
The major file format version for the input.
GraphMLIOHandler
 InheritedreadMinorVersion : int
The minor file format version for the input.
GraphMLIOHandler
 InheritedreadRealizers : Boolean
Whether styles should be deserialized from realizers.
GraphMLIOHandler
 InheritedreadStyles : Boolean
Whether styles should be deserialized.
GraphMLIOHandler
 InheritedrealizerSerializerManager : RealizerSerializerManager
Get the RealizerSerializerManager instance used by this GraphMLIOHandler.
GraphMLIOHandler
 InheritedwriteLabels : Boolean
Whether labels should be serialized.
GraphMLIOHandler
 InheritedwriteMajorVersion : int
The major file format version for the output
GraphMLIOHandler
 InheritedwriteMinorVersion : int
The minor file format version for the output
GraphMLIOHandler
 InheritedwriteRealizers : Boolean
Whether styles should be serialized as realizers.
GraphMLIOHandler
 InheritedwriteSharedReferences : Boolean
Get or set whether embedded resources should be written in a separate block.
GraphMLIOHandler
 InheritedwriteStyles : Boolean
Whether styles should be serialized.
GraphMLIOHandler
Protected Properties
 PropertyDefined by
 Inherited_edgeOutputHandlers : List
The installed edge output handlers
GraphMLIOHandler
 Inherited_graphMLOutputHandlers : List
The installed graphml output handlers
GraphMLIOHandler
 Inherited_graphOutputHandlers : List
The installed graph output handlers
GraphMLIOHandler
 Inherited_inputHandlers : List
The installed input handlers
GraphMLIOHandler
 Inherited_namespaces : ArrayList
The installed namespaces
GraphMLIOHandler
 Inherited_nodeOutputHandlers : List
The installed node output handlers
GraphMLIOHandler
 Inherited_portOutputHandlers : List
The installed port output handlers
GraphMLIOHandler
Public Methods
 MethodDefined by
 Inherited
addEdgeAttribute(mapper:IMapper, attrName:String, type:String = "string"):void
Adds a GraphML attribute with edge scope that holds data of simple type.
GraphMLIOHandler
 Inherited
Adds a input handler that can parse <data> blocks.
GraphMLIOHandler
 Inherited
addNamespace(ns:Namespace):void
Adds a namespace to the header of a GraphML file.
GraphMLIOHandler
 Inherited
addNodeAttribute(mapper:IMapper, attrName:String, type:String = "string"):void
Adds a GraphML attribute with node scope that holds data of simple type.
GraphMLIOHandler
 Inherited
addOutputHandler(outputHandler:IOutputHandler, scope:String):void
Adds a subordinate output handler for the given element scope to this GraphMLIOHandler.
GraphMLIOHandler
 Inherited
addRegistryEdgeAttribute(registryTag:Object, attrName:String, type:String = "string"):void
Adds a GraphML attribute with edge scope that holds data of simple type.
GraphMLIOHandler
 Inherited
addRegistryNodeAttribute(registryTag:Object, attrName:String, type:String = "string"):void
Adds a GraphML attribute with node scope that holds data of simple type.
GraphMLIOHandler
 Inherited
Returns an iterable view of all input handlers that have been registered with this instance.
GraphMLIOHandler
 Inherited
Returns an editable view on the registered output handlers for GraphML attributes with given scope that are registered with this GraphMLIOHandler.
GraphMLIOHandler
 Inherited
Returns an Iterable of all deserializers that have been registered with this instance.
GraphMLIOHandler
 Inherited
Returns an iterable view of all serializers that have been registered with this instance.
GraphMLIOHandler
 Inherited
read(graph:IGraph, xml:XML):void
populate the given graph with the graph defined in the given xml file.
GraphMLIOHandler
 Inherited
readURL(graph:IGraph, url:String):void
Populate the graph with the graph structure defined in a graph file located at the URL.
GraphMLIOHandler
 Inherited
Register a IDeserializer instance for reading custom information.
GraphMLIOHandler
 Inherited
Register a ISerializer instance for writing custom information.
GraphMLIOHandler
 Inherited
removeInputHandler(inputHandler:IInputHandler):void
Removes an input handler.
GraphMLIOHandler
 Inherited
removeOutputHandler(outputHandler:IOutputHandler, scope:String):void
Removes an output handler that was added for the given scope.
GraphMLIOHandler
 Inherited
Unregister an IDeserializer instance that was previously registered.
GraphMLIOHandler
 Inherited
Unregister an ISerializer instance that was previously registered.
GraphMLIOHandler
 Inherited
write(graph:IGraph):XML
Write the given graph to a XML Object in GraphML format.
GraphMLIOHandler
Protected Methods
 MethodDefined by
 Inherited
Create the DirectGraphMLWriter instance that is used for writing GraphML output.
GraphMLIOHandler
 Inherited
Create a suitable instance of IGraphElementFactory that can handle the given graph
GraphMLIOHandler
 Inherited
Create an IGraphElementProvider instance that provides the graph elements that are to be written.
GraphMLIOHandler
 Inherited
Create the GraphMLParser instance that is used for writing GraphML output.
GraphMLIOHandler
 Inherited
Callback method for the creation of a new read context.
GraphMLIOHandler
 Inherited
Callback method for the creation of a new write context.
GraphMLIOHandler
 Inherited
Create the IXmlWriter instance that is used for low-level XML writing.
GraphMLIOHandler
  
Callback for subclasses to register default data handlers.
LayoutGraphMLIOHandler
Events
 EventSummaryDefined by
 Inherited Dispatched when the io handler has finished parsing a graph.GraphMLIOHandler
 Inherited Dispatched when readURL is used and a the server sends a HTTP status code.GraphMLIOHandler
 Inherited Dispatched when readURL is used and an IO error occurs.GraphMLIOHandler
 Inherited Dispatched when readURL is used and a security error occurs.GraphMLIOHandler
Method detail
initializeHandlers()method
protected override function initializeHandlers():void

Callback for subclasses to register default data handlers. This implementation doesn't register any handlers.