Class DefaultStringDecapitalizer
java.lang.Object
de.hybris.platform.cmsfacades.common.service.impl.DefaultStringDecapitalizer
- All Implemented Interfaces:
StringDecapitalizer
Default implementation of
StringDecapitalizer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecapitalize(Class<?> theClass) Decapitalize the string the same way it expects to be used in the deserialization process, for unmarshalling correctness.protected StringdecapitalizeString(String className) Convert class names to XML names based on the rules defined in the JAXB specification to convert the first letter(s) to lower case.
-
Constructor Details
-
DefaultStringDecapitalizer
public DefaultStringDecapitalizer()
-
-
Method Details
-
decapitalize
Description copied from interface:StringDecapitalizerDecapitalize the string the same way it expects to be used in the deserialization process, for unmarshalling correctness.- Specified by:
decapitalizein interfaceStringDecapitalizer- Parameters:
theClass- the java class used to decapitalize the name- Returns:
- an
OptionalString with the decapitalized java class string name
-
decapitalizeString
Convert class names to XML names based on the rules defined in the JAXB specification to convert the first letter(s) to lower case.- Parameters:
className- - the class name to be decapitalized- Returns:
- the transformed class name
-