java.lang.Object | |
↳ | org.apache.commons.betwixt.BindingConfiguration |
Stores mapping phase binding configuration.
There are two phase in Betwixt's processing. The first phase is the introspection of the bean. Strutural configuration settings effect this phase. The second phase comes when Betwixt dynamically uses reflection to execute the mapping. This object stores configuration settings pertaining to the second phase.
These common settings have been collected into one class
to make round tripping easier since the same BindingConfiguration
can be shared.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a BindingConfiguration with default properties.
| |||||||||||
Constructs a BindingConfiguration
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The name of the attribute which can be specified in the XML to override the
type of a bean used at a certain point in the schema.
| |||||||||||
Gets the strategy used to manage storage and retrieval of id's.
| |||||||||||
Should
ID 's and IDREF attributes
be used to cross-reference matching objects? | |||||||||||
Gets the Object <-> String converter.
| |||||||||||
Gets the
ValueSuppressionStrategy . | |||||||||||
Sets the name of the attribute which can be specified in
the XML to override the type of a bean used at a certain
point in the schema.
| |||||||||||
Sets the strategy used to manage storage and retrieval of id's.
| |||||||||||
Should
ID 's and IDREF attributes
be used to cross-reference matching objects? | |||||||||||
Sets the Object <-> String converter.
| |||||||||||
Sets the
ValueSuppressionStrategy . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs a BindingConfiguration with default properties.
Constructs a BindingConfiguration
objectStringConverter | the ObjectStringConverter
to be used to convert Objects <-> Strings |
---|---|
mapIDs | should ID 's and IDREF be used to cross-reference
|
The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
The default value is 'className'.
Gets the strategy used to manage storage and retrieval of id's.
IdStoringStrategy
, not null
Should ID
's and IDREF
attributes
be used to cross-reference matching objects?
ID
and IDREF
attributes should be used to cross-reference instances
Gets the Object <-> String converter.
Gets the ValueSuppressionStrategy
.
This is used to control the expression of attributes with certain values.
ValueSuppressionStrategy
, not null
Sets the name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
The default value is 'className'.
classNameAttribute | The name of the attribute used to overload the class name of a bean |
---|
Sets the strategy used to manage storage and retrieval of id's.
idMappingStrategy | IdStoringStrategy to be set, not null
|
---|
Should ID
's and IDREF
attributes
be used to cross-reference matching objects?
mapIDs | pass true if ID 's should be used to cross-reference
|
---|
Sets the Object <-> String converter.
objectStringConverter | the ObjectStringConverter to be used, not null |
---|
Sets the ValueSuppressionStrategy
.
This is used to control the expression of attributes with certain values.
valueSuppressionStrategy | ValueSuppressionStrategy , not null
|
---|