Class QName
java.lang.Object
com.aquima.interactions.foundation.xml.parsing.QName
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the local part of the QName.This method returns the namespace URI of the QName.This method returns the prefix of the QName.toString()
-
Constructor Details
-
QName
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
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
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
This method returns the prefix of the QName. The prefix may be null.- Returns:
- prefix of this QName
-
getNameSpaceUri
This method returns the namespace URI of the QName. The namespace URI may be null.- Returns:
- namespace URI of this QName
-
toString
-