Package org.apache.juneau
Class PropertyNamerULC
java.lang.Object
org.apache.juneau.PropertyNamerULC
- All Implemented Interfaces:
PropertyNamer
Converts property names to underscore-lower-case format.
Example:
"fooBar" ->"foo_bar" "fooBarURL" ->"foo_bar_url" "FooBarURL" ->"foo_bar_url"
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.juneau.PropertyNamer
PropertyNamer.Void
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPropertyName
(String name) Convert the specified default property name to some other value.
-
Field Details
-
INSTANCE
Reusable instance.
-
-
Constructor Details
-
PropertyNamerULC
public PropertyNamerULC()
-
-
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.
-