public class ParserGroupBuilder extends BeanContextBuilder
ParserGroup
.psb
Constructor and Description |
---|
ParserGroupBuilder()
Create an empty parser group builder.
|
ParserGroupBuilder(ParserGroup copyFrom)
Clone an existing parser group builder.
|
Modifier and Type | Method and Description |
---|---|
ParserGroupBuilder |
add(Map<String,Object> properties)
Adds multiple configuration properties on this object.
|
ParserGroupBuilder |
addTo(String name,
Object value)
Adds a value to a SET or LIST property.
|
ParserGroupBuilder |
addTo(String name,
String key,
Object value)
Adds or overwrites a value to a SET, LIST, or MAP property.
|
ParserGroupBuilder |
append(Class<?>... p)
Registers the specified parsers with this group.
|
ParserGroupBuilder |
append(List<Object> p)
Registers the specified parsers with this group.
|
ParserGroupBuilder |
append(Object... p)
Registers the specified parsers with this group.
|
ParserGroupBuilder |
append(Parser... p)
Registers the specified parsers with this group.
|
ParserGroupBuilder |
apply(PropertyStore copyFrom)
Copies the settings from the specified property store into this builder.
|
ParserGroupBuilder |
autoCloseStreams()
Configuration property: Auto-close streams.
|
ParserGroupBuilder |
autoCloseStreams(boolean value)
Configuration property: Auto-close streams.
|
ParserGroupBuilder |
beanClassVisibility(Visibility value)
Configuration property: Minimum bean class visibility.
|
ParserGroupBuilder |
beanConstructorVisibility(Visibility value)
Configuration property: Minimum bean constructor visibility.
|
ParserGroupBuilder |
beanDictionary(boolean append,
Object... values)
Configuration property: Bean dictionary.
|
ParserGroupBuilder |
beanDictionary(Class<?>... values)
Configuration property: Bean dictionary.
|
ParserGroupBuilder |
beanDictionary(Object... values)
Configuration property: Bean dictionary.
|
ParserGroupBuilder |
beanDictionaryRemove(Object... values)
Configuration property: Bean dictionary.
|
ParserGroupBuilder |
beanFieldVisibility(Visibility value)
Configuration property: Minimum bean field visibility.
|
ParserGroupBuilder |
beanFilters(boolean append,
Object... values)
Configuration property: Bean filters.
|
ParserGroupBuilder |
beanFilters(Class<?>... values)
Configuration property: Bean filters.
|
ParserGroupBuilder |
beanFilters(Object... values)
Configuration property: Bean filters.
|
ParserGroupBuilder |
beanFiltersRemove(Object... values)
Configuration property: Bean filters.
|
ParserGroupBuilder |
beanMapPutReturnsOldValue()
Configuration property: BeanMap.put() returns old property value.
|
ParserGroupBuilder |
beanMapPutReturnsOldValue(boolean value)
Configuration property: BeanMap.put() returns old property value.
|
ParserGroupBuilder |
beanMethodVisibility(Visibility value)
Configuration property: Minimum bean method visibility.
|
ParserGroupBuilder |
beansRequireDefaultConstructor()
Configuration property: Beans require no-arg constructors.
|
ParserGroupBuilder |
beansRequireDefaultConstructor(boolean value)
Configuration property: Beans require no-arg constructors.
|
ParserGroupBuilder |
beansRequireSerializable()
Configuration property: Beans require Serializable interface.
|
ParserGroupBuilder |
beansRequireSerializable(boolean value)
Configuration property: Beans require Serializable interface.
|
ParserGroupBuilder |
beansRequireSettersForGetters()
Configuration property: Beans require setters for getters.
|
ParserGroupBuilder |
beansRequireSettersForGetters(boolean value)
Configuration property: Beans require setters for getters.
|
ParserGroupBuilder |
beansRequireSomeProperties(boolean value)
Configuration property: Beans require at least one property.
|
ParserGroupBuilder |
beanTypePropertyName(String value)
Configuration property: Bean type property name.
|
ParserGroup |
build()
Creates a new
ParserGroup object using a snapshot of the settings defined in this builder. |
ParserGroupBuilder |
debug()
Configuration property: Debug mode.
|
ParserGroupBuilder |
fileCharset(String value)
Configuration property: File charset.
|
ParserGroupBuilder |
ignoreInvocationExceptionsOnGetters()
Configuration property: Ignore invocation errors on getters.
|
ParserGroupBuilder |
ignoreInvocationExceptionsOnGetters(boolean value)
Configuration property: Ignore invocation errors on getters.
|
ParserGroupBuilder |
ignoreInvocationExceptionsOnSetters()
Configuration property: Ignore invocation errors on setters.
|
ParserGroupBuilder |
ignoreInvocationExceptionsOnSetters(boolean value)
Configuration property: Ignore invocation errors on setters.
|
ParserGroupBuilder |
ignorePropertiesWithoutSetters(boolean value)
Configuration property: Ignore properties without setters.
|
ParserGroupBuilder |
ignoreUnknownBeanProperties()
Configuration property: Ignore unknown properties.
|
ParserGroupBuilder |
ignoreUnknownBeanProperties(boolean value)
Configuration property: Ignore unknown properties.
|
ParserGroupBuilder |
ignoreUnknownNullBeanProperties(boolean value)
Configuration property: Ignore unknown properties with null values.
|
<T> ParserGroupBuilder |
implClass(Class<T> interfaceClass,
Class<? extends T> implClass)
Configuration property: Implementation classes.
|
ParserGroupBuilder |
implClasses(Map<String,Class<?>> values)
Configuration property: Implementation classes.
|
ParserGroupBuilder |
inputStreamCharset(String value)
Configuration property: Input stream charset.
|
ParserGroupBuilder |
listener(Class<? extends ParserListener> value)
Configuration property: Parser listener.
|
ParserGroupBuilder |
locale(Locale value)
Configuration property: Locale.
|
ParserGroupBuilder |
mediaType(MediaType value)
Configuration property: Media type.
|
ParserGroupBuilder |
notBeanClasses(boolean append,
Object... values)
Configuration property: Bean class exclusions.
|
ParserGroupBuilder |
notBeanClasses(Class<?>... values)
Configuration property: Bean class exclusions.
|
ParserGroupBuilder |
notBeanClasses(Object... values)
Configuration property: Bean class exclusions.
|
ParserGroupBuilder |
notBeanClassesRemove(Object... values)
Configuration property: Bean class exclusions.
|
ParserGroupBuilder |
notBeanPackages(boolean append,
Object... values)
Configuration property: Bean package exclusions.
|
ParserGroupBuilder |
notBeanPackages(Object... values)
Configuration property: Bean package exclusions.
|
ParserGroupBuilder |
notBeanPackages(String... values)
Configuration property: Bean package exclusions.
|
ParserGroupBuilder |
notBeanPackagesRemove(Object... values)
Configuration property: Bean package exclusions.
|
ParserGroupBuilder |
pojoSwaps(boolean append,
Object... values)
Configuration property: POJO swaps.
|
ParserGroupBuilder |
pojoSwaps(Class<?>... values)
Configuration property: POJO swaps.
|
ParserGroupBuilder |
pojoSwaps(Object... values)
Configuration property: POJO swaps.
|
ParserGroupBuilder |
pojoSwapsRemove(Object... values)
Configuration property: POJO swaps.
|
ParserGroupBuilder |
removeFrom(String name,
Object value)
Removes a value from a SET, LIST, or MAP property.
|
ParserGroupBuilder |
set(boolean append,
String name,
Object value)
Sets or adds to a SET or LIST property.
|
ParserGroupBuilder |
set(Map<String,Object> properties)
Sets multiple configuration properties on this object.
|
ParserGroupBuilder |
set(String name,
Object value)
Sets a configuration property on this object.
|
ParserGroupBuilder |
sortProperties()
Configuration property: Sort bean properties.
|
ParserGroupBuilder |
sortProperties(boolean value)
Configuration property: Sort bean properties.
|
ParserGroupBuilder |
strict()
Configuration property: Strict mode.
|
ParserGroupBuilder |
strict(boolean value)
Configuration property: Strict mode.
|
ParserGroupBuilder |
timeZone(TimeZone value)
Configuration property: TimeZone.
|
ParserGroupBuilder |
trimStrings()
Configuration property: Trim parsed strings.
|
ParserGroupBuilder |
trimStrings(boolean value)
Configuration property: Trim parsed strings.
|
ParserGroupBuilder |
unbuffered()
Configuration property: Unbuffered.
|
ParserGroupBuilder |
unbuffered(boolean value)
Configuration property: Unbuffered.
|
ParserGroupBuilder |
useInterfaceProxies(boolean value)
Configuration property: Use interface proxies.
|
ParserGroupBuilder |
useJavaBeanIntrospector()
Configuration property: Use Java Introspector.
|
ParserGroupBuilder |
useJavaBeanIntrospector(boolean value)
Configuration property: Use Java Introspector.
|
debug, excludeProperties, excludeProperties, excludeProperties, includeProperties, includeProperties, includeProperties, propertyNamer
build, getPropertyStore, getPropertyStoreBuilder
public ParserGroupBuilder()
public ParserGroupBuilder(ParserGroup copyFrom)
copyFrom
- The parser group that we're copying settings and parsers from.public ParserGroupBuilder append(Class<?>... p)
p
- The parsers to append to this group.public ParserGroupBuilder append(Parser... p)
When passing in pre-instantiated parsers to this group, applying properties and transforms to the group do not affect them.
p
- The parsers to append to this group.public ParserGroupBuilder append(List<Object> p)
Objects can either be instances of parsers or parser classes.
p
- The parsers to append to this group.public ParserGroupBuilder append(Object... p)
Objects can either be instances of parsers or parser classes.
p
- The parsers to append to this group.public ParserGroup build()
ParserGroup
object using a snapshot of the settings defined in this builder.
This method can be called multiple times to produce multiple parser groups.
build
in class BeanContextBuilder
ParserGroup
object.public ParserGroupBuilder autoCloseStreams(boolean value)
If
value
- The new value for this property.
public ParserGroupBuilder autoCloseStreams()
Shortcut for calling autoCloseStreams(
.
public ParserGroupBuilder fileCharset(String value)
The character set to use for reading Files
from the file system.
value
- The new value for this property.
public ParserGroupBuilder inputStreamCharset(String value)
The character set to use for converting InputStreams
and byte arrays to readers.
value
- The new value for this property.
public ParserGroupBuilder listener(Class<? extends ParserListener> value)
Class used to listen for errors and warnings that occur during parsing.
value
- The new value for this property.public ParserGroupBuilder strict(boolean value)
If
value
- The new value for this property.
public ParserGroupBuilder strict()
Shortcut for calling strict(
.
public ParserGroupBuilder trimStrings(boolean value)
If String.trim()
before being added to
the POJO.
value
- The new value for this property.
public ParserGroupBuilder trimStrings()
Shortcut for calling trimStrings(
.
public ParserGroupBuilder unbuffered(boolean value)
If
value
- The new value for this property.
public ParserGroupBuilder unbuffered()
Shortcut for calling unbuffered(
.
public ParserGroupBuilder beansRequireDefaultConstructor(boolean value)
BeanContextBuilder
If
Otherwise, the bean will be serialized as a string using the Object.toString()
method.
beansRequireDefaultConstructor
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder beansRequireDefaultConstructor()
BeanContextBuilder
Shortcut for calling beansRequireDefaultConstructor(
.
beansRequireDefaultConstructor
in class BeanContextBuilder
public ParserGroupBuilder beansRequireSerializable(boolean value)
BeanContextBuilder
If Serializable
interface to be considered a bean.
Otherwise, the bean will be serialized as a string using the Object.toString()
method.
beansRequireSerializable
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder beansRequireSerializable()
BeanContextBuilder
Shortcut for calling beansRequireSerializable(
.
beansRequireSerializable
in class BeanContextBuilder
public ParserGroupBuilder beansRequireSettersForGetters(boolean value)
BeanContextBuilder
If
Otherwise, they will be ignored.
beansRequireSettersForGetters
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder beansRequireSettersForGetters()
BeanContextBuilder
Shortcut for calling beansRequireSettersForGetters(
.
beansRequireSettersForGetters
in class BeanContextBuilder
public ParserGroupBuilder beansRequireSomeProperties(boolean value)
BeanContextBuilder
If
Otherwise, the bean will be serialized as a string using the Object.toString()
method.
beansRequireSomeProperties
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder beanMapPutReturnsOldValue(boolean value)
BeanContextBuilder
If BeanMap.put()
method will return old property
values.
Otherwise, it returns
beanMapPutReturnsOldValue
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder beanMapPutReturnsOldValue()
BeanContextBuilder
Shortcut for calling beanMapPutReturnsOldValue(
.
beanMapPutReturnsOldValue
in class BeanContextBuilder
public ParserGroupBuilder beanConstructorVisibility(Visibility value)
BeanContextBuilder
Only look for constructors with the specified minimum visibility.
beanConstructorVisibility
in class BeanContextBuilder
value
- The new value for this property.
Visibility.PUBLIC
.public ParserGroupBuilder beanClassVisibility(Visibility value)
BeanContextBuilder
Classes are not considered beans unless they meet the minimum visibility requirements.
For example, if the visibility is PUBLIC
and the bean class is
beanClassVisibility
in class BeanContextBuilder
value
- The new value for this property.
Visibility.PUBLIC
.public ParserGroupBuilder beanFieldVisibility(Visibility value)
BeanContextBuilder
Only look for bean fields with the specified minimum visibility.
beanFieldVisibility
in class BeanContextBuilder
value
- The new value for this property.
Visibility.PUBLIC
.public ParserGroupBuilder beanMethodVisibility(Visibility value)
BeanContextBuilder
Only look for bean methods with the specified minimum visibility.
beanMethodVisibility
in class BeanContextBuilder
value
- The new value for this property.
Visibility.PUBLIC
public ParserGroupBuilder useJavaBeanIntrospector(boolean value)
BeanContextBuilder
Using the built-in Java bean introspector will not pick up fields or non-standard getters/setters.
@Bean
annotations will be ignored if you enable this setting.
useJavaBeanIntrospector
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder useJavaBeanIntrospector()
BeanContextBuilder
Shortcut for calling useJavaBeanIntrospector(
.
useJavaBeanIntrospector
in class BeanContextBuilder
public ParserGroupBuilder useInterfaceProxies(boolean value)
BeanContextBuilder
If InvocationHandler
if there is no other way of instantiating them.
useInterfaceProxies
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder ignoreUnknownBeanProperties(boolean value)
BeanContextBuilder
If
Otherwise, a BeanRuntimeException
is thrown.
ignoreUnknownBeanProperties
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder ignoreUnknownBeanProperties()
BeanContextBuilder
Shortcut for calling ignoreUnknownBeanProperties(
.
ignoreUnknownBeanProperties
in class BeanContextBuilder
public ParserGroupBuilder ignoreUnknownNullBeanProperties(boolean value)
BeanContextBuilder
If
Otherwise, a BeanRuntimeException
is thrown.
ignoreUnknownNullBeanProperties
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder ignorePropertiesWithoutSetters(boolean value)
BeanContextBuilder
If
Otherwise, a BeanRuntimeException
is thrown.
ignorePropertiesWithoutSetters
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder ignoreInvocationExceptionsOnGetters(boolean value)
BeanContextBuilder
If BeanRuntimeException
is thrown.
ignoreInvocationExceptionsOnGetters
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder ignoreInvocationExceptionsOnGetters()
BeanContextBuilder
Shortcut for calling ignoreInvocationExceptionsOnGetters(
.
ignoreInvocationExceptionsOnGetters
in class BeanContextBuilder
public ParserGroupBuilder ignoreInvocationExceptionsOnSetters(boolean value)
BeanContextBuilder
If
Otherwise, a BeanRuntimeException
is thrown.
ignoreInvocationExceptionsOnSetters
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder ignoreInvocationExceptionsOnSetters()
BeanContextBuilder
Shortcut for calling ignoreInvocationExceptionsOnSetters(
.
ignoreInvocationExceptionsOnSetters
in class BeanContextBuilder
public ParserGroupBuilder sortProperties(boolean value)
BeanContextBuilder
When
sortProperties
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder sortProperties()
BeanContextBuilder
Shortcut for calling sortProperties(
.
sortProperties
in class BeanContextBuilder
public ParserGroupBuilder notBeanPackages(Object... values)
BeanContextBuilder
notBeanPackages
in class BeanContextBuilder
values
- The values to add to this property.
public ParserGroupBuilder notBeanPackages(String... values)
BeanContextBuilder
notBeanPackages
in class BeanContextBuilder
values
- The values to add to this property.public ParserGroupBuilder notBeanPackages(boolean append, Object... values)
BeanContextBuilder
When specified, the current list of ignore packages are appended to.
notBeanPackages
in class BeanContextBuilder
append
- If values
- The new values for this property.
public ParserGroupBuilder notBeanPackagesRemove(Object... values)
BeanContextBuilder
notBeanPackagesRemove
in class BeanContextBuilder
values
- public ParserGroupBuilder notBeanClasses(Object... values)
BeanContextBuilder
List of classes that should not be treated as beans even if they appear to be bean-like.
Not-bean classes are converted to Strings
during serialization.
notBeanClasses
in class BeanContextBuilder
values
- The values to add to this property.
public ParserGroupBuilder notBeanClasses(Class<?>... values)
BeanContextBuilder
List of classes that should not be treated as beans even if they appear to be bean-like.
Not-bean classes are converted to Strings
during serialization.
notBeanClasses
in class BeanContextBuilder
values
- The values to add to this property.public ParserGroupBuilder notBeanClasses(boolean append, Object... values)
BeanContextBuilder
Not-bean classes are converted to Strings
during serialization even if they appear to be
bean-like.
notBeanClasses
in class BeanContextBuilder
append
- If values
- The new value for this property.
public ParserGroupBuilder notBeanClassesRemove(Object... values)
BeanContextBuilder
notBeanClassesRemove
in class BeanContextBuilder
values
- The values to remove from this property.
public ParserGroupBuilder beanFilters(Object... values)
BeanContextBuilder
This is a programmatic equivalent to the @Bean
annotation.
It's useful when you want to use the Bean annotation functionality, but you don't have the ability to alter
the bean classes.
beanFilters
in class BeanContextBuilder
values
- The values to add to this property.
@Bean.typeName()
.
BeanDictionaryList
containing a collection of bean classes with type name annotations.
BeanDictionaryMap
containing a mapping of type names to classes without type name annotations.
public ParserGroupBuilder beanFilters(Class<?>... values)
BeanContextBuilder
Same as BeanContextBuilder.beanFilters(Object...)
but takes in an array of classes.
beanFilters
in class BeanContextBuilder
values
- The values to add to this property.public ParserGroupBuilder beanFilters(boolean append, Object... values)
BeanContextBuilder
Same as BeanContextBuilder.beanFilters(Object...)
but allows you to optionally overwrite the previous value.
beanFilters
in class BeanContextBuilder
append
- If values
- The new values for this property.
@Bean.typeName()
.
BeanDictionaryList
containing a collection of bean classes with type name annotations.
BeanDictionaryMap
containing a mapping of type names to classes without type name annotations.
public ParserGroupBuilder beanFiltersRemove(Object... values)
BeanContextBuilder
Removes from the list of classes that make up the bean filters in this bean context.
beanFiltersRemove
in class BeanContextBuilder
values
- The values to remove from this property.
@Bean.typeName()
.
BeanDictionaryList
containing a collection of bean classes with type name annotations.
BeanDictionaryMap
containing a mapping of type names to classes without type name annotations.
public ParserGroupBuilder pojoSwaps(Object... values)
BeanContextBuilder
pojoSwaps
in class BeanContextBuilder
values
- The values to add to this property.
PojoSwap
.
SurrogateSwap
.
public ParserGroupBuilder pojoSwaps(Class<?>... values)
BeanContextBuilder
pojoSwaps
in class BeanContextBuilder
values
- The values to add to this property.public ParserGroupBuilder pojoSwaps(boolean append, Object... values)
BeanContextBuilder
POJO swaps are used to "swap out" non-serializable classes with serializable equivalents during serialization, and "swap in" the non-serializable class during parsing.
An example of a POJO swap would be a Calendar
object that gets swapped out for an ISO8601 string.
pojoSwaps
in class BeanContextBuilder
append
- If values
- The new value for this property.
public ParserGroupBuilder pojoSwapsRemove(Object... values)
BeanContextBuilder
pojoSwapsRemove
in class BeanContextBuilder
values
- The values to remove from this property.
PojoSwap
.
SurrogateSwap
.
public ParserGroupBuilder implClasses(Map<String,Class<?>> values)
BeanContextBuilder
For interfaces and abstract classes this method can be used to specify an implementation class for the interface/abstract class so that instances of the implementation class are used when instantiated (e.g. during a parse).
implClasses
in class BeanContextBuilder
values
- The new value for this property.public <T> ParserGroupBuilder implClass(Class<T> interfaceClass, Class<? extends T> implClass)
BeanContextBuilder
implClass
in class BeanContextBuilder
T
- The class type of the interface.interfaceClass
- The interface class.implClass
- The implementation class.public ParserGroupBuilder beanDictionary(Object... values)
BeanContextBuilder
Adds to the list of classes that make up the bean dictionary in this bean context.
beanDictionary
in class BeanContextBuilder
values
- The values to add to this property.public ParserGroupBuilder beanDictionary(Class<?>... values)
BeanContextBuilder
Same as BeanContextBuilder.beanDictionary(Object...)
but takes in an array of classes.
beanDictionary
in class BeanContextBuilder
values
- The values to add to this property.public ParserGroupBuilder beanDictionary(boolean append, Object... values)
BeanContextBuilder
Same as BeanContextBuilder.beanDictionary(Object...)
but allows you to optionally overwrite the previous value.
beanDictionary
in class BeanContextBuilder
append
- If values
- The new values for this property.public ParserGroupBuilder beanDictionaryRemove(Object... values)
BeanContextBuilder
Removes from the list of classes that make up the bean dictionary in this bean context.
beanDictionaryRemove
in class BeanContextBuilder
values
- The values to remove from this property.public ParserGroupBuilder beanTypePropertyName(String value)
BeanContextBuilder
This specifies the name of the bean property used to store the dictionary name of a bean type so that the parser knows the data type to reconstruct.
beanTypePropertyName
in class BeanContextBuilder
value
- The new value for this property.
public ParserGroupBuilder locale(Locale value)
BeanContextBuilder
Specifies a default locale for serializer and parser sessions.
locale
in class BeanContextBuilder
value
- The new value for this property.public ParserGroupBuilder timeZone(TimeZone value)
BeanContextBuilder
timeZone
in class BeanContextBuilder
value
- The new value for this property.public ParserGroupBuilder mediaType(MediaType value)
BeanContextBuilder
Specifies a default media type value for serializer and parser sessions.
mediaType
in class BeanContextBuilder
value
- The new value for this property.public ParserGroupBuilder debug()
BeanContextBuilder
Shortcut for calling debug(
.
debug
in class BeanContextBuilder
public ParserGroupBuilder set(String name, Object value)
ContextBuilder
set
in class BeanContextBuilder
name
- The property name.value
- The property value.PropertyStoreBuilder.set(String, Object)
public ParserGroupBuilder set(boolean append, String name, Object value)
ContextBuilder
set
in class BeanContextBuilder
append
- If name
- The property name.value
- The property value.PropertyStoreBuilder.set(String, Object)
public ParserGroupBuilder set(Map<String,Object> properties)
ContextBuilder
set
in class BeanContextBuilder
properties
- The properties to set on this class.PropertyStoreBuilder.set(java.util.Map)
public ParserGroupBuilder add(Map<String,Object> properties)
ContextBuilder
add
in class BeanContextBuilder
properties
- The properties to set on this class.PropertyStoreBuilder.add(java.util.Map)
public ParserGroupBuilder addTo(String name, Object value)
ContextBuilder
addTo
in class BeanContextBuilder
name
- The property name.value
- The new value to add to the SET property.public ParserGroupBuilder addTo(String name, String key, Object value)
ContextBuilder
addTo
in class BeanContextBuilder
name
- The property name.key
- The property value map key.value
- The property value map value.public ParserGroupBuilder removeFrom(String name, Object value)
ContextBuilder
removeFrom
in class BeanContextBuilder
name
- The property name.value
- The property value in the SET property.public ParserGroupBuilder apply(PropertyStore copyFrom)
ContextBuilder
apply
in class BeanContextBuilder
copyFrom
- The factory whose settings are being copied.Copyright © 2018 Apache. All rights reserved.