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: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
public QName newQName(String p_strSerializedQName)
Create a newxsd:QNameobject.- Parameters:
p_strSerializedQName- TheQNamein it's Java serialized form{URI}NCNAME.- Returns:
- The newly created
QName. - Throws:
IllegalArgumentException- - Ifp_strSerializedQNameisnull.
-
-