Special implementation of IValueSerializerContext that should be used in a GraphML write context.
Inheritance Hierarchy
GraphMLWriteValueSerializerContext
Implemented Interfaces
Type Details
- yfiles module
- view-graphml
- yfiles-umd modules
- view-graphml, view
- Legacy UMD name
- yfiles.graphml.GraphMLWriteValueSerializerContext
Constructors
Creates a new instance that wraps context
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The current write context
Properties
Gets or sets the parent object if such an object exists currently.
Methods
Gets the value serializer for a specific type.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- type - Class
- The type to obtain a serializer for.
Returns
- ↪ValueSerializer
- A serializer or
null
.
Implements
Gets the value serializer for a specific Property.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- property - Property
- The descriptor of the property.
Returns
- ↪ValueSerializer
- A serializer or
null
.
Implements
Returns the wrapped IWriteContext for this serviceType, otherwise null
Type Parameters
- T: any
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- serviceType - Class
- The serviceType
Returns
- ↪T
- the wrapped IWriteContext for this serviceType, otherwise
null