Package org.beanio.builder
Class GroupBuilderSupport<T extends GroupBuilderSupport<T>>
- java.lang.Object
-
- org.beanio.builder.PropertyBuilderSupport<T>
-
- org.beanio.builder.GroupBuilderSupport<T>
-
- Type Parameters:
T
- the GroupBuilder subclass
- Direct Known Subclasses:
GroupBuilder
,StreamBuilder
public abstract class GroupBuilderSupport<T extends GroupBuilderSupport<T>> extends PropertyBuilderSupport<T>
Support for group configuration builders.- Since:
- 2.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
addGroup(java.lang.Class<?> group)
T
addGroup(GroupBuilder group)
T
addRecord(java.lang.Class<?> record)
T
addRecord(RecordBuilder record)
protected abstract GroupConfig
getConfig()
Returns the configuration settings.-
Methods inherited from class org.beanio.builder.PropertyBuilderSupport
collection, getter, lazy, maxOccurs, me, minOccurs, occurs, occurs, setter, type, xmlName, xmlNamespace, xmlPrefix, xmlType
-
-
-
-
Method Detail
-
getConfig
protected abstract GroupConfig getConfig()
Description copied from class:PropertyBuilderSupport
Returns the configuration settings.- Specified by:
getConfig
in classPropertyBuilderSupport<T extends GroupBuilderSupport<T>>
- Returns:
- the configuration
-
addGroup
public T addGroup(GroupBuilder group) throws BeanIOConfigurationException
- Throws:
BeanIOConfigurationException
-
addGroup
public T addGroup(java.lang.Class<?> group) throws BeanIOConfigurationException
- Throws:
BeanIOConfigurationException
-
addRecord
public T addRecord(RecordBuilder record)
-
addRecord
public T addRecord(java.lang.Class<?> record) throws BeanIOConfigurationException
- Throws:
BeanIOConfigurationException
-
-