public class DefaultNameMapper extends Object implements NameMapper
A default implementation of the name mapper. This mapper simply returns the unmodified type name.
For example, PropertyName would be converted to PropertyName.
| Constructor and Description |
|---|
DefaultNameMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
mapTypeToElementName(String typeName)
This implementation returns the parameter passed after
deleting any characters which the XML specification does not allow
in element names.
|
public String mapTypeToElementName(String typeName)
mapTypeToElementName in interface NameMappertypeName - the string to convertCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.