Class SyncXmlNameGenerator

  • All Implemented Interfaces:
    org.eclipse.persistence.oxm.XMLNameTransformer

    public class SyncXmlNameGenerator
    extends java.lang.Object
    implements org.eclipse.persistence.oxm.XMLNameTransformer
    Custom XMLNameTransformer for generating elements and attributes names in hyphen style.
    Since:
    15.0.0
    Version:
    $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
    • Constructor Detail

      • SyncXmlNameGenerator

        public SyncXmlNameGenerator()
    • Method Detail

      • transformRootElementName

        public java.lang.String transformRootElementName​(java.lang.String name)
        Specified by:
        transformRootElementName in interface org.eclipse.persistence.oxm.XMLNameTransformer
      • transformTypeName

        public java.lang.String transformTypeName​(java.lang.String name)
        Specified by:
        transformTypeName in interface org.eclipse.persistence.oxm.XMLNameTransformer
      • transformElementName

        public java.lang.String transformElementName​(java.lang.String name)
        Specified by:
        transformElementName in interface org.eclipse.persistence.oxm.XMLNameTransformer
      • transformAttributeName

        public java.lang.String transformAttributeName​(java.lang.String name)
        Specified by:
        transformAttributeName in interface org.eclipse.persistence.oxm.XMLNameTransformer