public abstract class AbstractMapper<T> extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
index |
protected java.lang.String |
name |
protected java.lang.String |
uri |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMapper(java.lang.Class<T> targetClass)
Constructs a new PropertiesMapper.
|
protected |
AbstractMapper(java.lang.Class<T> targetClass,
java.lang.String uri,
int index,
java.lang.String name)
Constructs a new PropertiesMapper.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isExtension(java.lang.String arg0) |
boolean |
isPresent(IUnmarshallingContext context) |
void |
marshal(java.lang.Object object,
IMarshallingContext context) |
protected abstract void |
marshal(T object,
MarshallingContext context) |
java.lang.Object |
unmarshal(java.lang.Object object,
IUnmarshallingContext context) |
protected abstract T |
unmarshal(T object,
UnmarshallingContext context) |
protected java.lang.String uri
protected java.lang.String name
protected int index
protected AbstractMapper(java.lang.Class<T> targetClass)
protected AbstractMapper(java.lang.Class<T> targetClass, java.lang.String uri, int index, java.lang.String name)
uri
- index
- name
- public boolean isExtension(java.lang.String arg0)
org.jibx.runtime.IMarshaller#isExtension(java.lang.String)
public void marshal(java.lang.Object object, IMarshallingContext context) throws JiBXException
JiBXException
org.jibx.runtime.IMarshaller#marshal(java.lang.Object, org.jibx.runtime.IMarshallingContext)
protected abstract void marshal(T object, MarshallingContext context) throws JiBXException
JiBXException
public boolean isPresent(IUnmarshallingContext context) throws JiBXException
JiBXException
org.jibx.runtime.IUnmarshaller#isPresent(org.jibx.runtime.IUnmarshallingContext)
public java.lang.Object unmarshal(java.lang.Object object, IUnmarshallingContext context) throws JiBXException
JiBXException
org.jibx.runtime.IUnmarshaller#unmarshal(java.lang.Object, org.jibx.runtime.IUnmarshallingContext)