com.yworks.yfiles.server.graphml.flexio
Interface IMarkupExtensionFactory

All Known Implementing Classes:
Column, CompositeLabelModel, CompositeLabelModel.CompositeModelParameter, DescriptorWrapperLabelModel, DescriptorWrapperLabelModel.DescriptorWrapperLabelModelParameter, EdgeViewState, LabelCandidateDescriptor, LabelCandidateDescriptor.ConstantDescriptor, NodeViewState, RotatedSideSliderEdgeLabelModel, RotatedSideSliderEdgeLabelModel.ModelParameter, RotatedSliderEdgeLabelModel, RotatedSliderEdgeLabelModel.ModelParameter, Row, StretchStripeLabelModelParameter, StripeLabelModelParameter, Table, Table.StripeDefaults

public interface IMarkupExtensionFactory

Classes implementing the IMarkupExtensionFactory thereby provide a subclass of MarkupExtension that can be used for a more convenient serialization and deserialization of its content.

If objects of this type are to be serialized by the ReflectionBasedSerializer it serializes their provided MarkupExtension instead.

Analogous the ReflectionBasedDeserializer first tries to deserialize into an according MarkupExtension and then uses it's provideValue method to return the original class type. When doing this it assumes that the MarkupExtension class has the same class name with an 'Extension' attached at the end, e.g. 'MyClass' and 'MyClassExtension'.


Method Summary
 MarkupExtension createMarkupExtension(Lookup lookup)
          Creates a markup extension that can be used instead of the original class.
 

Method Detail

createMarkupExtension

public MarkupExtension createMarkupExtension(Lookup lookup)
Creates a markup extension that can be used instead of the original class.

Parameters:
lookup - The lookup that shall be considered when creating the markup extension.


Copyright © 2000-2013 yWorks GmbH. All rights reserved