Class QName

java.lang.Object
org.apache.xmlgraphics.util.QName
org.apache.fop.util.QName
All Implemented Interfaces:
Serializable

public class QName extends org.apache.xmlgraphics.util.QName
Deprecated.
Use the XML Graphics Commons variant instead!
Represents a qualified name of an XML element or an XML attribute.

Note: This class allows to carry a namespace prefix but it is not used in the equals() and hashCode() methods.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    QName(String namespaceURI, String qName)
    Deprecated.
    Main constructor.
    QName(String namespaceURI, String prefix, String localName)
    Deprecated.
    Main constructor.
  • Method Summary

    Methods inherited from class org.apache.xmlgraphics.util.QName

    equals, getLocalName, getNamespaceURI, getPrefix, getQName, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • QName

      public QName(String namespaceURI, String prefix, String localName)
      Deprecated.
      Main constructor.
      Parameters:
      namespaceURI - the namespace URI
      prefix - the namespace prefix, may be null
      localName - the local name
    • QName

      public QName(String namespaceURI, String qName)
      Deprecated.
      Main constructor.
      Parameters:
      namespaceURI - the namespace URI
      qName - the qualified name