| |
|
| java.lang.Object org.jibx.binding.def.PassThroughComponent org.jibx.binding.def.ComponentProperty
ComponentProperty | public class ComponentProperty extends PassThroughComponent (Code) | | Property reference with binding defined by component. This handles loading
and storing the property value, calling the wrapped component methods for
everything else.
author: Dennis M. Sosnoski |
ComponentProperty | public ComponentProperty(PropertyDefinition prop, IComponent impl, boolean skip)(Code) | | Constructor.
Parameters: prop - actual property definition Parameters: impl - component that defines marshalling and unmarshalling Parameters: skip - flag for marshalling code tests to be skipped |
getProperty | public PropertyDefinition getProperty()(Code) | | Get the property information. This is a kludge used by the ElementWrapper
code to store a null value directly to the property when
unmarshalling a missing or xsi:nil element.
property information |
hasContent | public boolean hasContent()(Code) | | |
isOptional | public boolean isOptional()(Code) | | |
print | public void print(int depth)(Code) | | |
setForceUnmarshal | public void setForceUnmarshal(boolean force)(Code) | | Set flag to force unmarshalling to create an object.
Parameters: force - true if skipping, false if not |
setSkipping | public void setSkipping(boolean skip)(Code) | | Set flag for skipping marshalling presence test code generation.
Parameters: skip - true if skipping, false if not |
|
|
|