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