API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind.annotation. XmlAccessType View Source
Author(s)
Sekhar Vajjhala, Sun Microsystems, Inc.
Since
JAXB2.0
Version
$Revision: 1.10 $
Serial
Hierarchy
 Object
      Enum
          XmlAccessType
Implements
Subclasses
Description
publicfinal enum XmlAccessType
  Used by XmlAccessorType to control serialization of fields or properties.
See also:    XmlAccessorType
Enum Constants
PROPERTY
  Every getter/setter pair in a JAXB-bound class will be automatically bound to XML, unless annotated by XmlTransient.
FIELD
  Every non static, non transient field in a JAXB-bound class will be automatically bound to XML, unless annotated by XmlTransient.
PUBLIC_MEMBER
  Every public getter/setter pair and every public field will be automatically bound to XML, unless annotated by XmlTransient.
NONE
None of the fields or properties is bound to XML unless they are specifically annotated with some of the JAXB annotations.
Methods
Hide/Show inherited methods
protectedfinal Object clone () throws CloneNotSupportedException [Inherited From Enum]
  Throws CloneNotSupportedException.
publicfinal int compareTo ( E o) [Inherited From Enum]
  Compares this enum with the specified object for order.
publicfinal boolean equals (Object other) [Inherited From Enum]
  Returns true if the specified object is equal to this enum constant.
protectedfinal void finalize () [Inherited From Enum]
enum classes cannot have finalize methods.
publicfinal Class< E> getDeclaringClass () [Inherited From Enum]
  Returns the Class object corresponding to this enum constant's enum type.
publicfinal int hashCode () [Inherited From Enum]
  Returns a hash code for this enum constant.
publicfinal String name () [Inherited From Enum]
  Returns the name of this enum constant, exactly as declared in its enum declaration.
publicfinal int ordinal () [Inherited From Enum]
  Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
public String toString () [Inherited From Enum]
  Returns the name of this enum constant, as contained in the declaration.
publicstatic T valueOf (Class< T> enumType, String name) [Inherited From Enum]
  Returns the enum constant of the specified enum type with the specified name.
publicstatic XmlAccessType valueOf (String name)
publicfinalstatic XmlAccessType values ()
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar