Package org.apache.juneau
Class BasicPropertyNamer
java.lang.Object
org.apache.juneau.BasicPropertyNamer
- All Implemented Interfaces:
PropertyNamer
Default property namer.
Example:
"fooBar" ->"fooBar" "fooBarURL" ->"fooBarURL" "FooBarURL" ->"fooBarURL" "URL" ->"URL"
See Introspector.decapitalize(String)
for exact rules.
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.juneau.PropertyNamer
PropertyNamer.Void
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPropertyName
(String name) Convert the specified default property name to some other value.
-
Constructor Details
-
BasicPropertyNamer
public BasicPropertyNamer()
-
-
Method Details
-
getPropertyName
Description copied from interface:PropertyNamer
Convert the specified default property name to some other value.- Specified by:
getPropertyName
in interfacePropertyNamer
- Parameters:
name
- The original bean property name.- Returns:
- The converted property name.
-