Class XMLRootElementUtil


  • public class XMLRootElementUtil
    extends Object
    • Method Detail

      • getXmlRootElementQNameFromObject

        public static QName getXmlRootElementQNameFromObject​(Object obj)
        Parameters:
        clazz -
        Returns:
        namespace of root element qname or null if this is not object does not represent a root element
      • getXmlRootElementQName

        public static QName getXmlRootElementQName​(Class clazz)
        Parameters:
        clazz -
        Returns:
        namespace of root element qname or null if this is not object does not represent a root element
      • getEnumValue

        public static String getEnumValue​(Enum myEnum)
        Parameters:
        clazz -
        Returns:
        namespace of root element qname or null if this is object does not represent a root element
      • getXmlTypeQName

        public static QName getXmlTypeQName​(Class clazz)
        Parameters:
        clazz -
        Returns:
        namespace of @XmlType or null if this is object does not represent a root element