This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.bind.annotation
enum XmlAccessType

java.lang.Object extended by java.lang.Enum extended by javax.xml.bind.annotation.XmlAccessType
All Implemented Interfaces:
Serializable, Comparable

public final enum XmlAccessType
extends Enum

Used by XmlAccessorType to control serialization of fields or properties.


Field Summary
static XmlAccessType FIELD
          Every non static, non transient field in a JAXB-bound class will be automatically bound to XML, unless annotated by javax.xml.bind.annotation.XmlTransient.
static XmlAccessType NONE
          None of the fields or properties is bound to XML unless they are specifically annotated with some of the JAXB annotations.
static XmlAccessType PROPERTY
          Every getter/setter pair in a JAXB-bound class will be automatically bound to XML, unless annotated by javax.xml.bind.annotation.XmlTransient.
static XmlAccessType PUBLIC_MEMBER
          Every public getter/setter pair and every public field will be automatically bound to XML, unless annotated by javax.xml.bind.annotation.XmlTransient.
 
Method Summary
static XmlAccessType

          
static XmlAccessType[]

          
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD

public static final XmlAccessType FIELD
Every non static, non transient field in a JAXB-bound class will be automatically bound to XML, unless annotated by {@link XmlTransient}. Getter/setter pairs are bound to XML only when they are explicitly annotated by some of the JAXB annotations.

NONE

public static final XmlAccessType NONE
None of the fields or properties is bound to XML unless they are specifically annotated with some of the JAXB annotations.

PROPERTY

public static final XmlAccessType PROPERTY
Every getter/setter pair in a JAXB-bound class will be automatically bound to XML, unless annotated by {@link XmlTransient}. Fields are bound to XML only when they are explicitly annotated by some of the JAXB annotations.

PUBLIC_MEMBER

public static final XmlAccessType PUBLIC_MEMBER
Every public getter/setter pair and every public field will be automatically bound to XML, unless annotated by {@link XmlTransient}. Fields or getter/setter pairs that are private, protected, or defaulted to package-only access are bound to XML only when they are explicitly annotated by the appropriate JAXB annotations.
Method Detail

valueOf

public static XmlAccessType valueOf(String name)
Parameters:
name

values

public static XmlAccessType[] values()


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.