| Package | com.yworks.io.graphml.reader.deserializer |
| Class | public class CSSLabelStyleDeserializer |
| Inheritance | CSSLabelStyleDeserializer AbstractDeserializer Object |
ISimpleLabelStyle instances.
A shared instance can be retrieved using instance.
This Deserializer can handle the following XML:
<y:CSSLabelStyle styleName="...">
<y:StyleSheet url="...">style { property: value; }</y:StyleSheet>
</y:CSSLabelStyle>
| Property | Defined By | ||
|---|---|---|---|
| elementName : String [override] [read-only]
The local tag name that this Deserializer can claim to handle
| CSSLabelStyleDeserializer | ||
| instance : CSSLabelStyleDeserializer [static] [read-only]
The shared instance of this deserializer. | CSSLabelStyleDeserializer | ||
| xmlNamespace : Namespace [override] [read-only]
The XmlNamespace that this Deserializer can claim to handle
| CSSLabelStyleDeserializer | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | canHandle(context:GraphMLParseContext, element:XML):Boolean
Returns whether a deserializer can handle a specific xml element. | AbstractDeserializer | |
deserialize(context:GraphMLParseContext, element:XML):Object [override]
Create a new instance from the
xml element
| CSSLabelStyleDeserializer | ||
| elementName | property |
elementName:String [read-only] [override] The local tag name that this Deserializer can claim to handle
public function get elementName():String| instance | property |
instance:CSSLabelStyleDeserializer [read-only] The shared instance of this deserializer.
public static function get instance():CSSLabelStyleDeserializer| xmlNamespace | property |
xmlNamespace:Namespace [read-only] [override] The XmlNamespace that this Deserializer can claim to handle
public function get xmlNamespace():Namespace| deserialize | () | method |
override public function deserialize(context:GraphMLParseContext, element:XML):ObjectCreate a new instance from the xml element
Parameters
context:GraphMLParseContext — The current parse context
| |
element:XML — The current xml element
|
Object — A new instance
|