Package | org.spicefactory.lib.xml.mapper.handler |
Class | public class ChildTextNodeHandler |
Inheritance | ChildTextNodeHandler AbstractPropertyHandler Object |
Method | Defined By | ||
---|---|---|---|
ChildTextNodeHandler(property:Property, xmlName:QName)
Creates a new instance. | ChildTextNodeHandler | ||
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 |
ChildTextNodeHandler | () | Constructor |
public function ChildTextNodeHandler(property:Property, xmlName:QName)
Creates a new instance.
Parametersproperty:Property — the property the child text node should be applied to
| |
xmlName:QName — the names of the mapped XML attributes or elements
|