Class QNameUtils

java.lang.Object
org.jvnet.basicjaxb.xml.namespace.util.QNameUtils

public class QNameUtils extends Object
A utility class to provide QName helper methods.
  • Method Details

    • getLogger

      public static org.slf4j.Logger getLogger()
    • toKey

      public static String toKey(QName qname)
      Represent a QName in the format: "{namespaceURI}prefix:localpart".
      Parameters:
      qname - A QName to be represented.
      Returns:
      A string representaion of the given QName.
    • toName

      public static QName toName(jakarta.xml.bind.JAXBElement<?> jaxbElement, String qname)