org.apache.fop.util
Class QName
java.lang.Object
org.apache.fop.util.QName
- Serializable
public class QName
extends java.lang.Object
implements Serializable
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.
QName(String namespaceURI, String qName) - Main constructor.
|
QName(String namespaceURI, String prefix, String localName) - Main constructor.
|
QName
public QName(String namespaceURI,
String qName)
Main constructor.
namespaceURI
- the namespace URIqName
- the qualified name
QName
public QName(String namespaceURI,
String prefix,
String localName)
Main constructor.
namespaceURI
- the namespace URIprefix
- the namespace prefix, may be nulllocalName
- the local name
equals
public boolean equals(Object obj)
getLocalName
public String getLocalName()
getNamespaceURI
public String getNamespaceURI()
getPrefix
public String getPrefix()
getQName
public String getQName()
hashCode
public int hashCode()
toString
public String toString()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.