Package org.apache.juneau
Class PropertyNamerDLC
java.lang.Object
org.apache.juneau.PropertyNamerDLC
- All Implemented Interfaces:
PropertyNamer
Converts property names to dashed-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
-
PropertyNamerDLC
public PropertyNamerDLC()
-
-
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.
-