blob: cd814d1ec7bdb0324c4ad67b2c5c48c381840034 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:38 PDT 2012 -->
<TITLE>
QName
</TITLE>
<META NAME="keywords" CONTENT="org.apache.xml.utils.QName class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="QName";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QName.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/xml/utils/PrefixResolverDefault.html" title="class in org.apache.xml.utils"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/xml/utils/RawCharacterHandler.html" title="interface in org.apache.xml.utils"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/xml/utils/QName.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="QName.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.utils</FONT>
<BR>
Class QName</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xml.utils.QName</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.44"><B>QName</B></A><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
</PRE>
<P>
Class to represent a qualified name: "The name of an internal XSLT object,
specifically a named template (see [7 Named Templates]), a mode (see [6.7 Modes]),
an attribute set (see [8.1.4 Named Attribute Sets]), a key (see [14.2 Keys]),
a locale (see [14.3 Number Formatting]), a variable or a parameter (see
[12 Variables and Parameters]) is specified as a QName. If it has a prefix,
then the prefix is expanded into a URI reference using the namespace declarations
in effect on the attribute in which the name occurs. The expanded name
consisting of the local part of the name and the possibly null URI reference
is used as the name of the object. The default namespace is not used for
unprefixed names."
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.xml.utils.QName">Serialized Form</A></DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#_localName">_localName</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The local name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#_namespaceURI">_namespaceURI</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The namespace URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#_prefix">_prefix</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The namespace prefix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#m_hashCode">m_hashCode</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The cached hashcode, which is calculated at construction time.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#S_XMLNAMESPACEURI">S_XMLNAMESPACEURI</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The XML namespace.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#serialVersionUID">serialVersionUID</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName()">QName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty QName.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String)">QName</A></B>(java.lang.String&nbsp;localName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a QName from a string, without namespace resolution.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, boolean)">QName</A></B>(java.lang.String&nbsp;localName,
boolean&nbsp;validate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a QName from a string, without namespace resolution.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, org.w3c.dom.Element, org.apache.xml.utils.PrefixResolver)">QName</A></B>(java.lang.String&nbsp;qname,
org.w3c.dom.Element&nbsp;namespaceContext,
<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;resolver)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a QName from a string, resolving the prefix
using the given namespace context and prefix resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, org.w3c.dom.Element, org.apache.xml.utils.PrefixResolver, boolean)">QName</A></B>(java.lang.String&nbsp;qname,
org.w3c.dom.Element&nbsp;namespaceContext,
<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;resolver,
boolean&nbsp;validate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a QName from a string, resolving the prefix
using the given namespace context and prefix resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, org.apache.xml.utils.PrefixResolver)">QName</A></B>(java.lang.String&nbsp;qname,
<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;resolver)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a QName from a string, resolving the prefix
using the given namespace stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, org.apache.xml.utils.PrefixResolver, boolean)">QName</A></B>(java.lang.String&nbsp;qname,
<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;resolver,
boolean&nbsp;validate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a QName from a string, resolving the prefix
using the given namespace stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, java.util.Stack)">QName</A></B>(java.lang.String&nbsp;qname,
java.util.Stack&nbsp;namespaces)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a QName from a string, resolving the prefix
using the given namespace stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, java.util.Stack, boolean)">QName</A></B>(java.lang.String&nbsp;qname,
java.util.Stack&nbsp;namespaces,
boolean&nbsp;validate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a QName from a string, resolving the prefix
using the given namespace stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, java.lang.String)">QName</A></B>(java.lang.String&nbsp;namespaceURI,
java.lang.String&nbsp;localName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new QName with the specified namespace URI and
local name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, java.lang.String, boolean)">QName</A></B>(java.lang.String&nbsp;namespaceURI,
java.lang.String&nbsp;localName,
boolean&nbsp;validate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new QName with the specified namespace URI and
local name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, java.lang.String, java.lang.String)">QName</A></B>(java.lang.String&nbsp;namespaceURI,
java.lang.String&nbsp;prefix,
java.lang.String&nbsp;localName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new QName with the specified namespace URI, prefix
and local name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#QName(java.lang.String, java.lang.String, java.lang.String, boolean)">QName</A></B>(java.lang.String&nbsp;namespaceURI,
java.lang.String&nbsp;prefix,
java.lang.String&nbsp;localName,
boolean&nbsp;validate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new QName with the specified namespace URI, prefix
and local name.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;object)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override equals and agree that we're equal if
the passed object is a QName and it matches
the name of the arg.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#equals(java.lang.String, java.lang.String)">equals</A></B>(java.lang.String&nbsp;ns,
java.lang.String&nbsp;localPart)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override equals and agree that we're equal if
the passed object is a string and it matches
the name of the arg.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getLocalName()">getLocalName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the local part of the qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getLocalPart()">getLocalPart</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the local part of the qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getLocalPart(java.lang.String)">getLocalPart</A></B>(java.lang.String&nbsp;qname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the local name of the given node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getNamespace()">getNamespace</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the namespace of the qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getNamespaceURI()">getNamespaceURI</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the namespace URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getPrefix()">getPrefix</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the namespace prefix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getPrefixFromXMLNSDecl(java.lang.String)">getPrefixFromXMLNSDecl</A></B>(java.lang.String&nbsp;attRawName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function tells if a raw attribute name is a
xmlns attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getPrefixPart(java.lang.String)">getPrefixPart</A></B>(java.lang.String&nbsp;qname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the local name of the given node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/apache/xml/utils/QName.html" title="class in org.apache.xml.utils">QName</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#getQNameFromString(java.lang.String)">getQNameFromString</A></B>(java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given a string, create and return a QName object</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#hashCode()">hashCode</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the cached hashcode of the qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#isXMLNSDecl(java.lang.String)">isXMLNSDecl</A></B>(java.lang.String&nbsp;attRawName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function tells if a raw attribute name is a
xmlns attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#toNamespacedString()">toNamespacedString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the string representation of the qualified name using the
the '{ns}foo' notation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xml/utils/QName.html#toString()">toString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the string representation of the qualified name, using the
prefix if available, or the '{ns}foo' notation if not.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="serialVersionUID"><!-- --></A><H3>
serialVersionUID</H3>
<PRE>
static final long <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.46"><B>serialVersionUID</B></A></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xml.utils.QName.serialVersionUID">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="_localName"><!-- --></A><H3>
_localName</H3>
<PRE>
protected java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.52"><B>_localName</B></A></PRE>
<DL>
<DD>The local name.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="_namespaceURI"><!-- --></A><H3>
_namespaceURI</H3>
<PRE>
protected java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.58"><B>_namespaceURI</B></A></PRE>
<DL>
<DD>The namespace URI.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="_prefix"><!-- --></A><H3>
_prefix</H3>
<PRE>
protected java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.64"><B>_prefix</B></A></PRE>
<DL>
<DD>The namespace prefix.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="S_XMLNAMESPACEURI"><!-- --></A><H3>
S_XMLNAMESPACEURI</H3>
<PRE>
public static final java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.69"><B>S_XMLNAMESPACEURI</B></A></PRE>
<DL>
<DD>The XML namespace.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xml.utils.QName.S_XMLNAMESPACEURI">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="m_hashCode"><!-- --></A><H3>
m_hashCode</H3>
<PRE>
private int <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.76"><B>m_hashCode</B></A></PRE>
<DL>
<DD>The cached hashcode, which is calculated at construction time.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="QName()"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.82"><B>QName</B></A>()</PRE>
<DL>
<DD>Constructs an empty QName.
20001019: Try making this public, to support Serializable? -- JKESS
<P>
</DL>
<HR>
<A NAME="QName(java.lang.String, java.lang.String)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.91"><B>QName</B></A>(java.lang.String&nbsp;namespaceURI,
java.lang.String&nbsp;localName)</PRE>
<DL>
<DD>Constructs a new QName with the specified namespace URI and
local name.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace URI if known, or null<DD><CODE>localName</CODE> - The local name</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.105"><B>QName</B></A>(java.lang.String&nbsp;namespaceURI,
java.lang.String&nbsp;localName,
boolean&nbsp;validate)</PRE>
<DL>
<DD>Constructs a new QName with the specified namespace URI and
local name.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace URI if known, or null<DD><CODE>localName</CODE> - The local name<DD><CODE>validate</CODE> - If true the new QName will be validated and an IllegalArgumentException will
be thrown if it is invalid.</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.137"><B>QName</B></A>(java.lang.String&nbsp;namespaceURI,
java.lang.String&nbsp;prefix,
java.lang.String&nbsp;localName)</PRE>
<DL>
<DD>Constructs a new QName with the specified namespace URI, prefix
and local name.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace URI if known, or null<DD><CODE>prefix</CODE> - The namespace prefix is known, or null<DD><CODE>localName</CODE> - The local name</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.152"><B>QName</B></A>(java.lang.String&nbsp;namespaceURI,
java.lang.String&nbsp;prefix,
java.lang.String&nbsp;localName,
boolean&nbsp;validate)</PRE>
<DL>
<DD>Constructs a new QName with the specified namespace URI, prefix
and local name.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace URI if known, or null<DD><CODE>prefix</CODE> - The namespace prefix is known, or null<DD><CODE>localName</CODE> - The local name<DD><CODE>validate</CODE> - If true the new QName will be validated and an IllegalArgumentException will
be thrown if it is invalid.</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.189"><B>QName</B></A>(java.lang.String&nbsp;localName)</PRE>
<DL>
<DD>Construct a QName from a string, without namespace resolution. Good
for a few odd cases.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>localName</CODE> - Local part of qualified name</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, boolean)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.202"><B>QName</B></A>(java.lang.String&nbsp;localName,
boolean&nbsp;validate)</PRE>
<DL>
<DD>Construct a QName from a string, without namespace resolution. Good
for a few odd cases.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>localName</CODE> - Local part of qualified name<DD><CODE>validate</CODE> - If true the new QName will be validated and an IllegalArgumentException will
be thrown if it is invalid.</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, java.util.Stack)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.232"><B>QName</B></A>(java.lang.String&nbsp;qname,
java.util.Stack&nbsp;namespaces)</PRE>
<DL>
<DD>Construct a QName from a string, resolving the prefix
using the given namespace stack. The default namespace is
not resolved.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - Qualified name to resolve<DD><CODE>namespaces</CODE> - Namespace stack to use to resolve namespace</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, java.util.Stack, boolean)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.247"><B>QName</B></A>(java.lang.String&nbsp;qname,
java.util.Stack&nbsp;namespaces,
boolean&nbsp;validate)</PRE>
<DL>
<DD>Construct a QName from a string, resolving the prefix
using the given namespace stack. The default namespace is
not resolved.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - Qualified name to resolve<DD><CODE>namespaces</CODE> - Namespace stack to use to resolve namespace<DD><CODE>validate</CODE> - If true the new QName will be validated and an IllegalArgumentException will
be thrown if it is invalid.</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, org.w3c.dom.Element, org.apache.xml.utils.PrefixResolver)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.324"><B>QName</B></A>(java.lang.String&nbsp;qname,
org.w3c.dom.Element&nbsp;namespaceContext,
<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;resolver)</PRE>
<DL>
<DD>Construct a QName from a string, resolving the prefix
using the given namespace context and prefix resolver.
The default namespace is not resolved.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - Qualified name to resolve<DD><CODE>namespaceContext</CODE> - Namespace Context to use<DD><CODE>resolver</CODE> - Prefix resolver for this context</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, org.w3c.dom.Element, org.apache.xml.utils.PrefixResolver, boolean)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.341"><B>QName</B></A>(java.lang.String&nbsp;qname,
org.w3c.dom.Element&nbsp;namespaceContext,
<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;resolver,
boolean&nbsp;validate)</PRE>
<DL>
<DD>Construct a QName from a string, resolving the prefix
using the given namespace context and prefix resolver.
The default namespace is not resolved.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - Qualified name to resolve<DD><CODE>namespaceContext</CODE> - Namespace Context to use<DD><CODE>resolver</CODE> - Prefix resolver for this context<DD><CODE>validate</CODE> - If true the new QName will be validated and an IllegalArgumentException will
be thrown if it is invalid.</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, org.apache.xml.utils.PrefixResolver)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.412"><B>QName</B></A>(java.lang.String&nbsp;qname,
<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;resolver)</PRE>
<DL>
<DD>Construct a QName from a string, resolving the prefix
using the given namespace stack. The default namespace is
not resolved.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - Qualified name to resolve<DD><CODE>resolver</CODE> - Prefix resolver for this context</DL>
</DL>
<HR>
<A NAME="QName(java.lang.String, org.apache.xml.utils.PrefixResolver, boolean)"><!-- --></A><H3>
QName</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.427"><B>QName</B></A>(java.lang.String&nbsp;qname,
<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;resolver,
boolean&nbsp;validate)</PRE>
<DL>
<DD>Construct a QName from a string, resolving the prefix
using the given namespace stack. The default namespace is
not resolved.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - Qualified name to resolve<DD><CODE>resolver</CODE> - Prefix resolver for this context<DD><CODE>validate</CODE> - If true the new QName will be validated and an IllegalArgumentException will
be thrown if it is invalid.</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getNamespaceURI()"><!-- --></A><H3>
getNamespaceURI</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.489"><B>getNamespaceURI</B></A>()</PRE>
<DL>
<DD>Returns the namespace URI. Returns null if the namespace URI
is not known.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The namespace URI, or null</DL>
</DD>
</DL>
<HR>
<A NAME="getPrefix()"><!-- --></A><H3>
getPrefix</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.500"><B>getPrefix</B></A>()</PRE>
<DL>
<DD>Returns the namespace prefix. Returns null if the namespace
prefix is not known.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The namespace prefix, or null</DL>
</DD>
</DL>
<HR>
<A NAME="getLocalName()"><!-- --></A><H3>
getLocalName</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.510"><B>getLocalName</B></A>()</PRE>
<DL>
<DD>Returns the local part of the qualified name.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The local part of the qualified name</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.522"><B>toString</B></A>()</PRE>
<DL>
<DD>Return the string representation of the qualified name, using the
prefix if available, or the '{ns}foo' notation if not. Performs
string concatenation, so beware of performance issues.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the string representation of the namespace</DL>
</DD>
</DL>
<HR>
<A NAME="toNamespacedString()"><!-- --></A><H3>
toNamespacedString</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.538"><B>toNamespacedString</B></A>()</PRE>
<DL>
<DD>Return the string representation of the qualified name using the
the '{ns}foo' notation. Performs
string concatenation, so beware of performance issues.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the string representation of the namespace</DL>
</DD>
</DL>
<HR>
<A NAME="getNamespace()"><!-- --></A><H3>
getNamespace</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.551"><B>getNamespace</B></A>()</PRE>
<DL>
<DD>Get the namespace of the qualified name.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the namespace URI of the qualified name</DL>
</DD>
</DL>
<HR>
<A NAME="getLocalPart()"><!-- --></A><H3>
getLocalPart</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.561"><B>getLocalPart</B></A>()</PRE>
<DL>
<DD>Get the local part of the qualified name.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the local part of the qualified name</DL>
</DD>
</DL>
<HR>
<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.571"><B>hashCode</B></A>()</PRE>
<DL>
<DD>Return the cached hashcode of the qualified name.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the cached hashcode of the qualified name</DL>
</DD>
</DL>
<HR>
<A NAME="equals(java.lang.String, java.lang.String)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.586"><B>equals</B></A>(java.lang.String&nbsp;ns,
java.lang.String&nbsp;localPart)</PRE>
<DL>
<DD>Override equals and agree that we're equal if
the passed object is a string and it matches
the name of the arg.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ns</CODE> - Namespace URI to compare to<DD><CODE>localPart</CODE> - Local part of qualified name to compare to
<DT><B>Returns:</B><DD>True if the local name and uri match</DL>
</DD>
</DL>
<HR>
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.604"><B>equals</B></A>(java.lang.Object&nbsp;object)</PRE>
<DL>
<DD>Override equals and agree that we're equal if
the passed object is a QName and it matches
the name of the arg.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if the qualified names are equal</DL>
</DD>
</DL>
<HR>
<A NAME="getQNameFromString(java.lang.String)"><!-- --></A><H3>
getQNameFromString</H3>
<PRE>
public static <A HREF="../../../../org/apache/xml/utils/QName.html" title="class in org.apache.xml.utils">QName</A> <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.632"><B>getQNameFromString</B></A>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Given a string, create and return a QName object
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - String to use to create QName
<DT><B>Returns:</B><DD>a QName object</DL>
</DD>
</DL>
<HR>
<A NAME="isXMLNSDecl(java.lang.String)"><!-- --></A><H3>
isXMLNSDecl</H3>
<PRE>
public static boolean <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.656"><B>isXMLNSDecl</B></A>(java.lang.String&nbsp;attRawName)</PRE>
<DL>
<DD>This function tells if a raw attribute name is a
xmlns attribute.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attRawName</CODE> - Raw name of attribute
<DT><B>Returns:</B><DD>True if the attribute starts with or is equal to xmlns</DL>
</DD>
</DL>
<HR>
<A NAME="getPrefixFromXMLNSDecl(java.lang.String)"><!-- --></A><H3>
getPrefixFromXMLNSDecl</H3>
<PRE>
public static java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.672"><B>getPrefixFromXMLNSDecl</B></A>(java.lang.String&nbsp;attRawName)</PRE>
<DL>
<DD>This function tells if a raw attribute name is a
xmlns attribute.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attRawName</CODE> - Raw name of attribute
<DT><B>Returns:</B><DD>Prefix of attribute</DL>
</DD>
</DL>
<HR>
<A NAME="getLocalPart(java.lang.String)"><!-- --></A><H3>
getLocalPart</H3>
<PRE>
public static java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.687"><B>getLocalPart</B></A>(java.lang.String&nbsp;qname)</PRE>
<DL>
<DD>Returns the local name of the given node.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - Input name
<DT><B>Returns:</B><DD>Local part of the name if prefixed, or the given name if not</DL>
</DD>
</DL>
<HR>
<A NAME="getPrefixPart(java.lang.String)"><!-- --></A><H3>
getPrefixPart</H3>
<PRE>
public static java.lang.String <A HREF="../../../../src-html/org/apache/xml/utils/QName.html#line.702"><B>getPrefixPart</B></A>(java.lang.String&nbsp;qname)</PRE>
<DL>
<DD>Returns the local name of the given node.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - Input name
<DT><B>Returns:</B><DD>Prefix of name or empty string if none there</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QName.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/xml/utils/PrefixResolverDefault.html" title="class in org.apache.xml.utils"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/xml/utils/RawCharacterHandler.html" title="interface in org.apache.xml.utils"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/xml/utils/QName.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="QName.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>