java.lang.Object
com.aquima.interactions.foundation.xml.parsing.QName

public class QName extends Object
This class contains a QName (qualified name).

The value of a QName contains a Namespace URI, local part and prefix.

Since:
6.3
Author:
Jon van Leuven
  • Constructor Details

    • QName

      public QName(String localPart)
      Use this constuctor to create a QName with no prefix and no namespace URI.
      Parameters:
      localPart - local part of the QName which may not be null.
    • QName

      public QName(String nameSpaceUri, String localPart, String prefix)
      Use this constuctor to create a QName with local part, prefix and a namespace URI.
      Parameters:
      nameSpaceUri - namespace URI of the QName which may be null.
      localPart - local part of the QName which may not be null.
      prefix - prefix of the QName which may be null.
  • Method Details

    • getLocalPart

      public String getLocalPart()
      This method returns the local part of the QName. The local part is never null, but may be "".
      Returns:
      local part of this QName
    • getPrefix

      public String getPrefix()
      This method returns the prefix of the QName. The prefix may be null.
      Returns:
      prefix of this QName
    • getNameSpaceUri

      public String getNameSpaceUri()
      This method returns the namespace URI of the QName. The namespace URI may be null.
      Returns:
      namespace URI of this QName
    • toString

      public String toString()
      Overrides:
      toString in class Object