Packagecom.yworks.io.graphml.realizer
Interfacepublic interface IRealizerSerializer

Base Interface for classes that can read and/or write GraphML graphics information written/to be parsed by yFiles Java.



Public Methods
 MethodDefined By
  
getElementName(item:Object):String
Returns the name of the element that will be written by this serializer given the provided item.
IRealizerSerializer
  
Returns the names of all XML elements that can be parsed or written by this serializer.
IRealizerSerializer
  
getNamespace():Namespace
Returns the namespace of the element this serilaizer writes.
IRealizerSerializer
  
Returns the style class that can be serialized or deserialized by this instance.
IRealizerSerializer
Method Detail
getElementName()method
public function getElementName(item:Object):String

Returns the name of the element that will be written by this serializer given the provided item.

Parameters

item:Object

Returns
String — the name of the item
getElementNames()method 
public function getElementNames():Array

Returns the names of all XML elements that can be parsed or written by this serializer.

Returns
Array — The names of all xml elements this serializer can handle as Array.
getNamespace()method 
public function getNamespace():Namespace

Returns the namespace of the element this serilaizer writes.

Returns
Namespace — the namespace of the elements
getStyleClass()method 
public function getStyleClass():Class

Returns the style class that can be serialized or deserialized by this instance.

Returns
Class — The class that can be serialized by this instance.