This class defines a handler for key/data elements.
Inheritance Hierarchy
Type Details
- yFiles module
- view
Properties
Gets the parse precedence that is associated with this instance.
Property Value
The parse precedence for this instance.
Methods
This method is invoked when no data tag is defined, and the default value should be applied.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IParseContext
- The current parse context.
This method is invoked each time a data element with a matching key is processed.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IParseContext
- The current parse context.
- node - Node
- The DOM node representing the data element.
Static Methods
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- parseData - function(IParseContext, Node):void
This method is invoked each time a data element with a matching key is processed.
This property holds the implementation for parseData.
- applyDefault - function(IParseContext):void
This method is invoked when no data tag is defined, and the default value should be applied.
This property holds the implementation for applyDefault.
- precedence - ParsePrecedence
Gets the parse precedence that is associated with this instance.
This property holds the implementation for precedence.