Package | Description |
---|---|
com.fasterxml.jackson.databind.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
Modifier and Type | Class and Description |
---|---|
static class |
DefaultAccessorNamingStrategy.FirstCharBasedValidator
Simple implementation of
DefaultAccessorNamingStrategy.BaseNameValidator that checks the
first character and nothing else. |
Modifier and Type | Field and Description |
---|---|
protected DefaultAccessorNamingStrategy.BaseNameValidator |
DefaultAccessorNamingStrategy._baseNameValidator
Optional validator for checking that base name
|
protected DefaultAccessorNamingStrategy.BaseNameValidator |
DefaultAccessorNamingStrategy.Provider._baseNameValidator |
Modifier and Type | Method and Description |
---|---|
static DefaultAccessorNamingStrategy.BaseNameValidator |
DefaultAccessorNamingStrategy.FirstCharBasedValidator.forFirstNameRule(boolean allowLowerCaseFirstChar,
boolean allowNonLetterFirstChar)
Factory method to use for getting an instance with specified first-character
restrictions, if any; or
null if no checking is needed. |
Modifier and Type | Method and Description |
---|---|
DefaultAccessorNamingStrategy.Provider |
DefaultAccessorNamingStrategy.Provider.withBaseNameValidator(DefaultAccessorNamingStrategy.BaseNameValidator vld)
Mutant factory for specifying validator that is used to further verify that
base name derived from accessor name is acceptable: this can be used to add
further restrictions such as limit that the first character of the base name
is an upper-case letter.
|
Constructor and Description |
---|
DefaultAccessorNamingStrategy(MapperConfig<?> config,
AnnotatedClass forClass,
String mutatorPrefix,
String getterPrefix,
String isGetterPrefix,
DefaultAccessorNamingStrategy.BaseNameValidator baseNameValidator) |
Provider(DefaultAccessorNamingStrategy.Provider p,
DefaultAccessorNamingStrategy.BaseNameValidator vld) |
Provider(String setterPrefix,
String withPrefix,
String getterPrefix,
String isGetterPrefix,
DefaultAccessorNamingStrategy.BaseNameValidator vld) |
Copyright © 2008–2021 FasterXML. All rights reserved.