BindingDefinition, NestedBasestatic class BindingBuilder.ContainerBase
extends java.lang.Object
-1 (for int values) and
null (for String values) if the default is to
simply use setting inherited from a containing component. The binding
definition root object must always define actual values as the defaults,
since otherwise the code will fall off the end of the chain of ancestors.| Modifier and Type | Field | Description |
|---|---|---|
protected int |
m_accessLevel |
Access level for default mappings.
|
protected int |
m_autoLink |
Auto-link style for default mappings.
|
protected IContainer |
m_container |
Containing binding component.
|
protected int |
m_nameStyle |
Style used for generating element or attribute names.
|
protected java.lang.String |
m_stripPrefix |
Prefix text to be stripped from names.
|
protected java.lang.String |
m_stripSuffix |
Suffix text to be stripped from names.
|
protected int |
m_styleDefault |
Default style for value expression.
|
| Constructor | Description |
|---|---|
ContainerBase(IContainer parent) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getStyleDefault() |
|
void |
unmarshal(UnmarshallingContext ctx) |
Unmarshal common container attributes.
|
protected IContainer m_container
protected int m_styleDefault
protected int m_autoLink
protected int m_accessLevel
protected java.lang.String m_stripPrefix
protected java.lang.String m_stripSuffix
protected int m_nameStyle
public ContainerBase(IContainer parent)
parent - containing binding definition contextpublic void unmarshal(UnmarshallingContext ctx) throws JiBXException
ctx - unmarshalling context informationJiBXException - if error in unmarshallingpublic int getStyleDefault()