Annotation Type 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: - 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

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends XMLNameTransformer> value
      (Required) Defines the name of the XML name transformer that should be applied to names.
    • Element Detail

      • value

        java.lang.Class<? extends XMLNameTransformer> value
        (Required) Defines the name of the XML name transformer that should be applied to names.