API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind.annotation. XmlElement View Source
Author(s)
Sekhar Vajjhala, Sun Microsystems, Inc.
Since
JAXB2.0
Version
$Revision: 1.18 $
Serial
Description
@Retention (value=RUNTIME)
@Target (value={FIELD, METHOD})
public annotation XmlElement
  Maps a JavaBean property to a XML element derived from property name.
See also:   
Elements
defaultValue = "\u0000"
  Default value of this element.
name = "##default"
  Name of the XML Schema element.
namespace = "##default"
  XML target namespace of the XML Schema element.
nillable = false
  Customize the element declaration to be nillable.
required = false
  Customize the element declaration to be required.
type = javax.xml.bind.annotation.XmlElement.DEFAULT.class
The Java class being referenced.
Nested Classes
  XmlElement.DEFAULT
Used in XmlElement.type() to signal that the type be inferred from the signature of the property.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar