public static class PropertyNameResolver.CompositePropertyNameResolver extends Object implements PropertyNameResolver
PropertyNameResolver.AnnotationPropertyNameResolver, PropertyNameResolver.CompositePropertyNameResolver, PropertyNameResolver.ConventionalBeanPropertyNameResolver
Constructor and Description |
---|
CompositePropertyNameResolver(List<PropertyNameResolver> components) |
Modifier and Type | Method and Description |
---|---|
PropertyNameResolver.CompositePropertyNameResolver |
add(PropertyNameResolver... resolvers) |
String |
resolve(Field fromField)
Resolve the property name from this field.
|
String |
resolve(int parameterIdx,
Constructor<?> fromConstructor)
Resolve the parameter name on position parameterIdx in the constructor fromConstructor.
|
String |
resolve(int parameterIdx,
Method fromMethod)
Resolve the name of the parameter with parameterIdx as index in fromMethod method.
|
String |
resolve(Method fromMethod)
Resolve the property name from this method.
|
public CompositePropertyNameResolver(List<PropertyNameResolver> components)
public PropertyNameResolver.CompositePropertyNameResolver add(PropertyNameResolver... resolvers)
public String resolve(int parameterIdx, Constructor<?> fromConstructor)
PropertyNameResolver
resolve
in interface PropertyNameResolver
public String resolve(int parameterIdx, Method fromMethod)
PropertyNameResolver
resolve
in interface PropertyNameResolver
public String resolve(Field fromField)
PropertyNameResolver
resolve
in interface PropertyNameResolver
fromField
- - the field to use for name resolution.public String resolve(Method fromMethod)
PropertyNameResolver
resolve
in interface PropertyNameResolver
fromMethod
- - the method to be used for name resolution.Copyright © 2019. All rights reserved.