Introduction
Used to specify that the associated element or elemenst should be wrapped by a node with the specified name.
Details
Used like this for variables
[XmlElementWrapper(name="levels")]
[XmlElement(name="levels",type="mypackage.LevelObject")]
public var levels:Array;
or this
private var _levels;
[XmlElementWrapper(name="levels")]
[XmlElements(name="levels",type="mypackage.LevelObject")]
public function get levels():Array
{
return _levels;
}
public function set levels(value:Array):void
{
_levels = value;
}