|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.betwixt.strategy.DefaultNameMapper
public class DefaultNameMapper
A default implementation of the name mapper. This mapper simply returns the unmodified type name.
For example, PropertyName would be converted to PropertyName.
| Constructor Summary | |
|---|---|
DefaultNameMapper()
|
|
| Method Summary | |
|---|---|
java.lang.String |
mapTypeToElementName(java.lang.String typeName)
This implementation returns the parameter passed after deleting any characters which the XML specification does not allow in element names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultNameMapper()
| Method Detail |
|---|
public java.lang.String mapTypeToElementName(java.lang.String typeName)
mapTypeToElementName in interface NameMappertypeName - the string to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||