Package | org.spicefactory.lib.xml.mapper.handler |
Class | public class ChildElementHandler |
Inheritance | ChildElementHandler AbstractChildElementHandler AbstractPropertyHandler Object |
Method | Defined By | ||
---|---|---|---|
Creates a new instance. | ChildElementHandler | ||
toObject(nodes:Array, parentInstance:Object, context:XmlProcessorContext):void
Maps the specified XML elements, attributes or text nodes to the mapped property of the specified instance. | AbstractPropertyHandler | ||
toXML(instance:Object, parentElement:XML, context:XmlProcessorContext):void
Maps the property value this handler is responsible for to the specified XML elements. | AbstractPropertyHandler |
ChildElementHandler | () | Constructor |
public function ChildElementHandler(property:Property, mapper:XmlObjectMapper)
Creates a new instance.
Parametersproperty:Property — the property the child element should be applied to
| |
mapper:XmlObjectMapper — the mapper responsible for mapping the child element to objects
|