@Deprecated public enum XmlAccessType extends Enum<XmlAccessType>
Enum Constant and Description |
---|
FIELD
Deprecated.
Every non static, non transient field in a JAXB-bound class will be automatically
bound to XML
Getter/setter pairs are bound to XML only when they are explicitly annotated
by some of the JAXB annotations.
|
NONE
Deprecated.
None of the fields or properties is bound to XML unless they
are specifically annotated with some of the JAXB annotations.
|
PROPERTY
Deprecated.
Every getter/setter pair in a JAXB-bound class will be automatically
bound to XML
Fields are bound to XML only when they are explicitly annotated
by some of the JAXB annotations.
|
PUBLIC_MEMBER
Deprecated.
Every public getter/setter pair and every public field will be
automatically bound to XML
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.
|
Modifier and Type | Method and Description |
---|---|
static XmlAccessType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static XmlAccessType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlAccessType PROPERTY
public static final XmlAccessType FIELD
public static final XmlAccessType PUBLIC_MEMBER
public static final XmlAccessType NONE
public static XmlAccessType[] values()
for (XmlAccessType c : XmlAccessType.values()) System.out.println(c);
public static XmlAccessType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2000–2022 EPAM Systems. All rights reserved.