Package org.beanio.builder
Class GroupBuilder
- java.lang.Object
-
- org.beanio.builder.PropertyBuilderSupport<T>
-
- org.beanio.builder.GroupBuilderSupport<GroupBuilder>
-
- org.beanio.builder.GroupBuilder
-
public class GroupBuilder extends GroupBuilderSupport<GroupBuilder>
Builds a new group configuration.- Since:
- 2.1.0
-
-
Field Summary
Fields Modifier and Type Field Description protected GroupConfigconfig
-
Constructor Summary
Constructors Constructor Description GroupBuilder(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupConfigbuild()Builds the group configuration.protected GroupConfiggetConfig()Returns the configuration settings.protected GroupBuilderme()Returns this.GroupBuilderorder(int order)Sets the order of this group relative to other children of the same parent.-
Methods inherited from class org.beanio.builder.GroupBuilderSupport
addGroup, addGroup, addRecord, addRecord
-
Methods inherited from class org.beanio.builder.PropertyBuilderSupport
collection, getter, lazy, maxOccurs, minOccurs, occurs, occurs, setter, type, xmlName, xmlNamespace, xmlPrefix, xmlType
-
-
-
-
Field Detail
-
config
protected GroupConfig config
-
-
Method Detail
-
me
protected GroupBuilder me()
Description copied from class:PropertyBuilderSupportReturns this.- Specified by:
mein classPropertyBuilderSupport<GroupBuilder>- Returns:
- this
-
getConfig
protected GroupConfig getConfig()
Description copied from class:PropertyBuilderSupportReturns the configuration settings.- Specified by:
getConfigin classGroupBuilderSupport<GroupBuilder>- Returns:
- the configuration
-
order
public GroupBuilder order(int order)
Sets the order of this group relative to other children of the same parent.- Parameters:
order- the order- Returns:
- this
-
build
public GroupConfig build()
Builds the group configuration.- Returns:
- the group configuration
-
-