Packagecom.yworks.io.graphml.writer
Interfacepublic interface IAttributeProvider

Provides data for writing GraphML attributes



Public Methods
 MethodDefined By
  
The content type of the attribute.
IAttributeProvider
  
getName():String
Returns the name of the attribute.
IAttributeProvider
  
Returns the value of the attribute in the given context.
IAttributeProvider
Method Detail
getContentType()method
public function getContentType():String

The content type of the attribute.

Returns
String — one of

  • GraphMLConstants.TYPE_INT
  • GraphMLConstants.TYPE_LONG
  • GraphMLConstants.TYPE_FLOAT
  • GraphMLConstants.TYPE_DOUBLE
  • GraphMLConstants.TYPE_BOOLEAN
  • GraphMLConstants.TYPE_STRING

See also

getName()method 
public function getName():String

Returns the name of the attribute.

Returns
String — The name of the attribute
getValue()method 
public function getValue(context:GraphMLWriteContext):Object

Returns the value of the attribute in the given context.

Parameters

context:GraphMLWriteContext — the write context

Returns
Object — the value of the attribute