Skip Headers

# Mappings and the jaxb:class Customization

Previous

Next

Using the `jaxb:class` customization, you can declaratively specify an application-specific subclass of a schema-derived implementation class. This lets you write your own classes that extend JAXB's generated implementation classes. The JAXB runtime binding framework can then access your subclasses.

When you create an EIS composite object mapping to XML records or an XML composite object mapping to XML documents, you can configure the mapping's XPath ("Configuring XPath") to accommodate `jaxb:class` customizations with the following XSD structures:

- all, choice, or sequence Structure

- group Structure

- sequence or choice Structure Containing a group

- group Structure Containing a sequence or choice

- group Structure Containing a group

When mapping to `jaxb:class` customized structures, consider the limitations of TopLink support for this customization (see "Limitations of jaxb:class Customization Support").