|
||||||||||
| 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 component| Method Detail |
|---|
public void genAttributeUnmarshal(ContextMethodBuilder mb)
throws JiBXException
IComponent
genAttributeUnmarshal in interface IComponentgenAttributeUnmarshal in class PassThroughComponentmb - method builder
JiBXException - if error in configuration
public void genAttributeMarshal(ContextMethodBuilder mb)
throws JiBXException
IComponent
genAttributeMarshal in interface IComponentgenAttributeMarshal in class PassThroughComponentmb - method builder
JiBXException - if error in configuration
public void genContentUnmarshal(ContextMethodBuilder mb)
throws JiBXException
IComponent
genContentUnmarshal in interface IComponentgenContentUnmarshal in class PassThroughComponentmb - method builder
JiBXException - if error in configuration
public void genContentMarshal(ContextMethodBuilder mb)
throws JiBXException
IComponent
genContentMarshal in interface IComponentgenContentMarshal in class PassThroughComponentmb - method builder
JiBXException - if error in configuration
public void genNewInstance(ContextMethodBuilder mb)
throws JiBXException
IComponent
genNewInstance in interface IComponentgenNewInstance in class PassThroughComponentmb - method builder
JiBXException - if error in configurationpublic void print(int depth)
print in interface IComponentprint in class PassThroughComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||