com.openharbor.beck.map
Interface Namer

All Known Implementing Classes:
DefaultNamer

public interface Namer

Maps between Java names and XML names.


Method Summary
 java.lang.Class getObjectClass(XMLThing source)
          Map an XML element or attribute to a Java class.
 java.lang.String getPropertyName(XMLThing source)
          Map an XML element or attribute to a JavaBean property name.
 XMLName getXMLName(java.lang.Object parent, Getter source, java.lang.Class sourceClass)
          Map a Java object to an XML element or attribute.
 XMLThing normalize(XMLThing thing)
           
 

Method Detail

getXMLName

public XMLName getXMLName(java.lang.Object parent,
                          Getter source,
                          java.lang.Class sourceClass)
Map a Java object to an XML element or attribute.

Parameters:
parent -
source -
Returns:

normalize

public XMLThing normalize(XMLThing thing)

getObjectClass

public java.lang.Class getObjectClass(XMLThing source)
Map an XML element or attribute to a Java class.

Parameters:
source -
Returns:

getPropertyName

public java.lang.String getPropertyName(XMLThing source)
Map an XML element or attribute to a JavaBean property name.

Parameters:
source -
Returns: