JavaTM Platform
Standard Ed. 6

javax.xml.bind.annotation
ö�� XmlAccessType

java.lang.Object
  �̳��� java.lang.Enum<XmlAccessType>
      �̳��� javax.xml.bind.annotation.XmlAccessType
������ʵ�ֵĽӿڣ�
Serializable, Comparable<XmlAccessType>

public enum XmlAccessType
extends Enum<XmlAccessType>

�� XmlAccessorType ʹ�ã����ڿ����ֶλ����Ե����л���

�����°汾��ʼ��
JAXB2.0
������
XmlAccessorType

ö�ٳ���ժҪ
FIELD
          JAXB �����е�ÿ���Ǿ�̬����˲̬�ֶν����Զ��󶨵� XML�������� XmlTransient ע�͡�
NONE
          �����ֶλ����Զ����ܰ󶨵� XML������ʹ��һЩ JAXB ע��ר�Ŷ����ǽ���ע�͡�
PROPERTY
          JAXB �����е�ÿ����ȡ����/���÷����Խ����Զ��󶨵� XML�������� XmlTransient ע�͡�
PUBLIC_MEMBER
          ÿ��������ȡ����/���÷����Ժ�ÿ�������ֶν����Զ��󶨵� XML�������� XmlTransient ע�͡�
 
����ժҪ
static XmlAccessType valueOf(String name)
          ���ش���ָ�����Ƶĸ����͵�ö�ٳ�����
static XmlAccessType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
���� java.lang.Enum �̳еķ���
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
���� java.lang.Object �̳еķ���
getClass, notify, notifyAll, wait, wait, wait
 

ö�ٳ�����ϸ��Ϣ

PROPERTY

public static final XmlAccessType PROPERTY
JAXB �����е�ÿ����ȡ����/���÷����Խ����Զ��󶨵� XML�������� XmlTransient ע�͡� ֻ����һЩ JAXB ע������ʽע���ֶ�ʱ����Щ�ֶβŰ󶨵� XML��


FIELD

public static final XmlAccessType FIELD
JAXB �����е�ÿ���Ǿ�̬����˲̬�ֶν����Զ��󶨵� XML�������� XmlTransient ע�͡� ֻ����һЩ JAXB ע������ʽע���ֶ�ʱ��getter/setter �ԲŰ󶨵� XML��


PUBLIC_MEMBER

public static final XmlAccessType PUBLIC_MEMBER
ÿ��������ȡ����/���÷����Ժ�ÿ�������ֶν����Զ��󶨵� XML�������� XmlTransient ע�͡� ֻ�����ʵ��� JAXB ע������ʽע����Щ���Դ�����ʶ���ר�á��ܱ�����Ĭ�ϵ��ֶλ��ȡ����/���÷�����ʱ���Ž����ǰ󶨵� XML��


NONE

public static final XmlAccessType NONE
�����ֶλ����Զ����ܰ󶨵� XML������ʹ��һЩ JAXB ע��ר�Ŷ����ǽ���ע�͡�

������ϸ��Ϣ

values

public static final XmlAccessType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for(XmlAccessType c : XmlAccessType.values())
        System.out.println(c);

���أ�
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XmlAccessType valueOf(String name)
���ش���ָ�����Ƶĸ����͵�ö�ٳ����� �ַ����������������������͵�ö�ٳ����� ��ʶ����ȫƥ�䡣���������ж��� �Ŀո񡣣�

������
ָ��Ҫ���ص�ö�ٳ��������ơ� -
���أ�
���ش���ָ�����Ƶ�ö�ٳ���
�׳���
�����ö������û�д���ָ�����Ƶij����� - ���׳� IllegalArgumentException

JavaTM Platform
Standard Ed. 6

�ύ��������
�йظ���� API �ο����ϺͿ�����Ա�ĵ�������� Java SE ������Ա�ĵ������ĵ���������ϸ�ġ����򿪷���Ա���������Լ�������������ﶨ�塢ʹ�ü��ɺ͹�������ʾ����

��Ȩ���� 2007 Sun Microsystems, Inc. ��������Ȩ���� ����������֤��������������ĵ����·ַ�������