Packageorg.spicefactory.lib.xml.mapper.metadata
Classpublic class XmlMapping
InheritanceXmlMapping Inheritance Object

Represents a Metadata tag that can be used on the class level to specify a custom XML element name or uri and other custom behaviours.



Public Properties
 PropertyDefined By
  elementName : String
The name of the XML element the class should map to.
XmlMapping
  elementUri : String
The namespace uri of the XML element the class should map to.
XmlMapping
  ignoreUnmappedAttributes : Boolean
Instructs the mapper to ignore attributes in XML that are not mapped to properties.
XmlMapping
  ignoreUnmappedChildren : Boolean
Instructs the mapper to ignore child elements in XML that are not mapped to properties.
XmlMapping
Property Detail
elementNameproperty
public var elementName:String

The name of the XML element the class should map to.

elementUriproperty 
public var elementUri:String

The namespace uri of the XML element the class should map to.

ignoreUnmappedAttributesproperty 
public var ignoreUnmappedAttributes:Boolean

Instructs the mapper to ignore attributes in XML that are not mapped to properties.

ignoreUnmappedChildrenproperty 
public var ignoreUnmappedChildren:Boolean

Instructs the mapper to ignore child elements in XML that are not mapped to properties.