org.eclipse.persistence.oxm.annotations
Annotation Type XmlNameTransformer
@Target(value={PACKAGE,TYPE})
@Retention(value=RUNTIME)
public @interface XmlNameTransformer
An XmlNameTransformer allows for a user defined class to transform names.
The class has the following restriction:
- It must implement the org.eclipse.persistence.oxm.XmlNameTransformer interface
This method will be used to decide what XML name to create from a Java class or attribute name
The XmlNameTransformer must only be set on a package
Required Element Summary |
java.lang.Class<? extends XMLNameTransformer> |
value
(Required) Defines the name of the XML name transformer that should be
applied to names. |
value
public abstract java.lang.Class<? extends XMLNameTransformer> value
- (Required) Defines the name of the XML name transformer that should be
applied to names.