Package | com.yworks.io.graphml.writer |
Class | public class AttributeOutputHandler |
Inheritance | AttributeOutputHandler Object |
Implements | IOutputHandler |
Subclasses | MapperAttributeOutputHandler, MapperRegistryAttributeOutputHandler |
IGraphDataHandler
.
Property | Defined By | ||
---|---|---|---|
attributeProvider : IAttributeProvider [read-only]
Returns the attribute provider that was passed to this instance. | AttributeOutputHandler |
Method | Defined By | ||
---|---|---|---|
AttributeOutputHandler(attributeProvider:IAttributeProvider)
Creates a new instance with the given attribute provider. | AttributeOutputHandler | ||
isDefaultData(context:GraphMLWriteContext):Boolean
Whether the data is default and thus the data element should not be
written at all for the current context. | AttributeOutputHandler | ||
Write the XML attributes of a data tag
| AttributeOutputHandler | ||
Write the element content of a data tag
| AttributeOutputHandler | ||
Write the XML attributes of the key tag for this graphml attribute
| AttributeOutputHandler | ||
Write the element content of the key tag for this graphml attribute
| AttributeOutputHandler |
attributeProvider | property |
attributeProvider:IAttributeProvider
[read-only] Returns the attribute provider that was passed to this instance.
public function get attributeProvider():IAttributeProvider
AttributeOutputHandler | () | Constructor |
public function AttributeOutputHandler(attributeProvider:IAttributeProvider)
Creates a new instance with the given attribute provider.
ParametersattributeProvider:IAttributeProvider — The attribute provider to read the attributes from.
|
isDefaultData | () | method |
public function isDefaultData(context:GraphMLWriteContext):Boolean
Whether the data is default and thus the data element should not be written at all for the current context.
Parameters
context:GraphMLWriteContext — The write context.
|
Boolean — false if the data element should be written.
|
printDataAttributes | () | method |
public function printDataAttributes(context:GraphMLWriteContext, writer:IXmlWriter):void
Write the XML attributes of a data
tag
Parameters
context:GraphMLWriteContext — The write context.
| |
writer:IXmlWriter — the xml writer.
|
printDataOutput | () | method |
public function printDataOutput(context:GraphMLWriteContext, writer:IXmlWriter):void
Write the element content of a data
tag
Parameters
context:GraphMLWriteContext — The write context.
| |
writer:IXmlWriter — the xml writer.
|
printKeyAttributes | () | method |
public function printKeyAttributes(context:GraphMLWriteContext, writer:IXmlWriter):void
Write the XML attributes of the key
tag for this graphml attribute
Parameters
context:GraphMLWriteContext — The write context.
| |
writer:IXmlWriter — the xml writer.
|
printKeyOutput | () | method |
public function printKeyOutput(context:GraphMLWriteContext, writer:IXmlWriter):void
Write the element content of the key
tag for this graphml attribute
Parameters
context:GraphMLWriteContext — The write context.
| |
writer:IXmlWriter — the xml writer.
|