org.jibx.runtime
Interface IAliasable

All Known Implementing Classes:
Dom4JElementMapper, DomElementMapper, HashMapperStringToComplex, HashMapperStringToSchemaType, IdDefRefMapperBase, IdRefMapperBase, ObjectArrayMapper, TypedArrayMapper

public interface IAliasable

Nameable extension interface definition. This interface must be implemented by a marshaller IMarshaller or unmarshaller IUnmarshaller that can use different top-level element names. Although it does not define any methods, it designates the marshaller or unmarshaller as being usable with a namespace and element name, and particular bound class name, defined within a binding. If this interface is implemented by a marshaller or unmarshaller class used with a specified element name in a binding the binding compiler will actually generate a subclass of the original class. The subclass uses a standard no-argument constructor, but calls a superclass constructor with the specified element name and bound class information. The superclass code can then make use of the specified name in marshalling and/or unmarshalling.

Version:
1.0
Author:
Dennis M. Sosnoski



Project Web Site