| Package | com.yworks.io.graphml.writer.serializer |
| Class | public class TemplateNodeStyleSerializer |
| Inheritance | TemplateNodeStyleSerializer AbstractTemplateStyleSerializer AbstractSerializer Object |
TemplateNodeStyle. Delegates most of
the work to the AbstractTemplateStyleSerializer.
This serializer writes the following element:
<y:TemplateNodeStyle
templateClass=".."
(userTagProvider="..")
dataPropertyName=""
contextPropertyName=""
hideSelectionPaintable="">
(<y:TagProvider>
..
</y:TagProvider>)
<y:StyleTag>
..
</y:StyleTag>
</y:TemplateStyle>
| Property | Defined By | ||
|---|---|---|---|
| elementName : String [override] [read-only]
The element name of the toplevel XmlElement for the serialized representation of this object. | TemplateNodeStyleSerializer | ||
| instance : TemplateNodeStyleSerializer [static] [read-only]
The shared instance. | TemplateNodeStyleSerializer | ||
![]() | xmlNamespace : Namespace [read-only]
returns the yworks namespace
| AbstractSerializer | |
| Method | Defined By | ||
|---|---|---|---|
canHandle(context:GraphMLWriteContext, subject:Object):Boolean [override]
Return whether this serializer can handle a specific object. | TemplateNodeStyleSerializer | ||
![]() |
Serialize the given style to a IXmlWriter. | AbstractSerializer | |
| elementName | property |
elementName:String [read-only] [override] The element name of the toplevel XmlElement for the serialized representation of this object.
public function get elementName():String| instance | property |
instance:TemplateNodeStyleSerializer [read-only] The shared instance.
public static function get instance():TemplateNodeStyleSerializer| canHandle | () | method |
override public function canHandle(context:GraphMLWriteContext, subject:Object):BooleanReturn whether this serializer can handle a specific object.
Parameters
context:GraphMLWriteContext — The write context.
| |
subject:Object — The object which is tested
|
Boolean — true if the serializer can handle the subject
|