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