Module eclipselink

Annotation Interface XmlNameTransformer


@Target({PACKAGE,TYPE}) @Retention(RUNTIME) public @interface XmlNameTransformer
An XmlNameTransformer allows for a user defined class to transform names. The class has the following restriction:

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

    Required Elements
    Modifier and Type
    Required Element
    Description
    Defines the name of the XML name transformer that should be applied to names.
  • Element Details

    • value

      Class<?> value
      Defines the name of the XML name transformer that should be applied to names.