|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public MarkupExtension createMarkupExtension(Lookup lookup)
lookup
- The lookup that shall be considered when creating the markup extension.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |