| Constructor and Description |
|---|
BeanIOConfig()
Constructs a new BeanIOConfig.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStream(StreamConfig stream)
Adds a stream mapping configuration to this configuration.
|
void |
addTypeHandler(TypeHandlerConfig handler)
Adds a custom type handler to this configuration.
|
BeanIOConfig |
clone() |
String |
getSource()
Returns the source of this configuration.
|
List<StreamConfig> |
getStreamList()
Returns the list of stream mappings for this configuration.
|
List<TypeHandlerConfig> |
getTypeHandlerList()
Returns the list of custom type handlers for this configuration.
|
void |
setSource(String source)
Sets the source of this configuration, which if present, may
be included in error messages.
|
void |
setTypeHandlerList(List<TypeHandlerConfig> list)
Sets the list of globally declared custom type handlers for
this configuration.
|
public String getSource()
public void setSource(String source)
source - the configuration sourcepublic void addStream(StreamConfig stream)
stream - the stream mapping configurationpublic List<StreamConfig> getStreamList()
public void addTypeHandler(TypeHandlerConfig handler)
handler - the type handler configurationpublic List<TypeHandlerConfig> getTypeHandlerList()
public void setTypeHandlerList(List<TypeHandlerConfig> list)
list - the list of custom type handlerspublic BeanIOConfig clone()