IT. Expert System.

Java Standard Edition (SE)

XmlEnum


javax.xml.bind.annotation

Annotation Type XmlEnum



  • @Retention(value=RUNTIME)
     @Target(value=TYPE)
    public @interface XmlEnum

    Maps an enum type Enum to XML representation.

    This annotation, together with XmlEnumValue provides a mapping of enum type to XML representation.

    Usage

    The @XmlEnum annotation can be used with the following program elements:

    • enum type

    The usage is subject to the following constraints:

    See "Package Specification" in javax.xml.bind.package javadoc for additional common information

    An enum type is mapped to a schema simple type with enumeration facets. The schema type is derived from the Java type to which @XmlEnum.value(). Each enum constant @XmlEnumValue must have a valid lexical representation for the type @XmlEnum.value() .

    Examples: See examples in XmlEnumValue

    Since:
    JAXB2.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      Class<?> value
      Java type that is mapped to a XML simple type.
    • Element Detail

      • value

        public abstract Class<?> value
        Java type that is mapped to a XML simple type.
        Default:
        java.lang.String.class


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 186 / 158770803. Delta: 0.03263 с