Class QNameFactory

java.lang.Object
de.uplanet.lucy.server.auxiliaries.QNameFactory

@VelocityVariable("QNameFactory") @VelocityCallable("singleton") public final class QNameFactory extends Object
  • Constructor Details

    • QNameFactory

      public QNameFactory()
      Standard constructor.
  • Method Details

    • newQName

      public QName newQName(String p_strNamespaceUri, String p_strLocalPart)
      Create a new xsd:QName object.
      Parameters:
      p_strNamespaceUri - The namespace URI of the QName.
      p_strLocalPart - The local part of the QName.
      Returns:
      The newly created QName.
      Throws:
      IllegalArgumentException - - If the p_strLocalPart is null.
    • newQName

      public QName newQName(String p_strSerializedQName)
      Create a new xsd:QName object.
      Parameters:
      p_strSerializedQName - The QName in it's Java serialized form {URI}NCNAME.
      Returns:
      The newly created QName.
      Throws:
      IllegalArgumentException - - If p_strSerializedQName is null.