API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind.annotation. XmlType View Source
Author(s)
Sekhar Vajjhala, Sun Microsystems, Inc.
Since
JAXB2.0
Version
$Revision: 1.19 $
Serial
Description
@Retention (value=RUNTIME)
@Target (value=TYPE)
public annotation XmlType
  Maps a class or an enum type to a XML Schema type.
Elements
factoryClass = javax.xml.bind.annotation.XmlType.DEFAULT.class
  Class containing a no-arg factory method for creating an instance of this class.
factoryMethod = ""
Name of a no-arg factory method in the class specified in factoryClass factoryClass().
name = "##default"
Name of the XML Schema type which the class is mapped.
namespace = "##default"
  Name of the target namespace of the XML Schema type.
propOrder = ""
  Specifies the order for XML Schema elements when class is mapped to a XML Schema complex type.
Nested Classes
  XmlType.DEFAULT
Used in XmlType.factoryClass() to signal that either factory mehod is not used or that it's in the class with this XmlType itself.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar