public interface IAbstractMarshaller extends IMarshaller
This extension to the normal marshaller interface allows the base marshalling to determine the proper marshaller implementation to use at runtime. The code needs to check that the object to be marshalled has a marshaller that extends this base mapping.
Modifier and Type | Method and Description |
---|---|
void |
baseMarshal(java.lang.Object obj,
IMarshallingContext ctx)
Marshal instance of class with mapping extending this abstract mapping.
|
isExtension, marshal
void baseMarshal(java.lang.Object obj, IMarshallingContext ctx) throws JiBXException
obj
- object to be marshalled (may be null
, in the case
of a non-optional property with no value supplied)ctx
- XML text output contextJiBXException
- on error in marshalling process