public class

DefaultNameMapper

extends Object
implements NameMapper
java.lang.Object
   ↳ org.apache.commons.betwixt.strategy.DefaultNameMapper

Class Overview

A default implementation of the name mapper. This mapper simply returns the unmodified type name.

For example, PropertyName would be converted to PropertyName.

Summary

Public Constructors
DefaultNameMapper()
Public Methods
String mapTypeToElementName(String typeName)
This implementation returns the parameter passed after deleting any characters which the XML specification does not allow in element names.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.commons.betwixt.strategy.NameMapper

Public Constructors

public DefaultNameMapper ()

Public Methods

public String mapTypeToElementName (String typeName)

This implementation returns the parameter passed after deleting any characters which the XML specification does not allow in element names.

Parameters
typeName the string to convert
Returns
  • the typeName parameter without modification