|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.betwixt.strategy.CapitalizeNameMapper
public class CapitalizeNameMapper
A beanmapper which converts a type to start with an uppercase. So eg elementName should return ElementName
Constructor Summary | |
---|---|
CapitalizeNameMapper()
|
Method Summary | |
---|---|
java.lang.String |
mapTypeToElementName(java.lang.String typeName)
Capitalize first letter of type name. |
java.lang.String |
toString()
Outputs a brief description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CapitalizeNameMapper()
Method Detail |
---|
public java.lang.String mapTypeToElementName(java.lang.String typeName)
mapTypeToElementName
in interface NameMapper
typeName
- the string to convert
typeName
after first letter has been converted to upper casepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |