public class SegmentBuilder extends SegmentBuilderSupport<SegmentBuilder>
Modifier and Type | Field and Description |
---|---|
protected SegmentConfig |
config |
Constructor and Description |
---|
SegmentBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
SegmentConfig |
build()
Builds the segment configuration.
|
protected SegmentConfig |
getConfig()
Returns the configuration settings.
|
protected SegmentBuilder |
me()
Returns this.
|
SegmentBuilder |
nillable()
Indicates the XML element is nillable.
|
SegmentBuilder |
occursRef(String ref)
Indicates the number of occurrences of this segment is governed by another field.
|
addField, addSegment, key, value
collection, getter, lazy, maxOccurs, minOccurs, occurs, occurs, setter, type, xmlName, xmlNamespace, xmlPrefix, xmlType
protected SegmentConfig config
public SegmentBuilder(String name)
protected SegmentConfig getConfig()
PropertyBuilderSupport
getConfig
in class SegmentBuilderSupport<SegmentBuilder>
protected SegmentBuilder me()
PropertyBuilderSupport
me
in class PropertyBuilderSupport<SegmentBuilder>
public SegmentBuilder occursRef(String ref)
ref
- the name of the field that governs the occurrences of this segmentpublic SegmentBuilder nillable()
public SegmentConfig build()