Class EncoderSet.Builder
- Enclosing class:
- EncoderSet
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructor.protectedBuilder(EncoderSet.Builder copyFrom) Copy constructor.
- 
Method SummaryModifier and TypeMethodDescriptionRegisters the specified encoders with this group.Registers the specified encoders with this group.protected EncoderSetCreates the bean when the bean type isnull or is the default value.clear()Clears out any existing encoders in this group.copy()Makes a copy of this builder.Overrides the bean returned by theBeanBuilder.build()method.inner()Returns direct access to theEncoderobjects and classes in this builder.booleanisEmpty()Returnstrue if this builder is empty.Sets the encoders in this group.toString()Overrides the bean type produced by theBeanBuilder.build()method.
- 
Constructor Details- 
BuilderConstructor.- Parameters:
- beanStore- The bean store to use for creating beans.
 
- 
BuilderCopy constructor.- Parameters:
- copyFrom- The builder being copied.
 
 
- 
- 
Method Details- 
buildDefaultDescription copied from class:BeanBuilderCreates the bean when the bean type isnull or is the default value.- Overrides:
- buildDefaultin class- BeanBuilder<EncoderSet>
- Returns:
- A new bean.
 
- 
copyMakes a copy of this builder.- Returns:
- A new copy of this builder.
 
- 
addRegisters the specified encoders with this group.Entries are added in-order to the beginning of the list. - Parameters:
- values- The encoders to add to this group.
- Returns:
- This object.
- Throws:
- IllegalArgumentException- if any class does not extend from- Encoder.
 
- 
setSets the encoders in this group.All encoders in this group are replaced with the specified values. If EncoderSet.Inheritis specified (or any other class whose simple name is"Inherit" , the existing values are preserved and inserted into the position in the values array.- Parameters:
- values- The encoders to add to this group.
- Returns:
- This object.
- Throws:
- IllegalArgumentException- if any class does not extend from- Encoder.
 
- 
addRegisters the specified encoders with this group.Entries are added to the beginning of the list. - Parameters:
- values- The encoders to add to this group.
- Returns:
- This object.
 
- 
clearClears out any existing encoders in this group.- Returns:
- This object.
 
- 
isEmptyReturnstrue if this builder is empty.- Returns:
- true if this builder is empty.
 
- 
innerReturns direct access to theEncoderobjects and classes in this builder.Provided to allow for any extraneous modifications to the list not accomplishable via other methods on this builder such as re-ordering/adding/removing entries. Note that it is up to the user to ensure that the list only contains Encoderobjects and classes.- Returns:
- The inner list of entries in this builder.
 
- 
implDescription copied from class:BeanBuilderOverrides the bean returned by theBeanBuilder.build()method.Use this method if you want this builder to return an already-instantiated bean. - Overrides:
- implin class- BeanBuilder<EncoderSet>
- Parameters:
- value- The setting value.
- Returns:
- This object.
 
- 
typeDescription copied from class:BeanBuilderOverrides the bean type produced by theBeanBuilder.build()method.Use this method if you want to instantiated a bean subclass. - Overrides:
- typein class- BeanBuilder<EncoderSet>
- Parameters:
- value- The setting value.
- Returns:
- This object.
 
- 
toString
 
-