| Package | org.spicefactory.lib.xml.mapper |
| Class | public class PropertyMapper |
| Inheritance | PropertyMapper AbstractXmlObjectMapper Object |
| Implements | XmlObjectMapper |
| Method | Defined By | ||
|---|---|---|---|
mapToObject(element:XML, context:XmlProcessorContext = null):Object [override]
Maps from XML to object. | PropertyMapper | ||
mapToXml(object:Object, context:XmlProcessorContext = null):XML [override]
Maps from object to XML. | PropertyMapper | ||
| mapToObject | () | method |
override public function mapToObject(element:XML, context:XmlProcessorContext = null):Object
Maps from XML to object. Should always return objects of the type the objectType property was set to.
Parameters
element:XML — the XML element to be transformed to an object
| |
context:XmlProcessorContext (default = null) — the processing context
|
Object — a new object that maps to the specified XML element
|
| mapToXml | () | method |
override public function mapToXml(object:Object, context:XmlProcessorContext = null):XML
Maps from object to XML. Should always return XML elements with the name the elementName property was set to.
Parameters
object:Object — the object to be transformed to an XML element
| |
context:XmlProcessorContext (default = null) — the processing context
|
XML — a new XML element that maps to the specified object
|