jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/XmlAdapter.java
changeset 34850 d72a2dfef02f
parent 32795 5a5710ee05a0
equal deleted inserted replaced
34764:f9bcdce2df26 34850:d72a2dfef02f
    29  * Adapts a Java type for custom marshaling.
    29  * Adapts a Java type for custom marshaling.
    30  *
    30  *
    31  * <p> <b> Usage: </b> </p>
    31  * <p> <b> Usage: </b> </p>
    32  *
    32  *
    33  * <p>
    33  * <p>
    34  * Some Java types do not map naturally to a XML representation, for
    34  * Some Java types do not map naturally to an XML representation, for
    35  * example {@code HashMap} or other non JavaBean classes. Conversely,
    35  * example {@code HashMap} or other non JavaBean classes. Conversely,
    36  * a XML repsentation may map to a Java type but an application may
    36  * an XML representation may map to a Java type but an application may
    37  * choose to accesss the XML representation using another Java
    37  * choose to access the XML representation using another Java
    38  * type. For example, the schema to Java binding rules bind
    38  * type. For example, the schema to Java binding rules bind
    39  * xs:DateTime by default to XmlGregorianCalendar. But an application
    39  * xs:DateTime by default to XmlGregorianCalendar. But an application
    40  * may desire to bind xs:DateTime to a custom type,
    40  * may desire to bind xs:DateTime to a custom type,
    41  * MyXmlGregorianCalendar, for example. In both cases, there is a
    41  * MyXmlGregorianCalendar, for example. In both cases, there is a
    42  * mismatch between <i> bound type </i>, used by an application to
    42  * mismatch between <i> bound type </i>, used by an application to