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 GroupConfig
config
-
Constructor Summary
Constructors Constructor Description GroupBuilder(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupConfig
build()
Builds the group configuration.protected GroupConfig
getConfig()
Returns the configuration settings.protected GroupBuilder
me()
Returns this.GroupBuilder
order(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:PropertyBuilderSupport
Returns this.- Specified by:
me
in classPropertyBuilderSupport<GroupBuilder>
- Returns:
- this
-
getConfig
protected GroupConfig getConfig()
Description copied from class:PropertyBuilderSupport
Returns the configuration settings.- Specified by:
getConfig
in 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
-
-