Interface XMQNS


public interface XMQNS
A namespace, like the libxml2 xmlNs struct. A namespace is declared on an element (the nsDefs list) and referenced by the elements and attributes using it. A null prefix is the default namespace.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the prefix.
    void
    Set the namespace uri.
    uri()
    Returns the namespace uri.
  • Method Details

    • prefix

      String prefix()
      Returns the prefix.
      Returns:
      The prefix, null for the default namespace.
    • uri

      String uri()
      Returns the namespace uri.
      Returns:
      The uri.
    • setUri

      void setUri(String uri)
      Set the namespace uri.
      Parameters:
      uri - The new uri.