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
 InheritedadjustFontSize : Boolean
Whether to adjust the font size when serializing / deserializing fonts.
GraphMLIOHandler
 InheritedclearGraphBeforeRead : Boolean
Whether to clear an existing graph instance before reading.
GraphMLIOHandler
 InheritedfontSizeFactor : Number
The factor to adjust the font size when serializing / deserializing fonts.
GraphMLIOHandler
 InheritedinputHandlerProvider : IInputHandlerProvider
Gets or sets an IInputHandlerProvider instance for dynamic input handler retrieval.
GraphMLIOHandler
 InheritedlocalViewMode : Boolean
Whether to read/write only the local view for folded graphs.
GraphMLIOHandler
 InheritedoutputHandlerProvider : IOutputHandlerProvider
Gets or sets an IOutputHandlerProvider instance for dynamic output handler retrieval.
GraphMLIOHandler
 InheritedparseErrorHandler : IGraphMLParseErrorHandler
An error handler that will be used to handle errors which occur during parsing.
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
 InheritedreadPortLocationModel : Boolean
Whether port location models should be deserialized.
GraphMLIOHandler
 InheritedreadRealizers : Boolean
Whether styles should be deserialized from realizers.
GraphMLIOHandler
 InheritedreadStyles : Boolean
Whether styles should be deserialized.
GraphMLIOHandler
 InheritedreadTables : Boolean
Whether to read tables.
GraphMLIOHandler
 InheritedrealizerSerializerManager : RealizerSerializerManager
[read-only] Get the RealizerSerializerManager instance used by this GraphMLIOHandler.
GraphMLIOHandler
 InheritedsupportUserTags : Boolean
Whether to support user tags at ModelItems automatically.
GraphMLIOHandler
 InheritedsupportZOrder : Boolean
Whether to support z-orders of IModelItems automatically.
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
 InheritedwritePortLocationModel : Boolean
Whether port location models should be serialized.
GraphMLIOHandler
 InheritedwriteRealizers : Boolean
Whether styles should be serialized as realizers.
GraphMLIOHandler
 InheritedwriteSharedReferences : Boolean
Whether to support object sharing on output.
GraphMLIOHandler
 InheritedwriteStyles : Boolean
Whether styles should be serialized.
GraphMLIOHandler
 InheritedwriteTables : Boolean
Whether to write tables.
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
addGraphAttribute(mapper:IMapper, attrName:String, type:String = string):void
Adds a GraphML attribute with graph 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
addRegistryGraphAttribute(registryTag:Object, attrName:String, type:String = string):void
Adds a GraphML attribute with graph 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
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
Sets up all default IDeserializer instances on context.
GraphMLIOHandler
 Inherited
Sets up all input handlers for the provided parser instance.
GraphMLIOHandler
 Inherited
Configures context to use all registered serializers.
GraphMLIOHandler
 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
  
[override] Callback for subclasses to register default data handlers.
LayoutGraphMLIOHandler
Events
 Event Summary Defined By
 InheritedDispatched when the io handler has finished parsing a graph.GraphMLIOHandler
 InheritedDispatched when readURL is used and a the server sends a HTTP status code.GraphMLIOHandler
 InheritedDispatched when readURL is used and an IO error occurs.GraphMLIOHandler
 InheritedDispatched when readURL is used and a security error occurs.GraphMLIOHandler
Method Detail
initializeHandlers()method
override protected function initializeHandlers():void

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