Packageorg.spicefactory.lib.xml.mapper
Classpublic class Choice
InheritanceChoice Inheritance Object

Choices represent several XML child elements that should be mapped to the same property of the mapped class. They are somewhat similar to choices in XML Schema definitions. Instances of this class can be passed to PropertyMapperBuilder.mapToChildElementChoice().



Public Methods
 MethodDefined By
  
Adds a mapper to this choice.
Choice
Method Detail
addMapper()method
public function addMapper(mapper:XmlObjectMapper):void

Adds a mapper to this choice.

Parameters

mapper:XmlObjectMapper — the mapper to add