public interface XMLNameTransformer
Modifier and Type | Method and Description |
---|---|
String |
transformAttributeName(String name)
Method called when creating an attribute from a Java field
|
String |
transformElementName(String name)
Method called when creating an element from a Java field or method
|
String |
transformRootElementName(String name)
Method called when creating a simpletype or complextype from a class
|
String |
transformTypeName(String name)
Method called when creating a simpletype or complextype from a class
|
String transformTypeName(String name)
name
- - The fully qualified class name as taken from theClass.getName()String transformElementName(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"String transformAttributeName(String name)
name
- - attribute name from the classCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.