public abstract class BeanVisitorImplBase<T> extends BeanVisitor
BeanVisitor
for just setting
the properties in fluent way.blacklist, declared, ignoreEmptyString, ignoreNullValues, includeFields, isSourceMap, rules, source
WILDCARD_PATH_RULE_MATCHER, WILDCARD_RULE_MATCHER
Constructor and Description |
---|
BeanVisitorImplBase() |
Modifier and Type | Method and Description |
---|---|
protected T |
_this() |
T |
declared(boolean declared)
Defines if all properties should be copied (when set to
true )
or only public (when set to false , default). |
T |
exclude(java.lang.String... excludes)
Defines excluded property names.
|
T |
exclude(java.lang.String exclude)
Exclude a property.
|
T |
excludeAll()
Excludes all properties, i.e. enables blacklist mode.
|
T |
ignoreEmptyString(boolean ignoreEmptyString)
Defines if
empty string should be ignored. |
T |
ignoreNulls(boolean ignoreNulls)
Defines if
null values should be ignored. |
T |
include(java.lang.String... includes)
Defines included property names.
|
T |
include(java.lang.String include)
Include a property.
|
T |
includeAs(java.lang.Class template)
Defines included property names as public properties
of given template class.
|
T |
includeFields(boolean includeFields)
Defines if fields without getters should be copied too.
|
accept, getAllBeanPropertyNames, resolveProperties, visit, visitProperty
protected T _this()
public T excludeAll()
public T exclude(java.lang.String... excludes)
public T exclude(java.lang.String exclude)
public T include(java.lang.String... includes)
public T include(java.lang.String include)
public T includeAs(java.lang.Class template)
public T ignoreNulls(boolean ignoreNulls)
null
values should be ignored.public T ignoreEmptyString(boolean ignoreEmptyString)
empty string
should be ignored.public T declared(boolean declared)
true
)
or only public (when set to false
, default).public T includeFields(boolean includeFields)
Copyright © 2003-present Jodd Team