Packageorg.orpheus.xml.bind.annotation
Classpublic class XmlElementWrapper
InheritanceXmlElementWrapper Inheritance AbstractAnnotation

Specifies that the annotated member is derived from a nested XML element tag. This annotation is always used in combination with XmlElement metadata.

XmlElementWrapper metadata has the following keys (name is required):

 Keys:
 name="No Default"
 nameSpace="No Default"
 


Example
[XmlElementWrapper(name="authors")]

Author: Andrew Lewisohn
Version: $Revision: 31 $, $Date: 2009-02-12 17:01:41 -0500 (Thu, 12 Feb 2009) $, $Author: alewisohn $
Since: 0.1

See also

org.orpheus.xml.bind.annotation.XmlElement


Public Properties
 PropertyDefined by
 Inheritedignore : Boolean
Optional.
AbstractAnnotation
  name : String
[read-only] Optional.
XmlElementWrapper
  nameSpace : String
[read-only] Optional.
XmlElementWrapper
 Inheritedprecedence : int
Determines the order of the Annotation in a sort.
AbstractAnnotation
  qualifiedName : QName
[read-only] The Name and Namespace as a Qualified Name.
XmlElementWrapper
Protected Properties
 PropertyDefined by
 Inheritedconstants : MarshallerConstants
Annotation names used in marshalling/unmarshalling.
AbstractAnnotation
 Inheritedmetadata : Metadata
Internally held reference to the defining metadata object.
AbstractAnnotation
Public Methods
 MethodDefined by
  
XmlElementWrapper(metadata:Metadata)
Constructor.
XmlElementWrapper
  
annotationName():String
The name of this Annotation type.
XmlElementWrapper
  
toString():String
String representation of the object.
XmlElementWrapper
Protected Methods
 MethodDefined by
 Inherited
getValue(key:String):*
AbstractAnnotation
Property detail
nameproperty
name:String  [read-only]

Optional. The name of the attribute. By default, the attribute name is derived from the property name.

Implementation
    public function get name():String
nameSpaceproperty 
nameSpace:String  [read-only]

Optional. The namespace of the attribute.

Implementation
    public function get nameSpace():String
qualifiedNameproperty 
qualifiedName:QName  [read-only]

The Name and Namespace as a Qualified Name.

Implementation
    public function get qualifiedName():QName
Constructor detail
XmlElementWrapper()constructor
public function XmlElementWrapper(metadata:Metadata)

Constructor.

Parameters
metadata:Metadata
Method detail
annotationName()method
public override function annotationName():String

The name of this Annotation type.

Returns
String
toString()method 
public override function toString():String

String representation of the object.

Returns
String