Top Description Methods
org.eclipse.persistence.oxm

public Interface XMLNameTransformer


Interface used when converting from XML to Java names.

Method Summary

Modifier and TypeMethod and Description
public String
transformAttributeName(String
- attribute name from the class
name
)

Method called when creating an attribute from a Java field

public String
transformElementName(String
- unmodified field name or if this was from a getter or setter method the "get" or "set" will be automatically removed and the first letter will be made lowercase Example: if the method getFirstName was annotated with @XmlElement the name passed in to this method would be "firstName"
name
)

Method called when creating an element from a Java field or method

public String
transformRootElementName(String
- The fully qualified class name as taken from theClass.getName()
name
)

Method called when creating a simpletype or complextype from a class

public String
transformTypeName(String
- The fully qualified class name as taken from theClass.getName()
name
)

Method called when creating a simpletype or complextype from a class

Method Detail

transformAttributeNameback to summary
public String transformAttributeName(String name)

Method called when creating an attribute from a Java field

Parameters
name:String

- attribute name from the class

transformElementNameback to summary
public String transformElementName(String name)

Method called when creating an element from a Java field or method

Parameters
name:String

- unmodified field name or if this was from a getter or setter method the "get" or "set" will be automatically removed and the first letter will be made lowercase Example: if the method getFirstName was annotated with @XmlElement the name passed in to this method would be "firstName"

transformRootElementNameback to summary
public String transformRootElementName(String name)

Method called when creating a simpletype or complextype from a class

Parameters
name:String

- The fully qualified class name as taken from theClass.getName()

transformTypeNameback to summary
public String transformTypeName(String name)

Method called when creating a simpletype or complextype from a class

Parameters
name:String

- The fully qualified class name as taken from theClass.getName()