Packageorg.spicefactory.lib.xml.mapper
Interfacepublic interface MetadataMapperDecorator
Implementors AttributeDecorator, ChildTextNodeDecorator, ChoiceIdDecorator, ChoiceTypeDecorator, IgnoreDecorator, TextNodeDecorator

The core extension interface to create metadata tags for custom XML to Object mappings. Such a metadata tag can be placed on any property of a mapped class. The implementation will be invoked once for each occurence of that tag on each mapped class.



Public Methods
 MethodDefined By
  
Method to be invoked by the framework for each occurence of a metadata tag on each mapped class.
MetadataMapperDecorator
Method Detail
decorate()method
public function decorate(builder:MetadataMapperBuilder):void

Method to be invoked by the framework for each occurence of a metadata tag on each mapped class. It allows to validate and process the attributes of that tag and to modifiy the specified mapper builder accordingly. All existing builtin metadata tags like [Attribute] or [ChoiceId] implement this interface, too.

Parameters

builder:MetadataMapperBuilder — the builder that can be modified for the mapping of the property the metadata tag was placed upon