|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.binding.def.PassThroughComponent
org.jibx.binding.def.BaseMappingWrapper
public class BaseMappingWrapper
Component decorator for abstract base mapping from extension mapping. This just handles necessary glue code generation.
Field Summary |
---|
Fields inherited from class org.jibx.binding.def.PassThroughComponent |
---|
m_component |
Constructor Summary | |
---|---|
BaseMappingWrapper(IComponent wrap)
Constructor. |
Method Summary | |
---|---|
void |
genAttributeMarshal(ContextMethodBuilder mb)
Generate attribute marshalling code. |
void |
genAttributeUnmarshal(ContextMethodBuilder mb)
Generate attribute unmarshalling code. |
void |
genContentMarshal(ContextMethodBuilder mb)
Generate element or text marshalling code. |
void |
genContentUnmarshal(ContextMethodBuilder mb)
Generate element or text unmarshalling code. |
void |
genNewInstance(ContextMethodBuilder mb)
Generate code to create new instance of object. |
void |
print(int depth)
|
Methods inherited from class org.jibx.binding.def.PassThroughComponent |
---|
genAttrPresentTest, genContentPresentTest, genLoadId, getType, getWrapperName, hasAttribute, hasContent, hasId, isOptional, setLinkages, setWrappedComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseMappingWrapper(IComponent wrap)
wrap
- wrapped binding componentMethod Detail |
---|
public void genAttributeUnmarshal(ContextMethodBuilder mb) throws JiBXException
IComponent
genAttributeUnmarshal
in interface IComponent
genAttributeUnmarshal
in class PassThroughComponent
mb
- method builder
JiBXException
- if error in configurationpublic void genAttributeMarshal(ContextMethodBuilder mb) throws JiBXException
IComponent
genAttributeMarshal
in interface IComponent
genAttributeMarshal
in class PassThroughComponent
mb
- method builder
JiBXException
- if error in configurationpublic void genContentUnmarshal(ContextMethodBuilder mb) throws JiBXException
IComponent
genContentUnmarshal
in interface IComponent
genContentUnmarshal
in class PassThroughComponent
mb
- method builder
JiBXException
- if error in configurationpublic void genContentMarshal(ContextMethodBuilder mb) throws JiBXException
IComponent
genContentMarshal
in interface IComponent
genContentMarshal
in class PassThroughComponent
mb
- method builder
JiBXException
- if error in configurationpublic void genNewInstance(ContextMethodBuilder mb) throws JiBXException
IComponent
genNewInstance
in interface IComponent
genNewInstance
in class PassThroughComponent
mb
- method builder
JiBXException
- if error in configurationpublic void print(int depth)
print
in interface IComponent
print
in class PassThroughComponent
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |