|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLNameTransformer
Interface used when converting from XML to Java names.
Method Summary | |
---|---|
java.lang.String |
transformAttributeName(java.lang.String name)
Method called when creating an attribute from a Java field |
java.lang.String |
transformElementName(java.lang.String name)
Method called when creating an element from a Java field or method |
java.lang.String |
transformRootElementName(java.lang.String name)
Method called when creating a simpletype or complextype from a class |
java.lang.String |
transformTypeName(java.lang.String name)
Method called when creating a simpletype or complextype from a class |
Method Detail |
---|
java.lang.String transformTypeName(java.lang.String name)
name
- - The fully qualified class name as taken from theClass.getName()java.lang.String transformElementName(java.lang.String name)
name
- - 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"java.lang.String transformAttributeName(java.lang.String name)
name
- - attribute name from the classjava.lang.String transformRootElementName(java.lang.String name)
name
- - The fully qualified class name as taken from theClass.getName()
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |