public interface

NameMapper

org.apache.commons.betwixt.strategy.NameMapper
Known Indirect Subclasses

Class Overview

A plugin Strategy pattern for converting Java type names into element names.

Summary

Public Methods
abstract String mapTypeToElementName(String typeName)
Convert the given bean or property name to name for use in XML (as an element or an attribute qname).

Public Methods

public abstract String mapTypeToElementName (String typeName)

Convert the given bean or property name to name for use in XML (as an element or an attribute qname).

Parameters
typeName the string to convert
Returns
  • the element name for the given bean type name