W3cubDocs

/OpenJDK 8 Web

Package javax.xml.bind.annotation

Defines annotations for customizing Java program elements to XML Schema mapping.

See: Description

Interface Summary
Interface Description
DomHandler<ElementT,ResultT extends Result>

Converts an element (and its descendants) from/to DOM (or similar) representation.

Class Summary
Class Description
W3CDomHandler

DomHandler implementation for W3C DOM (org.w3c.dom package.)

XmlElement.DEFAULT

Used in XmlElement.type() to signal that the type be inferred from the signature of the property.

XmlElementDecl.GLOBAL

Used in XmlElementDecl.scope() to signal that the declaration is in the global scope.

XmlElementRef.DEFAULT

Used in XmlElementRef.type() to signal that the type be inferred from the signature of the property.

XmlSchemaType.DEFAULT

Used in XmlSchemaType.type() to signal that the type be inferred from the signature of the property.

XmlType.DEFAULT

Used in XmlType.factoryClass() to signal that either factory mehod is not used or that it's in the class with this XmlType itself.

Enum Summary
Enum Description
XmlAccessOrder

Used by XmlAccessorOrder to control the ordering of properties and fields in a JAXB bound class.

XmlAccessType

Used by XmlAccessorType to control serialization of fields or properties.

XmlNsForm

Enumeration of XML Schema namespace qualifications.

Annotation Types Summary
Annotation Type Description
XmlAccessorOrder

Controls the ordering of fields and properties in a class.

XmlAccessorType

Controls whether fields or Javabean properties are serialized by default.

XmlAnyAttribute

Maps a JavaBean property to a map of wildcard attributes.

XmlAnyElement

Maps a JavaBean property to XML infoset representation and/or JAXB element.

XmlAttachmentRef

Marks a field/property that its XML form is a uri reference to mime content.

XmlAttribute

Maps a JavaBean property to a XML attribute.

XmlElement

Maps a JavaBean property to a XML element derived from property name.

XmlElementDecl

Maps a factory method to a XML element.

XmlElementRef

Maps a JavaBean property to a XML element derived from property's type.

XmlElementRefs

Marks a property that refers to classes with XmlElement or JAXBElement.

XmlElements

A container for multiple @XmlElement annotations.

XmlElementWrapper

Generates a wrapper element around XML representation.

XmlEnum

Maps an enum type Enum to XML representation.

XmlEnumValue

Maps an enum constant in Enum type to XML representation.

XmlID

Maps a JavaBean property to XML ID.

XmlIDREF

Maps a JavaBean property to XML IDREF.

XmlInlineBinaryData

Disable consideration of XOP encoding for datatypes that are bound to base64-encoded binary data in XML.

XmlList

Used to map a property to a list simple type.

XmlMimeType

Associates the MIME type that controls the XML representation of the property.

XmlMixed

Annotate a JavaBean multi-valued property to support mixed content.

XmlNs

Associates a namespace prefix with a XML namespace URI.

XmlRegistry

Marks a class that has XmlElementDecls.

XmlRootElement

Maps a class or an enum type to an XML element.

XmlSchema

Maps a package name to a XML namespace.

XmlSchemaType

Maps a Java type to a simple schema built-in type.

XmlSchemaTypes

A container for multiple @XmlSchemaType annotations.

XmlSeeAlso

Instructs JAXB to also bind other classes when binding this class.

XmlTransient

Prevents the mapping of a JavaBean property/type to XML representation.

XmlType

Maps a class or an enum type to a XML Schema type.

XmlValue

Enables mapping a class to a XML Schema complex type with a simpleContent or a XML Schema simple type.

Package javax.xml.bind.annotation Description

Defines annotations for customizing Java program elements to XML Schema mapping.

Since:
JAXB 2.0

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.