| java.lang.Object org.jibx.extras.ObjectArrayMapper
ObjectArrayMapper | public class ObjectArrayMapper implements IMarshaller,IUnmarshaller,IAliasable(Code) | | Custom marshaller/unmarshaller for Object[] instances. This
handles mapping arrays typed as java.lang.Object[] , where each
item in the array must be of a mapped type. If a name is specified by the
mapping definition that name is used as a wrapper around the elements
representing the items in the array; otherwise, the elements are just handled
inline.
author: Dennis M. Sosnoski version: 1.0 |
ObjectArrayMapper | public ObjectArrayMapper()(Code) | | Default constructor. This just sets up for an XML representation with no
element wrapping the actual item structures. It'll be used by JiBX when
no name information is supplied by the mapping which references this
custom marshaller/unmarshaller.
|
ObjectArrayMapper | public ObjectArrayMapper(String uri, int index, String name)(Code) | | Aliased constructor. This takes a name definition for the top-level
wrapper element. It'll be used by JiBX when a name is supplied by the
mapping which references this custom marshaller/unmarshaller.
Parameters: uri - namespace URI for the top-level element Parameters: index - namespace index corresponding to the defined URI within themarshalling context definitions Parameters: name - local name for the top-level element |
isExtension | public boolean isExtension(int index)(Code) | | |
|
|