Class QNameFactory
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.QNameFactory
-
@VelocityVariable("QNameFactory") @VelocityCallable("singleton") public final class QNameFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description QNameFactory()
Standard constructor.
-
-
-
Method Detail
-
newQName
public QName newQName(String p_strNamespaceUri, String p_strLocalPart)
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
public QName newQName(String p_strSerializedQName)
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
.
-
-