Package org.apache.juneau.svl
Class VarResolver.Builder
- Enclosing class:
- VarResolver
Builder class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedBuilder()Constructor.protectedBuilder(VarResolver copyFrom) Copy constructor.
- 
Method SummaryModifier and TypeMethodDescriptionAdds a bean to the bean store in this session.protected VarResolverCreates the bean when the bean type isnull or is the default value.Adds the default variables to this builder.Overrides the bean returned by theBeanBuilder.build()method.Overrides the bean type produced by theBeanBuilder.build()method.final VarResolver.BuilderRegister new variables with this resolver.Register new variables with this resolver.Register new variables with this resolver.
- 
Constructor Details- 
Builderprotected Builder()Constructor.
- 
BuilderCopy constructor.- Parameters:
- copyFrom- The bean to copy from.
 
 
- 
- 
Method Details- 
buildDefaultDescription copied from class:BeanBuilderCreates the bean when the bean type isnull or is the default value.- Overrides:
- buildDefaultin class- BeanBuilder<VarResolver>
- Returns:
- A new bean.
 
- 
varsRegister new variables with this resolver.- Parameters:
- values- The variable resolver classes. These classes must subclass from- Varand have no-arg constructors.
- Returns:
- This object .
 
- 
varsRegister new variables with this resolver.- Parameters:
- values- The variable resolver classes. These classes must subclass from- Varand have no-arg constructors.
- Returns:
- This object .
 
- 
varsRegister new variables with this resolver.- Parameters:
- values- The variable resolver classes. These classes must subclass from- Varand have no-arg constructors.
- Returns:
- This object .
 
- 
defaultVarsAdds the default variables to this builder.The default variables are: - Returns:
- This object .
 
- 
beanAdds a bean to the bean store in this session.- Type Parameters:
- T- The bean type.
- Parameters:
- c- The bean type.
- value- The bean.
- Returns:
- This object .
 
- 
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<VarResolver>
- 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<VarResolver>
- Parameters:
- value- The setting value.
- Returns:
- This object.
 
 
-