Class QNameFactory
java.lang.Object
de.uplanet.lucy.server.auxiliaries.QNameFactory
@VelocityVariable("QNameFactory")
@VelocityCallable("singleton")
public final class QNameFactory
extends Object
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
QNameFactory
public QNameFactory()Standard constructor.
-
-
Method Details
-
newQName
Create a newxsd:QName
object.- Parameters:
p_strNamespaceUri
- The namespace URI of theQName
.p_strLocalPart
- The local part of theQName
.- Returns:
- The newly created
QName
. - Throws:
IllegalArgumentException
- - If thep_strLocalPart
isnull
.
-
newQName
Create a newxsd:QName
object.- Parameters:
p_strSerializedQName
- TheQName
in it's Java serialized form{URI}NCNAME
.- Returns:
- The newly created
QName
. - Throws:
IllegalArgumentException
- - Ifp_strSerializedQName
isnull
.
-