neilg 01/05/22 15:23:38
Added: targets/xerces-j/apiDocs/org/xml/sax AttributeList.html
Attributes.html ContentHandler.html DTDHandler.html
DocumentHandler.html EntityResolver.html
ErrorHandler.html HandlerBase.html InputSource.html
Locator.html Parser.html SAXException.html
SAXNotRecognizedException.html
SAXNotSupportedException.html
SAXParseException.html XMLFilter.html
XMLReader.html package-frame.html
package-summary.html package-tree.html
targets/xerces-j/apiDocs/org/xml/sax/ext DeclHandler.html
LexicalHandler.html package-frame.html
package-summary.html package-tree.html
targets/xerces-j/apiDocs/org/xml/sax/helpers
AttributeListImpl.html AttributesImpl.html
DefaultHandler.html LocatorImpl.html
NamespaceSupport.html ParserAdapter.html
ParserFactory.html XMLFilterImpl.html
XMLReaderAdapter.html XMLReaderFactory.html
package-frame.html package-summary.html
package-tree.html
Log:
updates for Xerces-J 1.4.0
Revision Changes Path
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/AttributeList.html
Index: AttributeList.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface AttributeList
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../org/xml/sax/Attributes.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="AttributeList.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface AttributeList</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/apache/xerces/framework/XMLAttrList.html">XMLAttrList</A>,
<A
HREF="../../../org/xml/sax/helpers/AttributeListImpl.html">AttributeListImpl</A></DD>
</DL>
<HR>
<B>Deprecated.</B> <I>This interface has been replaced by the SAX2
<A
HREF="../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A>
interface, which includes Namespace support.</I>
<P>
<DL>
<DT>public interface <B>AttributeList</B></DL>
<P>
Interface for an element's attribute specifications.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This is the original SAX1 interface for reporting an element's
attributes. Unlike the new <A
HREF="../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A>
interface, it does not support Namespace-related information.</p>
<p>When an attribute list is supplied as part of a
<A
HREF="../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)"><CODE>startElement</CODE></A>
event, the list will return valid results only during the
scope of the event; once the event handler returns control
to the parser, the attribute list is invalid. To save a
persistent copy of the attribute list, use the SAX1
<A
HREF="../../../org/xml/sax/helpers/AttributeListImpl.html"><CODE>AttributeListImpl</CODE></A>
helper class.</p>
<p>An attribute list includes only attributes that have been
specified or defaulted: #IMPLIED attributes will not be included.</p>
<p>There are two ways for the SAX application to obtain information
from the AttributeList. First, it can iterate through the entire
list:</p>
<pre>
public void startElement (String name, AttributeList atts) {
for (int i = 0; i < atts.getLength(); i++) {
String name = atts.getName(i);
String type = atts.getType(i);
String value = atts.getValue(i);
[...]
}
}
</pre>
<p>(Note that the result of getLength() will be zero if there
are no attributes.)
<p>As an alternative, the application can request the value or
type of specific attributes:</p>
<pre>
public void startElement (String name, AttributeList atts) {
String identifier = atts.getValue("id");
String label = atts.getValue("label");
[...]
}
</pre>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)"><CODE>startElement</CODE></A>,
<A
HREF="../../../org/xml/sax/helpers/AttributeListImpl.html"><CODE>AttributeListImpl</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/AttributeList.html#getLength()">getLength</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Return
the number of attributes in this list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/AttributeList.html#getName(int)">getName</A></B>(int i)</CODE>
<BR>
<B>Deprecated.</B> Return
the name of an attribute in this list (by position).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/AttributeList.html#getType(int)">getType</A></B>(int i)</CODE>
<BR>
<B>Deprecated.</B> Return
the type of an attribute in the list (by position).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/AttributeList.html#getType(java.lang.String)">getType</A></B>(java.lang.String name)</CODE>
<BR>
<B>Deprecated.</B> Return
the type of an attribute in the list (by name).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/AttributeList.html#getValue(int)">getValue</A></B>(int i)</CODE>
<BR>
<B>Deprecated.</B> Return
the value of an attribute in the list (by position).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/AttributeList.html#getValue(java.lang.String)">getValue</A></B>(java.lang.String name)</CODE>
<BR>
<B>Deprecated.</B> Return
the value of an attribute in the list (by name).</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getLength()"><!-- --></A><H3>
getLength</H3>
<PRE>
public int <B>getLength</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Return the number of attributes in this list.
<p>The SAX parser may provide attributes in any
arbitrary order, regardless of the order in which they were
declared or specified. The number of attributes may be
zero.</p><DD><DL>
<DT><B>Returns:</B><DD>The number of attributes in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="getName(int)"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>(int i)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Return the name of an attribute in this list
(by position).
<p>The names must be unique: the SAX parser shall not include the
same attribute twice. Attributes without values (those declared
#IMPLIED without a value specified in the start tag) will be
omitted from the list.</p>
<p>If the attribute name has a namespace prefix, the prefix
will still be attached.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index of the attribute in the
list (starting at 0).<DT><B>Returns:</B><DD>The name of the indexed attribute,
or null
if the index is out of range.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/AttributeList.html#getLength()"><CODE>getLength()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getType(int)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(int i)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Return the type of an attribute in the list
(by position).
<p>The attribute type is one of the strings "CDATA", "ID",
"IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES",
or "NOTATION" (always in upper case).</p>
<p>If the parser has not read a declaration for the attribute,
or if the parser does not report attribute types, then it must
return the value "CDATA" as stated in the XML 1.0 Recommentation
(clause 3.3.3, "Attribute-Value Normalization").</p>
<p>For an enumerated attribute that is not a notation, the
parser will report the type as "NMTOKEN".</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index of the attribute in the
list (starting at 0).<DT><B>Returns:</B><DD>The attribute type as a string, or
null if the index is out of range.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/AttributeList.html#getLength()"><CODE>getLength()</CODE></A>,
<A
HREF="../../../org/xml/sax/AttributeList.html#getType(java.lang.String)"><CODE>getType(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getValue(int)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(int i)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Return the value of an attribute in the list
(by position).
<p>If the attribute value is a list of tokens (IDREFS,
ENTITIES, or NMTOKENS), the tokens will be concatenated
into a single string separated by whitespace.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index of the attribute in the
list (starting at 0).<DT><B>Returns:</B><DD>The attribute value as a string, or
null if the index is out of range.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/AttributeList.html#getLength()"><CODE>getLength()</CODE></A>,
<A
HREF="../../../org/xml/sax/AttributeList.html#getValue(java.lang.String)"><CODE>getValue(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getType(java.lang.String)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(java.lang.String name)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Return the type of an attribute in the list
(by name).
<p>The return value is the same as the return value for
getType(int).</p>
<p>If the attribute name has a namespace prefix in the document,
the application must include the prefix here.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the
attribute.<DT><B>Returns:</B><DD>The attribute type as a string, or null if no
such attribute exists.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/AttributeList.html#getType(int)"><CODE>getType(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getValue(java.lang.String)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(java.lang.String name)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Return the value of an attribute in the list
(by name).
<p>The return value is the same as the return value for
getValue(int).</p>
<p>If the attribute name has a namespace prefix in the document,
the application must include the prefix here.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index of the attribute in the
list.<DT><B>Returns:</B><DD>The attribute value as a string, or null if
no such attribute exists.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/AttributeList.html#getValue(int)"><CODE>getValue(int)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../org/xml/sax/Attributes.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="AttributeList.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/Attributes.html
Index: Attributes.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface Attributes
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/AttributeList.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/ContentHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Attributes.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface Attributes</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/xml/sax/helpers/AttributesImpl.html">AttributesImpl</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>Attributes</B></DL>
<P>
Interface for a list of XML attributes.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This interface allows access to a list of attributes in
three different ways:</p>
<ol>
<li>by attribute index;</li>
<li>by Namespace-qualified name; or</li>
<li>by qualified (prefixed) name.</li>
</ol>
<p>The list will not contain attributes that were declared
#IMPLIED but not specified in the start tag. It will also not
contain attributes used as Namespace declarations (xmlns*) unless
the <code>http://xml.org/sax/features/namespace-prefixes</code>
feature is set to <var>true</var> (it is <var>false</var> by
default).</p>
<p>If the namespace-prefixes feature (see above) is <var>false</var>,
access by qualified name may not be available; if the
<code>http://xml.org/sax/features/namespaces</code>
feature is <var>false</var>, access by Namespace-qualified names
may not be available.</p>
<p>This interface replaces the now-deprecated SAX1 <A
HREF="../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A>
interface, which does not
contain Namespace support. In addition to Namespace support, it
adds the <var>getIndex</var> methods (below).</p>
<p>The order of attributes in the list is unspecified, and will
vary from implementation to implementation.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/helpers/AttributeListImpl.html"><CODE>AttributeListImpl</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getIndex(java.lang.String)">getIndex</A></B>(java.lang.String qName)</CODE>
<BR>
Look up the index
of an attribute by XML 1.0 qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getIndex(java.lang.String,
java.lang.String)">getIndex</A></B>(java.lang.String uri,
java.lang.String localPart)</CODE>
<BR>
Look up the index
of an attribute by Namespace name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getLength()">getLength</A></B>()</CODE>
<BR>
Return the number
of attributes in the list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getLocalName(int)">getLocalName</A></B>(int index)</CODE>
<BR>
Look up an
attribute's local name by index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getQName(int)">getQName</A></B>(int index)</CODE>
<BR>
Look up an
attribute's XML 1.0 qualified name by index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getType(int)">getType</A></B>(int index)</CODE>
<BR>
Look up an
attribute's type by index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getType(java.lang.String)">getType</A></B>(java.lang.String qName)</CODE>
<BR>
Look up an
attribute's type by XML 1.0 qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getType(java.lang.String,
java.lang.String)">getType</A></B>(java.lang.String uri,
java.lang.String localName)</CODE>
<BR>
Look up an
attribute's type by Namespace name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getURI(int)">getURI</A></B>(int index)</CODE>
<BR>
Look up an
attribute's Namespace URI by index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getValue(int)">getValue</A></B>(int index)</CODE>
<BR>
Look up an
attribute's value by index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getValue(java.lang.String)">getValue</A></B>(java.lang.String qName)</CODE>
<BR>
Look up an
attribute's value by XML 1.0 qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Attributes.html#getValue(java.lang.String,
java.lang.String)">getValue</A></B>(java.lang.String uri,
java.lang.String localName)</CODE>
<BR>
Look up an
attribute's value by Namespace name.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getLength()"><!-- --></A><H3>
getLength</H3>
<PRE>
public int <B>getLength</B>()</PRE>
<DL>
<DD>Return the number of attributes in the list.
<p>Once you know the number of attributes, you can iterate
through the list.</p><DD><DL>
<DT><B>Returns:</B><DD>The number of attributes in the list.<DT><B>See Also:
</B><DD><A
HREF="../../../org/xml/sax/Attributes.html#getURI(int)"><CODE>getURI(int)</CODE></A>,
<A
HREF="../../../org/xml/sax/Attributes.html#getLocalName(int)"><CODE>getLocalName(int)</CODE></A>,
<A
HREF="../../../org/xml/sax/Attributes.html#getQName(int)"><CODE>getQName(int)</CODE></A>,
<A
HREF="../../../org/xml/sax/Attributes.html#getType(int)"><CODE>getType(int)</CODE></A>,
<A
HREF="../../../org/xml/sax/Attributes.html#getValue(int)"><CODE>getValue(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getURI(int)"><!-- --></A><H3>
getURI</H3>
<PRE>
public java.lang.String <B>getURI</B>(int index)</PRE>
<DL>
<DD>Look up an attribute's Namespace URI by index.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute index
(zero-based).<DT><B>Returns:</B><DD>The Namespace URI, or the empty string if
none
is available, or null if the index is out of
range.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Attributes.html#getLength()"><CODE>getLength()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLocalName(int)"><!-- --></A><H3>
getLocalName</H3>
<PRE>
public java.lang.String <B>getLocalName</B>(int index)</PRE>
<DL>
<DD>Look up an attribute's local name by index.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute index
(zero-based).<DT><B>Returns:</B><DD>The local name, or the empty string if
Namespace
processing is not being performed, or null
if the index is out of range.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Attributes.html#getLength()"><CODE>getLength()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getQName(int)"><!-- --></A><H3>
getQName</H3>
<PRE>
public java.lang.String <B>getQName</B>(int index)</PRE>
<DL>
<DD>Look up an attribute's XML 1.0 qualified name by index.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute index
(zero-based).<DT><B>Returns:</B><DD>The XML 1.0 qualified name, or the empty
string
if none is available, or null if the index
is out of range.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Attributes.html#getLength()"><CODE>getLength()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getType(int)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(int index)</PRE>
<DL>
<DD>Look up an attribute's type by index.
<p>The attribute type is one of the strings "CDATA", "ID",
"IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES",
or "NOTATION" (always in upper case).</p>
<p>If the parser has not read a declaration for the attribute,
or if the parser does not report attribute types, then it must
return the value "CDATA" as stated in the XML 1.0 Recommentation
(clause 3.3.3, "Attribute-Value Normalization").</p>
<p>For an enumerated attribute that is not a notation, the
parser will report the type as "NMTOKEN".</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute index
(zero-based).<DT><B>Returns:</B><DD>The attribute's type as a string, or null
if the
index is out of range.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Attributes.html#getLength()"><CODE>getLength()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getValue(int)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(int index)</PRE>
<DL>
<DD>Look up an attribute's value by index.
<p>If the attribute value is a list of tokens (IDREFS,
ENTITIES, or NMTOKENS), the tokens will be concatenated
into a single string with each token separated by a
single space.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute index
(zero-based).<DT><B>Returns:</B><DD>The attribute's value as a string, or null
if the
index is out of range.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Attributes.html#getLength()"><CODE>getLength()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getIndex(java.lang.String, java.lang.String)"><!-- --></A><H3>
getIndex</H3>
<PRE>
public int <B>getIndex</B>(java.lang.String uri,
java.lang.String localPart)</PRE>
<DL>
<DD>Look up the index of an attribute by Namespace name.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if
the name has no Namespace URI.<DD><CODE>localName</CODE> - The
attribute's local name.<DT><B>Returns:</B><DD>The index of the attribute, or -1
if it does not
appear in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="getIndex(java.lang.String)"><!-- --></A><H3>
getIndex</H3>
<PRE>
public int <B>getIndex</B>(java.lang.String qName)</PRE>
<DL>
<DD>Look up the index of an attribute by XML 1.0 qualified name.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The qualified (prefixed)
name.<DT><B>Returns:</B><DD>The index of the attribute, or -1 if it does not
appear in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="getType(java.lang.String, java.lang.String)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(java.lang.String uri,
java.lang.String localName)</PRE>
<DL>
<DD>Look up an attribute's type by Namespace name.
<p>See <A
HREF="../../../org/xml/sax/Attributes.html#getType(int)"><CODE>getType(int)</CODE></A>
for a description
of the possible types.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
String if the
name has no Namespace URI.<DD><CODE>localName</CODE> - The local name
of the attribute.<DT><B>Returns:</B><DD>The attribute type as a string, or null
if the
attribute is not in the list or if Namespace
processing is not being performed.</DL>
</DD>
</DL>
<HR>
<A NAME="getType(java.lang.String)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(java.lang.String qName)</PRE>
<DL>
<DD>Look up an attribute's type by XML 1.0 qualified name.
<p>See <A
HREF="../../../org/xml/sax/Attributes.html#getType(int)"><CODE>getType(int)</CODE></A>
for a description
of the possible types.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The XML 1.0 qualified
name.<DT><B>Returns:</B><DD>The attribute type as a string, or null if the
attribute is not in the list or if qualified names
are not available.</DL>
</DD>
</DL>
<HR>
<A NAME="getValue(java.lang.String, java.lang.String)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(java.lang.String uri,
java.lang.String localName)</PRE>
<DL>
<DD>Look up an attribute's value by Namespace name.
<p>See <A
HREF="../../../org/xml/sax/Attributes.html#getValue(int)"><CODE>getValue(int)</CODE></A>
for a description
of the possible values.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
String if the
name has no Namespace URI.<DD><CODE>localName</CODE> - The local name
of the attribute.<DT><B>Returns:</B><DD>The attribute value as a string, or
null if the
attribute is not in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="getValue(java.lang.String)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(java.lang.String qName)</PRE>
<DL>
<DD>Look up an attribute's value by XML 1.0 qualified name.
<p>See <A
HREF="../../../org/xml/sax/Attributes.html#getValue(int)"><CODE>getValue(int)</CODE></A>
for a description
of the possible values.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The XML 1.0 qualified
name.<DT><B>Returns:</B><DD>The attribute value as a string, or null if the
attribute is not in the list or if qualified names
are not available.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/AttributeList.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/ContentHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Attributes.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/ContentHandler.html
Index: ContentHandler.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface ContentHandler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/Attributes.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/DocumentHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ContentHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface ContentHandler</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A>,
<A HREF="../../../org/xml/sax/helpers/XMLFilterImpl.html">XMLFilterImpl</A>,
<A
HREF="../../../org/xml/sax/helpers/XMLReaderAdapter.html">XMLReaderAdapter</A>,
<A
HREF="../../../org/xml/sax/helpers/DefaultHandler.html">DefaultHandler</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>ContentHandler</B></DL>
<P>
Receive notification of the logical content of a document.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This is the main interface that most SAX applications
implement: if the application needs to be informed of basic parsing
events, it implements this interface and registers an instance with
the SAX parser using the <A
HREF="../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)"><CODE>setContentHandler</CODE></A>
method. The parser uses the instance to report
basic document-related events like the start and end of elements
and character data.</p>
<p>The order of events in this interface is very important, and
mirrors the order of information in the document itself. For
example, all of an element's content (character data, processing
instructions, and/or subelements) will appear, in order, between
the startElement event and the corresponding endElement event.</p>
<p>This interface is similar to the now-deprecated SAX 1.0
DocumentHandler interface, but it adds support for Namespaces
and for reporting skipped entities (in non-validating XML
processors).</p>
<p>Implementors should note that there is also a Java class
<CODE>ContentHandler</CODE> in the java.net
package; that means that it's probably a bad idea to do</p>
<blockquote>
import java.net.*;
import org.xml.sax.*;
</blockquote>
<p>In fact, "import ...*" is usually a sign of sloppy programming
anyway, so the user should consider this a feature rather than a
bug.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A>,
<A HREF="../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)">characters</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Receive
notification of character data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
Receive
notification of the end of a document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)">endElement</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)</CODE>
<BR>
Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></B>(java.lang.String prefix)</CODE>
<BR>
End the scope of
a prefix-URI mapping.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[], int,
int)">ignorableWhitespace</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Receive
notification of ignorable whitespace in element content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String data)</CODE>
<BR>
Receive
notification of a processing instruction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
Receive an object
for locating the origin of SAX document events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)">skippedEntity</A></B>(java.lang.String name)</CODE>
<BR>
Receive
notification of a skipped entity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
Receive
notification of the beginning of a document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
<A
HREF="../../../org/xml/sax/Attributes.html">Attributes</A> atts)</CODE>
<BR>
Receive
notification of the beginning of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></B>(java.lang.String prefix,
java.lang.String uri)</CODE>
<BR>
Begin the scope
of a prefix-URI Namespace mapping.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
setDocumentLocator</H3>
<PRE>
public void <B>setDocumentLocator</B>(<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD>Receive an object for locating the origin of SAX document events.
<p>SAX parsers are strongly encouraged (though not absolutely
required) to supply a locator: if it does so, it must supply
the locator to the application by invoking this method before
invoking any of the other methods in the ContentHandler
interface.</p>
<p>The locator allows the application to determine the end
position of any document-related event, even if the parser is
not reporting an error. Typically, the application will
use this information for reporting its own errors (such as
character content that does not match an application's
business rules). The information returned by the locator
is probably not sufficient for use with a search engine.</p>
<p>Note that the locator will return correct information only
during the invocation of the events in this interface. The
application should not attempt to use it at any other time.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - An object that can return
the location of
any SAX document event.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startDocument()"><!-- --></A><H3>
startDocument</H3>
<PRE>
public void <B>startDocument</B>()
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the beginning of a document.
<p>The SAX parser will invoke this method only once, before any
other methods in this interface or in <A
HREF="../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A> (except
for <A
HREF="../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>setDocumentLocator</CODE></A>).</p><DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ContentHandler.html#endDocument()"><CODE>endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the end of a document.
<p>The SAX parser will invoke this method only once, and it will
be the last method invoked during the parse. The parser shall
not invoke this method until it has either abandoned parsing
(because of an unrecoverable error) or reached the end of
input.</p><DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ContentHandler.html#startDocument()"><CODE>startDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startPrefixMapping(java.lang.String, java.lang.String)"><!--
--></A><H3>
startPrefixMapping</H3>
<PRE>
public void <B>startPrefixMapping</B>(java.lang.String prefix,
java.lang.String uri)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Begin the scope of a prefix-URI Namespace mapping.
<p>The information from this event is not necessary for
normal Namespace processing: the SAX XML reader will
automatically replace prefixes for element and attribute
names when the <code>http://xml.org/sax/features/namespaces</code>
feature is <var>true</var> (the default).</p>
<p>There are cases, however, when applications need to
use prefixes in character data or in attribute values,
where they cannot safely be expanded automatically; the
start/endPrefixMapping event supplies the information
to the application to expand prefixes in those contexts
itself, if necessary.</p>
<p>Note that start/endPrefixMapping events are not
guaranteed to be properly nested relative to each-other:
all startPrefixMapping events will occur before the
corresponding <A
HREF="../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A> event,
and all <A
HREF="../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>endPrefixMapping</CODE></A>
events will occur after the corresponding <A
HREF="../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement</CODE></A> event, but
their order is not otherwise
guaranteed.</p>
<p>There should never be start/endPrefixMapping events for the
"xml" prefix, since it is predeclared and immutable.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The Namespace prefix being
declared.<DD><CODE>uri</CODE> - The Namespace URI the prefix is mapped
to.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>endPrefixMapping(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement(java.lang.String, java.lang.String,
java.lang.String, org.xml.sax.Attributes)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endPrefixMapping(java.lang.String)"><!-- --></A><H3>
endPrefixMapping</H3>
<PRE>
public void <B>endPrefixMapping</B>(java.lang.String prefix)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>End the scope of a prefix-URI mapping.
<p>See <A
HREF="../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)"><CODE>startPrefixMapping</CODE></A> for
details. This event will always occur after the corresponding
<A
HREF="../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement</CODE></A> event, but the
order of
<A
HREF="../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>endPrefixMapping</CODE></A>
events is not otherwise
guaranteed.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix that was being
mapping.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)"><CODE>startPrefixMapping(java.lang.String,
java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
<A
HREF="../../../org/xml/sax/Attributes.html">Attributes</A> atts)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the beginning of an element.
<p>The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
<A
HREF="../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement</CODE></A> event for
every startElement event
(even when the element is empty). All of the element's content will be
reported, in order, before the corresponding endElement
event.</p>
<p>This event allows up to three name components for each
element:</p>
<ol>
<li>the Namespace URI;</li>
<li>the local name; and</li>
<li>the qualified (prefixed) name.</li>
</ol>
<p>Any or all of these may be provided, depending on the
values of the <var>http://xml.org/sax/features/namespaces</var>
and the <var>http://xml.org/sax/features/namespace-prefixes</var>
properties:</p>
<ul>
<li>the Namespace URI and local name are required when
the namespaces property is <var>true</var> (the default), and are
optional when the namespaces property is <var>false</var> (if one is
specified, both must be);</li>
<li>the qualified name is required when the namespace-prefixes property
is <var>true</var>, and is optional when the namespace-prefixes property
is <var>false</var> (the default).</li>
</ul>
<p>Note that the attribute list provided will contain only
attributes with explicit values (specified or defaulted):
#IMPLIED attributes will be omitted. The attribute list
will contain attributes used for Namespace declarations
(xmlns* attributes) only if the
<code>http://xml.org/sax/features/namespace-prefixes</code>
property is true (it is false by default, and support for a
true value is optional).</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if the
element has no Namespace URI or if Namespace
processing is not being performed.<DD><CODE>localName</CODE> - The
local name (without prefix), or the
empty string if Namespace processing is not being
performed.<DD><CODE>qName</CODE> - The qualified name (with prefix),
or the
empty string if qualified names are not
available.<DD><CODE>atts</CODE> - The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the end of an element.
<p>The SAX parser will invoke this method at the end of every
element in the XML document; there will be a corresponding
<A
HREF="../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A> event for every
endElement
event (even when the element is empty).</p>
<p>For information on the names, see startElement.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if the
element has no Namespace URI or if Namespace
processing is not being performed.<DD><CODE>localName</CODE> - The
local name (without prefix), or the
empty string if Namespace processing is not being
performed.<DD><CODE>qName</CODE> - The qualified XML 1.0 name (with
prefix), or the
empty string if qualified names are not
available.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of character data.
<p>The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous character
data in a single chunk, or they may split it into several
chunks; however, all of the characters in any single event
must come from the same external entity so that the Locator
provides useful information.</p>
<p>The application must not attempt to read from the array
outside of the specified range.</p>
<p>Note that some parsers will report whitespace in element
content using the <A
HREF="../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[], int,
int)"><CODE>ignorableWhitespace</CODE></A>
method rather than this one (validating parsers <em>must</em>
do so).</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters from the XML
document.<DD><CODE>start</CODE> - The start position in the
array.<DD><CODE>length</CODE> - The number of characters to read from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[], int,
int)"><CODE>ignorableWhitespace(char[], int, int)</CODE></A>,
<A HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of ignorable whitespace in element content.
<p>Validating Parsers must use this method to report each chunk
of whitespace in element content (see the W3C XML 1.0 recommendation,
section 2.10): non-validating parsers may also use this method
if they are capable of parsing and using content models.</p>
<p>SAX parsers may return all contiguous whitespace in a single
chunk, or they may split it into several chunks; however, all of
the characters in any single event must come from the same
external entity, so that the Locator provides useful
information.</p>
<p>The application must not attempt to read from the array
outside of the specified range.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters from the XML
document.<DD><CODE>start</CODE> - The start position in the
array.<DD><CODE>length</CODE> - The number of characters to read from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)"><CODE>characters(char[], int, int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String data)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a processing instruction.
<p>The Parser will invoke this method once for each processing
instruction found: note that processing instructions may occur
before or after the main document element.</p>
<p>A SAX parser must never report an XML declaration (XML 1.0,
section 2.8) or a text declaration (XML 1.0, section 4.3.1)
using this method.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The processing instruction data, or null if
none was supplied. The data does not include any
whitespace separating it from the
target.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="skippedEntity(java.lang.String)"><!-- --></A><H3>
skippedEntity</H3>
<PRE>
public void <B>skippedEntity</B>(java.lang.String name)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a skipped entity.
<p>The Parser will invoke this method once for each entity
skipped. Non-validating processors may skip entities if they
have not seen the declarations (because, for example, the
entity was declared in an external DTD subset). All processors
may skip external entities, depending on the values of the
<code>http://xml.org/sax/features/external-general-entities</code>
and the
<code>http://xml.org/sax/features/external-parameter-entities</code>
properties.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the skipped entity.
If it is a
parameter entity, the name will begin with '%', and if
it is the external DTD subset, it will be the string
"[dtd]".<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/Attributes.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/DocumentHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ContentHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/DTDHandler.html
Index: DTDHandler.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface DTDHandler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/DocumentHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/EntityResolver.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DTDHandler.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface DTDHandler</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A>,
<A HREF="../../../org/xml/sax/HandlerBase.html">HandlerBase</A>, <A
HREF="../../../org/xml/sax/helpers/XMLFilterImpl.html">XMLFilterImpl</A>, <A
HREF="../../../org/xml/sax/helpers/DefaultHandler.html">DefaultHandler</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>DTDHandler</B></DL>
<P>
Receive notification of basic DTD-related events.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>If a SAX application needs information about notations and
unparsed entities, then the application implements this
interface and registers an instance with the SAX parser using
the parser's setDTDHandler method. The parser uses the
instance to report notation and unparsed entity declarations to
the application.</p>
<p>Note that this interface includes only those DTD events that
the XML recommendation <em>requires</em> processors to report:
notation and unparsed entity declarations.</p>
<p>The SAX parser may report these events in any order, regardless
of the order in which the notations and unparsed entities were
declared; however, all DTD events must be reported after the
document handler's startDocument event, and before the first
startElement event.</p>
<p>It is up to the application to store the information for
future use (perhaps in a hash table or object tree).
If the application encounters attributes of type "NOTATION",
"ENTITY", or "ENTITIES", it can use the information that it
obtained through this interface to find the entity and/or
notation corresponding with the attribute value.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#setDTDHandler(org.xml.sax.DTDHandler)"><CODE>Parser.setDTDHandler(org.xml.sax.DTDHandler)</CODE></A>,
<A
HREF="../../../org/xml/sax/HandlerBase.html"><CODE>HandlerBase</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)">notationDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Receive
notification of a notation declaration event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)</CODE>
<BR>
Receive
notification of an unparsed entity declaration event.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="notationDecl(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
notationDecl</H3>
<PRE>
public void <B>notationDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a notation declaration event.
<p>It is up to the application to record the notation for later
reference, if necessary.</p>
<p>At least one of publicId and systemId must be non-null.
If a system identifier is present, and it is a URL, the SAX
parser must resolve it fully before passing it to the
application through this event.</p>
<p>There is no guarantee that the notation declaration will be
reported before any unparsed entities that use it.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The notation
name.<DD><CODE>publicId</CODE> - The notation's public identifier, or null if
none was given.<DD><CODE>systemId</CODE> - The notation's system
identifier, or null if
none was given.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>unparsedEntityDecl(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="unparsedEntityDecl(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)"><!-- --></A><H3>
unparsedEntityDecl</H3>
<PRE>
public void <B>unparsedEntityDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of an unparsed entity declaration event.
<p>Note that the notation name corresponds to a notation
reported by the <A
HREF="../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)"><CODE>notationDecl</CODE></A> event.
It is up to the application to record the entity for later
reference, if necessary.</p>
<p>If the system identifier is a URL, the parser must resolve it
fully before passing it to the application.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The unparsed entity's
name.<DD><CODE>publicId</CODE> - The entity's public identifier, or null if none
was given.<DD><CODE>systemId</CODE> - The entity's system
identifier.<DD><CODE>notation</CODE> - name The name of the associated
notation.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)"><CODE>notationDecl(java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/DocumentHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/EntityResolver.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DTDHandler.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/DocumentHandler.html
Index: DocumentHandler.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface DocumentHandler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/ContentHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/DTDHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DocumentHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface DocumentHandler</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A>,
<A HREF="../../../org/xml/sax/HandlerBase.html">HandlerBase</A>, <A
HREF="../../../org/apache/html/dom/HTMLBuilder.html">HTMLBuilder</A>, <A
HREF="../../../org/xml/sax/helpers/ParserAdapter.html">ParserAdapter</A></DD>
</DL>
<HR>
<B>Deprecated.</B> <I>This interface has been replaced by the SAX2
<A
HREF="../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
interface, which includes Namespace support.</I>
<P>
<DL>
<DT>public interface <B>DocumentHandler</B></DL>
<P>
Receive notification of general document events.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This was the main event-handling interface for SAX1; in
SAX2, it has been replaced by <A
HREF="../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>,
which provides Namespace support and reporting
of skipped entities. This interface is included in SAX2 only
to support legacy SAX1 applications.</p>
<p>The order of events in this interface is very important, and
mirrors the order of information in the document itself. For
example, all of an element's content (character data, processing
instructions, and/or subelements) will appear, in order, between
the startElement event and the corresponding endElement event.</p>
<p>Application writers who do not want to implement the entire
interface can derive a class from HandlerBase, which implements
the default functionality; parser writers can instantiate
HandlerBase to obtain a default handler. The application can find
the location of any document event using the Locator interface
supplied by the Parser through the setDocumentLocator method.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#setDocumentHandler(org.xml.sax.DocumentHandler)"><CODE>Parser.setDocumentHandler(org.xml.sax.DocumentHandler)</CODE></A>,
<A HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A>,
<A
HREF="../../../org/xml/sax/HandlerBase.html"><CODE>HandlerBase</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DocumentHandler.html#characters(char[], int,
int)">characters</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of character data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DocumentHandler.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of the end of a document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)">endElement</A></B>(java.lang.String name)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DocumentHandler.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of ignorable whitespace in element content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DocumentHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String data)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of a processing instruction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DocumentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
<B>Deprecated.</B> Receive
an object for locating the origin of SAX document events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DocumentHandler.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of the beginning of a document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></B>(java.lang.String name,
<A
HREF="../../../org/xml/sax/AttributeList.html">AttributeList</A> atts)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of the beginning of an element.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
setDocumentLocator</H3>
<PRE>
public void <B>setDocumentLocator</B>(<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive an object for locating the origin of
SAX document events.
<p>SAX parsers are strongly encouraged (though not absolutely
required) to supply a locator: if it does so, it must supply
the locator to the application by invoking this method before
invoking any of the other methods in the DocumentHandler
interface.</p>
<p>The locator allows the application to determine the end
position of any document-related event, even if the parser is
not reporting an error. Typically, the application will
use this information for reporting its own errors (such as
character content that does not match an application's
business rules). The information returned by the locator
is probably not sufficient for use with a search engine.</p>
<p>Note that the locator will return correct information only
during the invocation of the events in this interface. The
application should not attempt to use it at any other time.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - An object that can return
the location of
any SAX document event.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startDocument()"><!-- --></A><H3>
startDocument</H3>
<PRE>
public void <B>startDocument</B>()
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of the beginning of a
document.
<p>The SAX parser will invoke this method only once, before any
other methods in this interface or in DTDHandler (except for
setDocumentLocator).</p><DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of the end of a document.
<p>The SAX parser will invoke this method only once, and it will
be the last method invoked during the parse. The parser shall
not invoke this method until it has either abandoned parsing
(because of an unrecoverable error) or reached the end of
input.</p><DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, org.xml.sax.AttributeList)"><!--
--></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String name,
<A
HREF="../../../org/xml/sax/AttributeList.html">AttributeList</A> atts)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of the beginning of an
element.
<p>The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
endElement() event for every startElement() event (even when the
element is empty). All of the element's content will be
reported, in order, before the corresponding endElement()
event.</p>
<p>If the element name has a namespace prefix, the prefix will
still be attached. Note that the attribute list provided will
contain only attributes with explicit values (specified or
defaulted): #IMPLIED attributes will be omitted.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>atts</CODE> - The attributes attached to the element, if
any.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)"><CODE>endElement(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String name)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of the end of an element.
<p>The SAX parser will invoke this method at the end of every
element in the XML document; there will be a corresponding
startElement() event for every endElement() event (even when the
element is empty).</p>
<p>If the element name has a namespace prefix, the prefix will
still be attached to the name.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of character data.
<p>The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous character
data in a single chunk, or they may split it into several
chunks; however, all of the characters in any single event
must come from the same external entity, so that the Locator
provides useful information.</p>
<p>The application must not attempt to read from the array
outside of the specified range.</p>
<p>Note that some parsers will report whitespace using the
ignorableWhitespace() method rather than this one (validating
parsers must do so).</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters from the XML
document.<DD><CODE>start</CODE> - The start position in the
array.<DD><CODE>length</CODE> - The number of characters to read from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ignorableWhitespace(char[], int, int)</CODE></A>,
<A HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of ignorable whitespace
in element content.
<p>Validating Parsers must use this method to report each chunk
of ignorable whitespace (see the W3C XML 1.0 recommendation,
section 2.10): non-validating parsers may also use this method
if they are capable of parsing and using content models.</p>
<p>SAX parsers may return all contiguous whitespace in a single
chunk, or they may split it into several chunks; however, all of
the characters in any single event must come from the same
external entity, so that the Locator provides useful
information.</p>
<p>The application must not attempt to read from the array
outside of the specified range.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters from the XML
document.<DD><CODE>start</CODE> - The start position in the
array.<DD><CODE>length</CODE> - The number of characters to read from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#characters(char[], int,
int)"><CODE>characters(char[], int, int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String data)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of a processing
instruction.
<p>The Parser will invoke this method once for each processing
instruction found: note that processing instructions may occur
before or after the main document element.</p>
<p>A SAX parser should never report an XML declaration (XML 1.0,
section 2.8) or a text declaration (XML 1.0, section 4.3.1)
using this method.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The processing instruction data, or null if
none was supplied.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/ContentHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/DTDHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DocumentHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/EntityResolver.html
Index: EntityResolver.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface EntityResolver
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/DTDHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/ErrorHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="EntityResolver.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface EntityResolver</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/xml/sax/HandlerBase.html">HandlerBase</A>, <A
HREF="../../../org/xml/sax/helpers/XMLFilterImpl.html">XMLFilterImpl</A>, <A
HREF="../../../org/xml/sax/helpers/DefaultHandler.html">DefaultHandler</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>EntityResolver</B></DL>
<P>
Basic interface for resolving entities.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>If a SAX application needs to implement customized handling
for external entities, it must implement this interface and
register an instance with the SAX driver using the
<A
HREF="../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>setEntityResolver</CODE></A>
method.</p>
<p>The XML reader will then allow the application to intercept any
external entities (including the external DTD subset and external
parameter entities, if any) before including them.</p>
<p>Many SAX applications will not need to implement this interface,
but it will be especially useful for applications that build
XML documents from databases or other specialised input sources,
or for applications that use URI types other than URLs.</p>
<p>The following resolver would provide the application
with a special character stream for the entity with the system
identifier "http://www.myhost.com/today":</p>
<pre>
import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
public class MyResolver implements EntityResolver {
public InputSource resolveEntity (String publicId, String systemId)
{
if (systemId.equals("http://www.myhost.com/today")) {
// return a special input source
MyReader reader = new MyReader();
return new InputSource(reader);
} else {
// use the default behaviour
return null;
}
}
}
</pre>
<p>The application can also use this interface to redirect system
identifiers to local URIs or to look up replacements in a catalog
(possibly by using the public identifier).</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>Parser.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html"><CODE>InputSource</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../org/xml/sax/InputSource.html">InputSource</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,
java.lang.String)">resolveEntity</A></B>(java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Allow the
application to resolve external entities.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3>
resolveEntity</H3>
<PRE>
public <A HREF="../../../org/xml/sax/InputSource.html">InputSource</A>
<B>resolveEntity</B>(java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A>,
java.io.IOException</PRE>
<DL>
<DD>Allow the application to resolve external entities.
<p>The Parser will call this method before opening any external
entity except the top-level document entity (including the
external DTD subset, external entities referenced within the
DTD, and external entities referenced within the document
element): the application may request that the parser resolve
the entity itself, that it use an alternative URI, or that it
use an entirely different input source.</p>
<p>Application writers can use this method to redirect external
system identifiers to secure and/or local URIs, to look up
public identifiers in a catalogue, or to read an entity from a
database or other input source (including, for example, a dialog
box).</p>
<p>If the system identifier is a URL, the SAX parser must
resolve it fully before reporting it to the application.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>publicId</CODE> - The public identifier of
the external entity
being referenced, or null if none was
supplied.<DD><CODE>systemId</CODE> - The system identifier of the external
entity
being referenced.<DT><B>Returns:</B><DD>An InputSource object
describing the new input source,
or null to request that the parser open a regular
URI connection to the system
identifier.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DD><CODE>java.io.IOException</CODE> -
A Java-specific IO exception,
possibly the result of creating a new InputStream
or Reader for the InputSource.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html"><CODE>InputSource</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/DTDHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/ErrorHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="EntityResolver.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/ErrorHandler.html
Index: ErrorHandler.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface ErrorHandler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/EntityResolver.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/Locator.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ErrorHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface ErrorHandler</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/xml/sax/HandlerBase.html">HandlerBase</A>, <A
HREF="../../../org/xml/sax/helpers/XMLFilterImpl.html">XMLFilterImpl</A>, <A
HREF="../../../org/xml/sax/helpers/DefaultHandler.html">DefaultHandler</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>ErrorHandler</B></DL>
<P>
Basic interface for SAX error handlers.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>If a SAX application needs to implement customized error
handling, it must implement this interface and then register an
instance with the XML reader using the
<A
HREF="../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)"><CODE>setErrorHandler</CODE></A>
method. The parser will then report all errors and warnings
through this interface.</p>
<p><strong>WARNING:</strong> If an application does <em>not</em>
register an ErrorHandler, XML parsing errors will go unreported
and bizarre behaviour may result.</p>
<p>For XML processing errors, a SAX driver must use this interface
instead of throwing an exception: it is up to the application
to decide whether to throw an exception for different types of
errors and warnings. Note, however, that there is no requirement that
the parser continue to provide useful information after a call to
<A
HREF="../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)"><CODE>fatalError</CODE></A>
(in other words, a SAX driver class
could catch an exception and report a fatalError).</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#setErrorHandler(org.xml.sax.ErrorHandler)"><CODE>Parser.setErrorHandler(org.xml.sax.ErrorHandler)</CODE></A>,
<A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ErrorHandler.html#error(org.xml.sax.SAXParseException)">error</A></B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exception)</CODE>
<BR>
Receive
notification of a recoverable error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exception)</CODE>
<BR>
Receive
notification of a non-recoverable error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)">warning</A></B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exception)</CODE>
<BR>
Receive
notification of a warning.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="warning(org.xml.sax.SAXParseException)"><!-- --></A><H3>
warning</H3>
<PRE>
public void <B>warning</B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exception)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a warning.
<p>SAX parsers will use this method to report conditions that
are not errors or fatal errors as defined by the XML 1.0
recommendation. The default behaviour is to take no action.</p>
<p>The SAX parser must continue to provide normal parsing events
after invoking this method: it should still be possible for the
application to process the document through to the end.</p>
<p>Filters may use this method to report other, non-XML warnings
as well.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>exception</CODE> - The warning information
encapsulated in a
SAX parse exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="error(org.xml.sax.SAXParseException)"><!-- --></A><H3>
error</H3>
<PRE>
public void <B>error</B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exception)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a recoverable error.
<p>This corresponds to the definition of "error" in section 1.2
of the W3C XML 1.0 Recommendation. For example, a validating
parser would use this callback to report the violation of a
validity constraint. The default behaviour is to take no
action.</p>
<p>The SAX parser must continue to provide normal parsing events
after invoking this method: it should still be possible for the
application to process the document through to the end. If the
application cannot do so, then the parser should report a fatal
error even if the XML 1.0 recommendation does not require it to
do so.</p>
<p>Filters may use this method to report other, non-XML errors
as well.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>exception</CODE> - The error information
encapsulated in a
SAX parse exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="fatalError(org.xml.sax.SAXParseException)"><!-- --></A><H3>
fatalError</H3>
<PRE>
public void <B>fatalError</B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exception)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a non-recoverable error.
<p>This corresponds to the definition of "fatal error" in
section 1.2 of the W3C XML 1.0 Recommendation. For example, a
parser would use this callback to report the violation of a
well-formedness constraint.</p>
<p>The application must assume that the document is unusable
after the parser has invoked this method, and should continue
(if at all) only for the sake of collecting addition error
messages: in fact, SAX parsers are free to stop reporting any
other events once this method has been invoked.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>exception</CODE> - The error information
encapsulated in a
SAX parse exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/EntityResolver.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/Locator.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ErrorHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/HandlerBase.html
Index: HandlerBase.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class HandlerBase
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../org/xml/sax/InputSource.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="HandlerBase.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Class HandlerBase</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.HandlerBase</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A>, <A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></DD>
</DL>
<HR>
<B>Deprecated.</B> <I>This class works with the deprecated
<A
HREF="../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>
interface. It has been replaced by the SAX2
<A
HREF="../../../org/xml/sax/helpers/DefaultHandler.html"><CODE>DefaultHandler</CODE></A>
class.</I>
<P>
<DL>
<DT>public class <B>HandlerBase</B><DT>extends java.lang.Object<DT>implements
<A HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A>, <A
HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></DL>
<P>
Default base class for handlers.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class implements the default behaviour for four SAX1
interfaces: EntityResolver, DTDHandler, DocumentHandler,
and ErrorHandler. It is now obsolete, but is included in SAX2 to
support legacy SAX1 applications. SAX2 applications should use
the <A
HREF="../../../org/xml/sax/helpers/DefaultHandler.html"><CODE>DefaultHandler</CODE></A>
class instead.</p>
<p>Application writers can extend this class when they need to
implement only part of an interface; parser writers can
instantiate this class to provide default handlers when the
application has not supplied its own.</p>
<p>Note that the use of this class is optional.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/EntityResolver.html"><CODE>EntityResolver</CODE></A>,
<A HREF="../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#HandlerBase()">HandlerBase</A></B>()</CODE>
<BR>
<B>Deprecated.</B> </TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#characters(char[], int,
int)">characters</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of character data inside an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of the end of the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#endElement(java.lang.String)">endElement</A></B>(java.lang.String name)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#error(org.xml.sax.SAXParseException)">error</A></B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of a recoverable parser error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
<B>Deprecated.</B> Report
a fatal XML parsing error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#ignorableWhitespace(char[], int,
int)">ignorableWhitespace</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of ignorable whitespace in element content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)">notationDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of a notation declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String data)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of a processing instruction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../org/xml/sax/InputSource.html">InputSource</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#resolveEntity(java.lang.String,
java.lang.String)">resolveEntity</A></B>(java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
<B>Deprecated.</B> Resolve
an external entity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
<B>Deprecated.</B> Receive
a Locator object for document events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of the beginning of the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></B>(java.lang.String name,
<A
HREF="../../../org/xml/sax/AttributeList.html">AttributeList</A> attributes)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of the start of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of an unparsed entity declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/HandlerBase.html#warning(org.xml.sax.SAXParseException)">warning</A></B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
<B>Deprecated.</B> Receive
notification of a parser warning.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="HandlerBase()"><!-- --></A><H3>
HandlerBase</H3>
<PRE>
public <B>HandlerBase</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3>
resolveEntity</H3>
<PRE>
public <A HREF="../../../org/xml/sax/InputSource.html">InputSource</A>
<B>resolveEntity</B>(java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Resolve an external entity.
<p>Always return null, so that the parser will use the system
identifier provided in the XML document. This method implements
the SAX default behaviour: application writers can override it
in a subclass to do special translations such as catalog lookups
or URI redirection.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,
java.lang.String)">resolveEntity</A></CODE> in interface <CODE><A
HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>publicId</CODE> - The public identifer, or
null if none is
available.<DD><CODE>systemId</CODE> - The system identifier
provided in the XML
document.<DT><B>Returns:</B><DD>The new input source, or
null to require the
default behaviour.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,
java.lang.String)"><CODE>EntityResolver.resolveEntity(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="notationDecl(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
notationDecl</H3>
<PRE>
public void <B>notationDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of a notation
declaration.
<p>By default, do nothing. Application writers may override this
method in a subclass if they wish to keep track of the notations
declared in a document.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)">notationDecl</A></CODE> in interface
<CODE><A HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The notation
name.<DD><CODE>publicId</CODE> - The notation public identifier, or null if not
available.<DD><CODE>systemId</CODE> - The notation system
identifier.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>DTDHandler.notationDecl(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="unparsedEntityDecl(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)"><!-- --></A><H3>
unparsedEntityDecl</H3>
<PRE>
public void <B>unparsedEntityDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of an unparsed entity
declaration.
<p>By default, do nothing. Application writers may override this
method in a subclass to keep track of the unparsed entities
declared in a document.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></CODE> in interface <CODE><A
HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The entity
name.<DD><CODE>publicId</CODE> - The entity public identifier, or null if not
available.<DD><CODE>systemId</CODE> - The entity system
identifier.<DD><CODE>notationName</CODE> - The name of the associated
notation.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
setDocumentLocator</H3>
<PRE>
public void <B>setDocumentLocator</B>(<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive a Locator object for document events.
<p>By default, do nothing. Application writers may override this
method in a subclass if they wish to store the locator for use
with other document events.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></CODE>
in interface <CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - A locator for all SAX
document events.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>DocumentHandler.setDocumentLocator(org.xml.sax.Locator)</CODE></A>,
<A HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startDocument()"><!-- --></A><H3>
startDocument</H3>
<PRE>
public void <B>startDocument</B>()
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of the beginning of the
document.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the beginning
of a document (such as allocating the root node of a tree or
creating an output file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html#startDocument()">startDocument</A></CODE>
in interface <CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#startDocument()"><CODE>DocumentHandler.startDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of the end of the
document.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the beginning
of a document (such as finalising a tree or closing an output
file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html#endDocument()">endDocument</A></CODE>
in interface <CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#endDocument()"><CODE>DocumentHandler.endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, org.xml.sax.AttributeList)"><!--
--></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String name,
<A
HREF="../../../org/xml/sax/AttributeList.html">AttributeList</A> attributes)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of the start of an
element.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the start of
each element (such as allocating a new tree node or writing
output to a file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></CODE> in interface <CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>attributes</CODE> - The specified or defaulted
attributes.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)"><CODE>DocumentHandler.startElement(java.lang.String,
org.xml.sax.AttributeList)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String name)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of the end of an element.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end of
each element (such as finalising a tree node or writing
output to a file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)">endElement</A></CODE>
in interface <CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>attributes</CODE> - The specified or defaulted
attributes.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)"><CODE>DocumentHandler.endElement(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of character data inside
an element.
<p>By default, do nothing. Application writers may override this
method to take specific actions for each chunk of character data
(such as adding the data to a node or buffer, or printing it to
a file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html#characters(char[], int,
int)">characters</A></CODE> in interface <CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The
characters.<DD><CODE>start</CODE> - The start position in the character
array.<DD><CODE>length</CODE> - The number of characters to use from the
character array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#characters(char[], int,
int)"><CODE>DocumentHandler.characters(char[], int, int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of ignorable whitespace
in element content.
<p>By default, do nothing. Application writers may override this
method to take specific actions for each chunk of ignorable
whitespace (such as adding data to a node or buffer, or printing
it to a file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></CODE> in interface <CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The whitespace
characters.<DD><CODE>start</CODE> - The start position in the character
array.<DD><CODE>length</CODE> - The number of characters to use from the
character array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>DocumentHandler.ignorableWhitespace(char[], int,
int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String data)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of a processing
instruction.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions for each
processing instruction, such as setting status variables or
invoking other methods.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></CODE> in interface <CODE><A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The processing instruction data, or null if
none is supplied.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html#processingInstruction(java.lang.String,
java.lang.String)"><CODE>DocumentHandler.processingInstruction(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="warning(org.xml.sax.SAXParseException)"><!-- --></A><H3>
warning</H3>
<PRE>
public void <B>warning</B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of a parser warning.
<p>The default implementation does nothing. Application writers
may override this method in a subclass to take specific actions
for each warning, such as inserting the message in a log file or
printing it to the console.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)">warning</A></CODE>
in interface <CODE><A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The warning information encoded as
an exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.warning(org.xml.sax.SAXParseException)</CODE></A>,
<A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="error(org.xml.sax.SAXParseException)"><!-- --></A><H3>
error</H3>
<PRE>
public void <B>error</B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Receive notification of a recoverable parser
error.
<p>The default implementation does nothing. Application writers
may override this method in a subclass to take specific actions
for each error, such as inserting the message in a log file or
printing it to the console.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/ErrorHandler.html#error(org.xml.sax.SAXParseException)">error</A></CODE>
in interface <CODE><A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The warning information encoded as
an exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.warning(org.xml.sax.SAXParseException)</CODE></A>,
<A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="fatalError(org.xml.sax.SAXParseException)"><!-- --></A><H3>
fatalError</H3>
<PRE>
public void <B>fatalError</B>(<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Report a fatal XML parsing error.
<p>The default implementation throws a SAXParseException.
Application writers may override this method in a subclass if
they need to take specific actions for each fatal error (such as
collecting all of the errors into a single report): in any case,
the application must stop all regular processing when this
method is invoked, since the document is no longer reliable, and
the parser may no longer report parsing events.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></CODE>
in interface <CODE><A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The error information encoded as
an exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.fatalError(org.xml.sax.SAXParseException)</CODE></A>,
<A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../org/xml/sax/InputSource.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="HandlerBase.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/InputSource.html
Index: InputSource.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class InputSource
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/HandlerBase.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="InputSource.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Class InputSource</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.InputSource</B>
</PRE>
<HR>
<DL>
<DT>public class <B>InputSource</B><DT>extends java.lang.Object</DL>
<P>
A single input source for an XML entity.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class allows a SAX application to encapsulate information
about an input source in a single object, which may include
a public identifier, a system identifier, a byte stream (possibly
with a specified encoding), and/or a character stream.</p>
<p>There are two places that the application will deliver this
input source to the parser: as the argument to the Parser.parse
method, or as the return value of the EntityResolver.resolveEntity
method.</p>
<p>The SAX parser will use the InputSource object to determine how
to read XML input. If there is a character stream available, the
parser will read that stream directly; if not, the parser will use
a byte stream, if available; if neither a character stream nor a
byte stream is available, the parser will attempt to open a URI
connection to the resource identified by the system
identifier.</p>
<p>An InputSource object belongs to the application: the SAX parser
shall never modify it in any way (it may modify a copy if
necessary).</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#parse(org.xml.sax.InputSource)"><CODE>Parser.parse(org.xml.sax.InputSource)</CODE></A>,
<A
HREF="../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,
java.lang.String)"><CODE>EntityResolver.resolveEntity(java.lang.String,
java.lang.String)</CODE></A>,
<CODE>InputStream</CODE>,
<CODE>Reader</CODE></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#InputSource()">InputSource</A></B>()</CODE>
<BR>
Zero-argument
default constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#InputSource(java.io.InputStream)">InputSource</A></B>(java.io.InputStream byteStream)</CODE>
<BR>
Create a new
input source with a byte stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#InputSource(java.io.Reader)">InputSource</A></B>(java.io.Reader characterStream)</CODE>
<BR>
Create a new
input source with a character stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#InputSource(java.lang.String)">InputSource</A></B>(java.lang.String systemId)</CODE>
<BR>
Create a new
input source with a system identifier.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.InputStream</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#getByteStream()">getByteStream</A></B>()</CODE>
<BR>
Get the byte
stream for this input source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.Reader</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#getCharacterStream()">getCharacterStream</A></B>()</CODE>
<BR>
Get the character
stream for this input source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#getEncoding()">getEncoding</A></B>()</CODE>
<BR>
Get the character
encoding for a byte stream or URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#getPublicId()">getPublicId</A></B>()</CODE>
<BR>
Get the public
identifier for this input source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#getSystemId()">getSystemId</A></B>()</CODE>
<BR>
Get the system
identifier for this input source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#setByteStream(java.io.InputStream)">setByteStream</A></B>(java.io.InputStream byteStream)</CODE>
<BR>
Set the byte
stream for this input source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#setCharacterStream(java.io.Reader)">setCharacterStream</A></B>(java.io.Reader characterStream)</CODE>
<BR>
Set the character
stream for this input source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE>
<BR>
Set the character
encoding, if known.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#setPublicId(java.lang.String)">setPublicId</A></B>(java.lang.String publicId)</CODE>
<BR>
Set the public
identifier for this input source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/InputSource.html#setSystemId(java.lang.String)">setSystemId</A></B>(java.lang.String systemId)</CODE>
<BR>
Set the system
identifier for this input source.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="InputSource()"><!-- --></A><H3>
InputSource</H3>
<PRE>
public <B>InputSource</B>()</PRE>
<DL>
<DD>Zero-argument default constructor.<DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setPublicId(java.lang.String)"><CODE>setPublicId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setSystemId(java.lang.String)"><CODE>setSystemId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setByteStream(java.io.InputStream)"><CODE>setByteStream(java.io.InputStream)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setCharacterStream(java.io.Reader)"><CODE>setCharacterStream(java.io.Reader)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setEncoding(java.lang.String)"><CODE>setEncoding(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="InputSource(java.lang.String)"><!-- --></A><H3>
InputSource</H3>
<PRE>
public <B>InputSource</B>(java.lang.String systemId)</PRE>
<DL>
<DD>Create a new input source with a system identifier.
<p>Applications may use setPublicId to include a
public identifier as well, or setEncoding to specify
the character encoding, if known.</p>
<p>If the system identifier is a URL, it must be full resolved.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The system identifier
(URI).<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setPublicId(java.lang.String)"><CODE>setPublicId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setSystemId(java.lang.String)"><CODE>setSystemId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setByteStream(java.io.InputStream)"><CODE>setByteStream(java.io.InputStream)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setEncoding(java.lang.String)"><CODE>setEncoding(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setCharacterStream(java.io.Reader)"><CODE>setCharacterStream(java.io.Reader)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="InputSource(java.io.InputStream)"><!-- --></A><H3>
InputSource</H3>
<PRE>
public <B>InputSource</B>(java.io.InputStream byteStream)</PRE>
<DL>
<DD>Create a new input source with a byte stream.
<p>Application writers may use setSystemId to provide a base
for resolving relative URIs, setPublicId to include a
public identifier, and/or setEncoding to specify the object's
character encoding.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>byteStream</CODE> - The raw byte stream
containing the document.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setPublicId(java.lang.String)"><CODE>setPublicId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setSystemId(java.lang.String)"><CODE>setSystemId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setEncoding(java.lang.String)"><CODE>setEncoding(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setByteStream(java.io.InputStream)"><CODE>setByteStream(java.io.InputStream)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setCharacterStream(java.io.Reader)"><CODE>setCharacterStream(java.io.Reader)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="InputSource(java.io.Reader)"><!-- --></A><H3>
InputSource</H3>
<PRE>
public <B>InputSource</B>(java.io.Reader characterStream)</PRE>
<DL>
<DD>Create a new input source with a character stream.
<p>Application writers may use setSystemId() to provide a base
for resolving relative URIs, and setPublicId to include a
public identifier.</p>
<p>The character stream shall not include a byte order mark.</p><DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setPublicId(java.lang.String)"><CODE>setPublicId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setSystemId(java.lang.String)"><CODE>setSystemId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setByteStream(java.io.InputStream)"><CODE>setByteStream(java.io.InputStream)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setCharacterStream(java.io.Reader)"><CODE>setCharacterStream(java.io.Reader)</CODE></A></DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setPublicId(java.lang.String)"><!-- --></A><H3>
setPublicId</H3>
<PRE>
public void <B>setPublicId</B>(java.lang.String publicId)</PRE>
<DL>
<DD>Set the public identifier for this input source.
<p>The public identifier is always optional: if the application
writer includes one, it will be provided as part of the
location information.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>publicId</CODE> - The public identifier as a
string.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#getPublicId()"><CODE>getPublicId()</CODE></A>,
<A
HREF="../../../org/xml/sax/Locator.html#getPublicId()"><CODE>Locator.getPublicId()</CODE></A>,
<A
HREF="../../../org/xml/sax/SAXParseException.html#getPublicId()"><CODE>SAXParseException.getPublicId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getPublicId()"><!-- --></A><H3>
getPublicId</H3>
<PRE>
public java.lang.String <B>getPublicId</B>()</PRE>
<DL>
<DD>Get the public identifier for this input source.<DD><DL>
<DT><B>Returns:</B><DD>The public identifier, or null if none was
supplied.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setPublicId(java.lang.String)"><CODE>setPublicId(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setSystemId(java.lang.String)"><!-- --></A><H3>
setSystemId</H3>
<PRE>
public void <B>setSystemId</B>(java.lang.String systemId)</PRE>
<DL>
<DD>Set the system identifier for this input source.
<p>The system identifier is optional if there is a byte stream
or a character stream, but it is still useful to provide one,
since the application can use it to resolve relative URIs
and can include it in error messages and warnings (the parser
will attempt to open a connection to the URI only if
there is no byte stream or character stream specified).</p>
<p>If the application knows the character encoding of the
object pointed to by the system identifier, it can register
the encoding using the setEncoding method.</p>
<p>If the system ID is a URL, it must be fully resolved.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The system identifier as a
string.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setEncoding(java.lang.String)"><CODE>setEncoding(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#getSystemId()"><CODE>getSystemId()</CODE></A>,
<A
HREF="../../../org/xml/sax/Locator.html#getSystemId()"><CODE>Locator.getSystemId()</CODE></A>,
<A
HREF="../../../org/xml/sax/SAXParseException.html#getSystemId()"><CODE>SAXParseException.getSystemId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getSystemId()"><!-- --></A><H3>
getSystemId</H3>
<PRE>
public java.lang.String <B>getSystemId</B>()</PRE>
<DL>
<DD>Get the system identifier for this input source.
<p>The getEncoding method will return the character encoding
of the object pointed to, or null if unknown.</p>
<p>If the system ID is a URL, it will be fully resolved.</p><DD><DL>
<DT><B>Returns:</B><DD>The system identifier.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setSystemId(java.lang.String)"><CODE>setSystemId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#getEncoding()"><CODE>getEncoding()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setByteStream(java.io.InputStream)"><!-- --></A><H3>
setByteStream</H3>
<PRE>
public void <B>setByteStream</B>(java.io.InputStream byteStream)</PRE>
<DL>
<DD>Set the byte stream for this input source.
<p>The SAX parser will ignore this if there is also a character
stream specified, but it will use a byte stream in preference
to opening a URI connection itself.</p>
<p>If the application knows the character encoding of the
byte stream, it should set it with the setEncoding method.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>byteStream</CODE> - A byte stream containing
an XML document or
other entity.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setEncoding(java.lang.String)"><CODE>setEncoding(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#getByteStream()"><CODE>getByteStream()</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#getEncoding()"><CODE>getEncoding()</CODE></A>,
<CODE>InputStream</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getByteStream()"><!-- --></A><H3>
getByteStream</H3>
<PRE>
public java.io.InputStream <B>getByteStream</B>()</PRE>
<DL>
<DD>Get the byte stream for this input source.
<p>The getEncoding method will return the character
encoding for this byte stream, or null if unknown.</p><DD><DL>
<DT><B>Returns:</B><DD>The byte stream, or null if none was
supplied.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#getEncoding()"><CODE>getEncoding()</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setByteStream(java.io.InputStream)"><CODE>setByteStream(java.io.InputStream)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
setEncoding</H3>
<PRE>
public void <B>setEncoding</B>(java.lang.String encoding)</PRE>
<DL>
<DD>Set the character encoding, if known.
<p>The encoding must be a string acceptable for an
XML encoding declaration (see section 4.3.3 of the XML 1.0
recommendation).</p>
<p>This method has no effect when the application provides a
character stream.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>encoding</CODE> - A string describing the
character encoding.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setSystemId(java.lang.String)"><CODE>setSystemId(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#setByteStream(java.io.InputStream)"><CODE>setByteStream(java.io.InputStream)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#getEncoding()"><CODE>getEncoding()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getEncoding()"><!-- --></A><H3>
getEncoding</H3>
<PRE>
public java.lang.String <B>getEncoding</B>()</PRE>
<DL>
<DD>Get the character encoding for a byte stream or URI.<DD><DL>
<DT><B>Returns:</B><DD>The encoding, or null if none was supplied.<DT><B>See
Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setByteStream(java.io.InputStream)"><CODE>setByteStream(java.io.InputStream)</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#getSystemId()"><CODE>getSystemId()</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html#getByteStream()"><CODE>getByteStream()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setCharacterStream(java.io.Reader)"><!-- --></A><H3>
setCharacterStream</H3>
<PRE>
public void
<B>setCharacterStream</B>(java.io.Reader characterStream)</PRE>
<DL>
<DD>Set the character stream for this input source.
<p>If there is a character stream specified, the SAX parser
will ignore any byte stream and will not attempt to open
a URI connection to the system identifier.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>characterStream</CODE> - The character stream
containing the
XML document or other entity.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#getCharacterStream()"><CODE>getCharacterStream()</CODE></A>,
<CODE>Reader</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getCharacterStream()"><!-- --></A><H3>
getCharacterStream</H3>
<PRE>
public java.io.Reader <B>getCharacterStream</B>()</PRE>
<DL>
<DD>Get the character stream for this input source.<DD><DL>
<DT><B>Returns:</B><DD>The character stream, or null if none was
supplied.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html#setCharacterStream(java.io.Reader)"><CODE>setCharacterStream(java.io.Reader)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/HandlerBase.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="InputSource.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/Locator.html
Index: Locator.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface Locator
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/ErrorHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/Parser.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Locator.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface Locator</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/xml/sax/helpers/LocatorImpl.html">LocatorImpl</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>Locator</B></DL>
<P>
Interface for associating a SAX event with a document location.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>If a SAX parser provides location information to the SAX
application, it does so by implementing this interface and then
passing an instance to the application using the content
handler's <A
HREF="../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>setDocumentLocator</CODE></A>
method. The application can use the
object to obtain the location of any other content handler event
in the XML source document.</p>
<p>Note that the results returned by the object will be valid only
during the scope of each content handler method: the application
will receive unpredictable results if it attempts to use the
locator at any other time.</p>
<p>SAX parsers are not required to supply a locator, but they are
very strongly encouraged to do so. If the parser supplies a
locator, it must do so before reporting any other document events.
If no locator has been set by the time the application receives
the <A
HREF="../../../org/xml/sax/ContentHandler.html#startDocument()"><CODE>startDocument</CODE></A>
event, the application should assume that a locator is not
available.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>ContentHandler.setDocumentLocator(org.xml.sax.Locator)</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Locator.html#getColumnNumber()">getColumnNumber</A></B>()</CODE>
<BR>
Return the column
number where the current document event ends.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Locator.html#getLineNumber()">getLineNumber</A></B>()</CODE>
<BR>
Return the line
number where the current document event ends.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Locator.html#getPublicId()">getPublicId</A></B>()</CODE>
<BR>
Return the public
identifier for the current document event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Locator.html#getSystemId()">getSystemId</A></B>()</CODE>
<BR>
Return the system
identifier for the current document event.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getPublicId()"><!-- --></A><H3>
getPublicId</H3>
<PRE>
public java.lang.String <B>getPublicId</B>()</PRE>
<DL>
<DD>Return the public identifier for the current document event.
<p>The return value is the public identifier of the document
entity or of the external parsed entity in which the markup
triggering the event appears.</p><DD><DL>
<DT><B>Returns:</B><DD>A string containing the public identifier, or
null if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html#getSystemId()"><CODE>getSystemId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getSystemId()"><!-- --></A><H3>
getSystemId</H3>
<PRE>
public java.lang.String <B>getSystemId</B>()</PRE>
<DL>
<DD>Return the system identifier for the current document event.
<p>The return value is the system identifier of the document
entity or of the external parsed entity in which the markup
triggering the event appears.</p>
<p>If the system identifier is a URL, the parser must resolve it
fully before passing it to the application.</p><DD><DL>
<DT><B>Returns:</B><DD>A string containing the system identifier, or null
if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html#getPublicId()"><CODE>getPublicId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLineNumber()"><!-- --></A><H3>
getLineNumber</H3>
<PRE>
public int <B>getLineNumber</B>()</PRE>
<DL>
<DD>Return the line number where the current document event ends.
<p><strong>Warning:</strong> The return value from the method
is intended only as an approximation for the sake of error
reporting; it is not intended to provide sufficient information
to edit the character content of the original XML document.</p>
<p>The return value is an approximation of the line number
in the document entity or external parsed entity where the
markup triggering the event appears.</p>
<p>If possible, the SAX driver should provide the line position
of the first character after the text associated with the document
event. The first line in the document is line 1.</p><DD><DL>
<DT><B>Returns:</B><DD>The line number, or -1 if none is available.<DT><B>See
Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html#getColumnNumber()"><CODE>getColumnNumber()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getColumnNumber()"><!-- --></A><H3>
getColumnNumber</H3>
<PRE>
public int <B>getColumnNumber</B>()</PRE>
<DL>
<DD>Return the column number where the current document event ends.
<p><strong>Warning:</strong> The return value from the method
is intended only as an approximation for the sake of error
reporting; it is not intended to provide sufficient information
to edit the character content of the original XML document.</p>
<p>The return value is an approximation of the column number
in the document entity or external parsed entity where the
markup triggering the event appears.</p>
<p>If possible, the SAX driver should provide the line position
of the first character after the text associated with the document
event.</p>
<p>If possible, the SAX driver should provide the line position
of the first character after the text associated with the document
event. The first column in each line is column 1.</p><DD><DL>
<DT><B>Returns:</B><DD>The column number, or -1 if none is
available.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html#getLineNumber()"><CODE>getLineNumber()</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/ErrorHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/Parser.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Locator.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1 xml-site/targets/xerces-j/apiDocs/org/xml/sax/Parser.html
Index: Parser.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface Parser
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/Locator.html"><B>PREV CLASS</B></A>
<A HREF="../../../org/xml/sax/XMLFilter.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Parser.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface Parser</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/apache/xerces/parsers/SAXParser.html">SAXParser</A>, <A
HREF="../../../org/xml/sax/helpers/XMLReaderAdapter.html">XMLReaderAdapter</A></DD>
</DL>
<HR>
<B>Deprecated.</B> <I>This interface has been replaced by the SAX2
<A
HREF="../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A>
interface, which includes Namespace support.</I>
<P>
<DL>
<DT>public interface <B>Parser</B></DL>
<P>
Basic interface for SAX (Simple API for XML) parsers.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This was the main event supplier interface for SAX1; it has
been replaced in SAX2 by <A
HREF="../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A>,
which includes Namespace support and sophisticated configurability
and extensibility.</p>
<p>All SAX1 parsers must implement this basic interface: it allows
applications to register handlers for different types of events
and to initiate a parse from a URI, or a character stream.</p>
<p>All SAX1 parsers must also implement a zero-argument constructor
(though other constructors are also allowed).</p>
<p>SAX1 parsers are reusable but not re-entrant: the application
may reuse a parser object (possibly with a different input source)
once the first parse has completed successfully, but it may not
invoke the parse() methods recursively within a parse.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/EntityResolver.html"><CODE>EntityResolver</CODE></A>,
<A HREF="../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A>,
<A HREF="../../../org/xml/sax/HandlerBase.html"><CODE>HandlerBase</CODE></A>,
<A
HREF="../../../org/xml/sax/InputSource.html"><CODE>InputSource</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Parser.html#parse(org.xml.sax.InputSource)">parse</A></B>(<A
HREF="../../../org/xml/sax/InputSource.html">InputSource</A> source)</CODE>
<BR>
<B>Deprecated.</B> Parse
an XML document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Parser.html#parse(java.lang.String)">parse</A></B>(java.lang.String systemId)</CODE>
<BR>
<B>Deprecated.</B> Parse
an XML document from a system identifier (URI).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Parser.html#setDocumentHandler(org.xml.sax.DocumentHandler)">setDocumentHandler</A></B>(<A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A> handler)</CODE>
<BR>
<B>Deprecated.</B> Allow
an application to register a document event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Parser.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></B>(<A
HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</CODE>
<BR>
<B>Deprecated.</B> Allow
an application to register a DTD event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Parser.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></B>(<A
HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</CODE>
<BR>
<B>Deprecated.</B> Allow
an application to register a custom entity resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Parser.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></B>(<A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</CODE>
<BR>
<B>Deprecated.</B> Allow
an application to register an error event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale locale)</CODE>
<BR>
<B>Deprecated.</B> Allow
an application to request a locale for errors and warnings.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>
setLocale</H3>
<PRE>
public void <B>setLocale</B>(java.util.Locale locale)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Allow an application to request a locale for
errors and warnings.
<p>SAX parsers are not required to provide localisation for errors
and warnings; if they cannot support the requested locale,
however, they must throw a SAX exception. Applications may
not request a locale change in the middle of a parse.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - A Java Locale
object.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Throws
an exception
(using the previous or default locale) if the
requested locale is not supported.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>,
<A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setEntityResolver(org.xml.sax.EntityResolver)"><!-- --></A><H3>
setEntityResolver</H3>
<PRE>
public void <B>setEntityResolver</B>(<A
HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Allow an application to register a custom
entity resolver.
<p>If the application does not register an entity resolver, the
SAX parser will resolve system identifiers and open connections
to entities itself (this is the default behaviour implemented in
HandlerBase).</p>
<p>Applications may register a new or different entity resolver
in the middle of a parse, and the SAX parser must begin using
the new resolver immediately.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The object for resolving
entities.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/EntityResolver.html"><CODE>EntityResolver</CODE></A>,
<A
HREF="../../../org/xml/sax/HandlerBase.html"><CODE>HandlerBase</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDTDHandler(org.xml.sax.DTDHandler)"><!-- --></A><H3>
setDTDHandler</H3>
<PRE>
public void <B>setDTDHandler</B>(<A
HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Allow an application to register a DTD event
handler.
<p>If the application does not register a DTD handler, all DTD
events reported by the SAX parser will be silently
ignored (this is the default behaviour implemented by
HandlerBase).</p>
<p>Applications may register a new or different
handler in the middle of a parse, and the SAX parser must
begin using the new handler immediately.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The DTD handler.<DT><B>See
Also: </B><DD><A
HREF="../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/HandlerBase.html"><CODE>HandlerBase</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDocumentHandler(org.xml.sax.DocumentHandler)"><!-- --></A><H3>
setDocumentHandler</H3>
<PRE>
public void <B>setDocumentHandler</B>(<A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A> handler)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Allow an application to register a document
event handler.
<p>If the application does not register a document handler, all
document events reported by the SAX parser will be silently
ignored (this is the default behaviour implemented by
HandlerBase).</p>
<p>Applications may register a new or different handler in the
middle of a parse, and the SAX parser must begin using the new
handler immediately.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The document
handler.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/HandlerBase.html"><CODE>HandlerBase</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setErrorHandler(org.xml.sax.ErrorHandler)"><!-- --></A><H3>
setErrorHandler</H3>
<PRE>
public void <B>setErrorHandler</B>(<A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Allow an application to register an error
event handler.
<p>If the application does not register an error event handler,
all error events reported by the SAX parser will be silently
ignored, except for fatalError, which will throw a SAXException
(this is the default behaviour implemented by HandlerBase).</p>
<p>Applications may register a new or different handler in the
middle of a parse, and the SAX parser must begin using the new
handler immediately.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The error handler.<DT><B>See
Also: </B><DD><A
HREF="../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>,
<A
HREF="../../../org/xml/sax/HandlerBase.html"><CODE>HandlerBase</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(org.xml.sax.InputSource)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(<A
HREF="../../../org/xml/sax/InputSource.html">InputSource</A> source)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A>,
java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Parse an XML document.
<p>The application can use this method to instruct the SAX parser
to begin parsing an XML document from any valid input
source (a character stream, a byte stream, or a URI).</p>
<p>Applications may not invoke this method while a parse is in
progress (they should create a new Parser instead for each
additional XML document). Once a parse is complete, an
application may reuse the same Parser object, possibly with a
different input source.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The input source for the
top-level of the
XML document.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DD><CODE>java.io.IOException</CODE> -
An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html"><CODE>InputSource</CODE></A>,
<A
HREF="../../../org/xml/sax/Parser.html#parse(java.lang.String)"><CODE>parse(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/Parser.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>setEntityResolver(org.xml.sax.EntityResolver)</CODE></A>,
<A
HREF="../../../org/xml/sax/Parser.html#setDTDHandler(org.xml.sax.DTDHandler)"><CODE>setDTDHandler(org.xml.sax.DTDHandler)</CODE></A>,
<A
HREF="../../../org/xml/sax/Parser.html#setDocumentHandler(org.xml.sax.DocumentHandler)"><CODE>setDocumentHandler(org.xml.sax.DocumentHandler)</CODE></A>,
<A
HREF="../../../org/xml/sax/Parser.html#setErrorHandler(org.xml.sax.ErrorHandler)"><CODE>setErrorHandler(org.xml.sax.ErrorHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(java.lang.String systemId)
throws <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A>,
java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Parse an XML document from a system
identifier (URI).
<p>This method is a shortcut for the common case of reading a
document from a system identifier. It is the exact
equivalent of the following:</p>
<pre>
parse(new InputSource(systemId));
</pre>
<p>If the system identifier is a URL, it must be fully resolved
by the application before it is passed to the parser.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The system identifier
(URI).<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DD><CODE>java.io.IOException</CODE> -
An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#parse(org.xml.sax.InputSource)"><CODE>parse(org.xml.sax.InputSource)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/Locator.html"><B>PREV CLASS</B></A>
<A HREF="../../../org/xml/sax/XMLFilter.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Parser.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/SAXException.html
Index: SAXException.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class SAXException
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../org/xml/sax/SAXNotRecognizedException.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXException.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Class SAXException</H2>
<PRE>
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--<B>org.xml.sax.SAXException</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A>,
<A
HREF="../../../org/xml/sax/SAXParseException.html">SAXParseException</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>SAXException</B><DT>extends java.lang.Exception</DL>
<P>
Encapsulate a general SAX error or warning.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class can contain basic error or warning information from
either the XML parser or the application: a parser writer or
application writer can subclass it to provide additional
functionality. SAX handlers may throw this exception or
any exception subclassed from it.</p>
<p>If the application needs to pass through other types of
exceptions, it must wrap those exceptions in a SAXException
or an exception derived from a SAXException.</p>
<p>If the parser or application needs to include information about a
specific location in an XML document, it should use the
<A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A>
subclass.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A>,
<A HREF="../../../serialized-form.html#org.xml.sax.SAXException">Serialized
Form</A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXException.html#SAXException(java.lang.Exception)">SAXException</A></B>(java.lang.Exception e)</CODE>
<BR>
Create a new
SAXException wrapping an existing exception.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXException.html#SAXException(java.lang.String)">SAXException</A></B>(java.lang.String message)</CODE>
<BR>
Create a new
SAXException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXException.html#SAXException(java.lang.String,
java.lang.Exception)">SAXException</A></B>(java.lang.String message,
java.lang.Exception e)</CODE>
<BR>
Create a new
SAXException from an existing exception.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Exception</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXException.html#getException()">getException</A></B>()</CODE>
<BR>
Return the
embedded exception, if any.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXException.html#getMessage()">getMessage</A></B>()</CODE>
<BR>
Return a detail
message for this exception.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXException.html#toString()">toString</A></B>()</CODE>
<BR>
Override toString
to pick up any embedded exception.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Throwable</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SAXException(java.lang.String)"><!-- --></A><H3>
SAXException</H3>
<PRE>
public <B>SAXException</B>(java.lang.String message)</PRE>
<DL>
<DD>Create a new SAXException.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning
message.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="SAXException(java.lang.Exception)"><!-- --></A><H3>
SAXException</H3>
<PRE>
public <B>SAXException</B>(java.lang.Exception e)</PRE>
<DL>
<DD>Create a new SAXException wrapping an existing exception.
<p>The existing exception will be embedded in the new
one, and its message will become the default message for
the SAXException.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The exception to be wrapped in a
SAXException.</DL>
</DD>
</DL>
<HR>
<A NAME="SAXException(java.lang.String, java.lang.Exception)"><!-- --></A><H3>
SAXException</H3>
<PRE>
public <B>SAXException</B>(java.lang.String message,
java.lang.Exception e)</PRE>
<DL>
<DD>Create a new SAXException from an existing exception.
<p>The existing exception will be embedded in the new
one, but the new exception will have its own message.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The detail
message.<DD><CODE>e</CODE> - The exception to be wrapped in a
SAXException.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getMessage()"><!-- --></A><H3>
getMessage</H3>
<PRE>
public java.lang.String <B>getMessage</B>()</PRE>
<DL>
<DD>Return a detail message for this exception.
<p>If there is an embedded exception, and if the SAXException
has no detail message of its own, this method will return
the detail message from the embedded exception.</p><DD><DL>
<DT><B>Overrides:</B><DD><CODE>getMessage</CODE> in class
<CODE>java.lang.Throwable</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The error or warning message.<DT><B>See Also:
</B><DD><A
HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getException()"><!-- --></A><H3>
getException</H3>
<PRE>
public java.lang.Exception <B>getException</B>()</PRE>
<DL>
<DD>Return the embedded exception, if any.<DD><DL>
<DT><B>Returns:</B><DD>The embedded exception, or null if there is none.</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Override toString to pick up any embedded exception.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class
<CODE>java.lang.Throwable</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>A string representation of this exception.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../org/xml/sax/SAXNotRecognizedException.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXException.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/SAXNotRecognizedException.html
Index: SAXNotRecognizedException.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class SAXNotRecognizedException
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/SAXException.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/SAXNotSupportedException.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXNotRecognizedException.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_org.xml.sax.SAXException">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Class SAXNotRecognizedException</H2>
<PRE>
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--<A
HREF="../../../org/xml/sax/SAXException.html">org.xml.sax.SAXException</A>
|
+--<B>org.xml.sax.SAXNotRecognizedException</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT>public class <B>SAXNotRecognizedException</B><DT>extends <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></DL>
<P>
Exception class for an unrecognized identifier.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>An XMLReader will throw this exception when it finds an
unrecognized feature or property identifier; SAX applications and
extensions may use this class for other, similar purposes.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/SAXNotSupportedException.html"><CODE>SAXNotSupportedException</CODE></A>,
<A
HREF="../../../serialized-form.html#org.xml.sax.SAXNotRecognizedException">Serialized
Form</A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html#SAXNotRecognizedException(java.lang.String)">SAXNotRecognizedException</A></B>(java.lang.String message)</CODE>
<BR>
Construct a new
exception with the given message.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="methods_inherited_from_class_org.xml.sax.SAXException"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.xml.sax.<A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../org/xml/sax/SAXException.html#getException()">getException</A>,
<A HREF="../../../org/xml/sax/SAXException.html#getMessage()">getMessage</A>,
<A
HREF="../../../org/xml/sax/SAXException.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Throwable</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SAXNotRecognizedException(java.lang.String)"><!-- --></A><H3>
SAXNotRecognizedException</H3>
<PRE>
public <B>SAXNotRecognizedException</B>(java.lang.String message)</PRE>
<DL>
<DD>Construct a new exception with the given message.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The text message of the
exception.</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/SAXException.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/SAXNotSupportedException.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXNotRecognizedException.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_org.xml.sax.SAXException">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/SAXNotSupportedException.html
Index: SAXNotSupportedException.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class SAXNotSupportedException
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/SAXNotRecognizedException.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/SAXParseException.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXNotSupportedException.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_org.xml.sax.SAXException">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Class SAXNotSupportedException</H2>
<PRE>
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--<A
HREF="../../../org/xml/sax/SAXException.html">org.xml.sax.SAXException</A>
|
+--<B>org.xml.sax.SAXNotSupportedException</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT>public class <B>SAXNotSupportedException</B><DT>extends <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></DL>
<P>
Exception class for an unsupported operation.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>An XMLReader will throw this exception when it recognizes a
feature or property identifier, but cannot perform the requested
operation (setting a state or value). Other SAX2 applications and
extensions may use this class for similar purposes.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html"><CODE>SAXNotRecognizedException</CODE></A>,
<A
HREF="../../../serialized-form.html#org.xml.sax.SAXNotSupportedException">Serialized
Form</A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXNotSupportedException.html#SAXNotSupportedException(java.lang.String)">SAXNotSupportedException</A></B>(java.lang.String message)</CODE>
<BR>
Construct a new
exception with the given message.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="methods_inherited_from_class_org.xml.sax.SAXException"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.xml.sax.<A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../org/xml/sax/SAXException.html#getException()">getException</A>,
<A HREF="../../../org/xml/sax/SAXException.html#getMessage()">getMessage</A>,
<A
HREF="../../../org/xml/sax/SAXException.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Throwable</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SAXNotSupportedException(java.lang.String)"><!-- --></A><H3>
SAXNotSupportedException</H3>
<PRE>
public <B>SAXNotSupportedException</B>(java.lang.String message)</PRE>
<DL>
<DD>Construct a new exception with the given message.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The text message of the
exception.</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/SAXNotRecognizedException.html"><B>PREV
CLASS</B></A>
<A HREF="../../../org/xml/sax/SAXParseException.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXNotSupportedException.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_org.xml.sax.SAXException">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/SAXParseException.html
Index: SAXParseException.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class SAXParseException
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/SAXNotSupportedException.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXParseException.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Class SAXParseException</H2>
<PRE>
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--<A
HREF="../../../org/xml/sax/SAXException.html">org.xml.sax.SAXException</A>
|
+--<B>org.xml.sax.SAXParseException</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT>public class <B>SAXParseException</B><DT>extends <A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></DL>
<P>
Encapsulate an XML parse error or warning.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This exception will include information for locating the error
in the original XML document. Note that although the application
will receive a SAXParseException as the argument to the handlers
in the <A
HREF="../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A>
interface,
the application is not actually required to throw the exception;
instead, it can simply read the information in it and take a
different action.</p>
<p>Since this exception is a subclass of <A
HREF="../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>, it
inherits the ability to wrap another exception.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>,
<A HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A>,
<A
HREF="../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A>, <A
HREF="../../../serialized-form.html#org.xml.sax.SAXParseException">Serialized
Form</A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXParseException.html#SAXParseException(java.lang.String,
org.xml.sax.Locator)">SAXParseException</A></B>(java.lang.String message,
<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
Create a new
SAXParseException from a message and a Locator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXParseException.html#SAXParseException(java.lang.String,
org.xml.sax.Locator,
java.lang.Exception)">SAXParseException</A></B>(java.lang.String message,
<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator,
java.lang.Exception e)</CODE>
<BR>
Wrap an existing
exception in a SAXParseException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXParseException.html#SAXParseException(java.lang.String,
java.lang.String, java.lang.String, int,
int)">SAXParseException</A></B>(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber)</CODE>
<BR>
Create a new
SAXParseException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXParseException.html#SAXParseException(java.lang.String,
java.lang.String, java.lang.String, int, int,
java.lang.Exception)">SAXParseException</A></B>(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber,
java.lang.Exception e)</CODE>
<BR>
Create a new
SAXParseException with an embedded exception.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXParseException.html#getColumnNumber()">getColumnNumber</A></B>()</CODE>
<BR>
The column number
of the end of the text where the exception occurred.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXParseException.html#getLineNumber()">getLineNumber</A></B>()</CODE>
<BR>
The line number
of the end of the text where the exception occurred.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXParseException.html#getPublicId()">getPublicId</A></B>()</CODE>
<BR>
Get the public
identifier of the entity where the exception occurred.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/SAXParseException.html#getSystemId()">getSystemId</A></B>()</CODE>
<BR>
Get the system
identifier of the entity where the exception occurred.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.xml.sax.SAXException"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.xml.sax.<A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../org/xml/sax/SAXException.html#getException()">getException</A>,
<A HREF="../../../org/xml/sax/SAXException.html#getMessage()">getMessage</A>,
<A
HREF="../../../org/xml/sax/SAXException.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Throwable</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>fillInStackTrace, getLocalizedMessage, printStackTrace,
printStackTrace, printStackTrace</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SAXParseException(java.lang.String, org.xml.sax.Locator)"><!--
--></A><H3>
SAXParseException</H3>
<PRE>
public <B>SAXParseException</B>(java.lang.String message,
<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD>Create a new SAXParseException from a message and a Locator.
<p>This constructor is especially useful when an application is
creating its own exception from within a <A
HREF="../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
callback.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning
message.<DD><CODE>locator</CODE> - The locator object for the error or warning
(may be
null).<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A>,
<A
HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="SAXParseException(java.lang.String, org.xml.sax.Locator,
java.lang.Exception)"><!-- --></A><H3>
SAXParseException</H3>
<PRE>
public <B>SAXParseException</B>(java.lang.String message,
<A
HREF="../../../org/xml/sax/Locator.html">Locator</A> locator,
java.lang.Exception e)</PRE>
<DL>
<DD>Wrap an existing exception in a SAXParseException.
<p>This constructor is especially useful when an application is
creating its own exception from within a <A
HREF="../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
callback, and needs to wrap an existing exception that is not a
subclass of <A
HREF="../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning
message, or null to
use the message from the embedded
exception.<DD><CODE>locator</CODE> - The locator object for the error or
warning (may be
null).<DD><CODE>e</CODE> - Any exception.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A>,
<A
HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="SAXParseException(java.lang.String, java.lang.String,
java.lang.String, int, int)"><!-- --></A><H3>
SAXParseException</H3>
<PRE>
public <B>SAXParseException</B>(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber)</PRE>
<DL>
<DD>Create a new SAXParseException.
<p>This constructor is most useful for parser writers.</p>
<p>If the system identifier is a URL, the parser must resolve it
fully before creating the exception.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning
message.<DD><CODE>publicId</CODE> - The public identifer of the entity that
generated
the error or warning.<DD><CODE>systemId</CODE> - The system
identifer of the entity that generated
the error or warning.<DD><CODE>lineNumber</CODE> - The line
number of the end of the text that
caused the error or warning.<DD><CODE>columnNumber</CODE>
- The column number of the end of the text that
cause the error or warning.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="SAXParseException(java.lang.String, java.lang.String,
java.lang.String, int, int, java.lang.Exception)"><!-- --></A><H3>
SAXParseException</H3>
<PRE>
public <B>SAXParseException</B>(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber,
java.lang.Exception e)</PRE>
<DL>
<DD>Create a new SAXParseException with an embedded exception.
<p>This constructor is most useful for parser writers who
need to wrap an exception that is not a subclass of
<A
HREF="../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>.</p>
<p>If the system identifier is a URL, the parser must resolve it
fully before creating the exception.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error or warning
message, or null to use
the message from the embedded
exception.<DD><CODE>publicId</CODE> - The public identifer of the entity that
generated
the error or warning.<DD><CODE>systemId</CODE> - The system
identifer of the entity that generated
the error or warning.<DD><CODE>lineNumber</CODE> - The line
number of the end of the text that
caused the error or warning.<DD><CODE>columnNumber</CODE>
- The column number of the end of the text that
cause the error or warning.<DD><CODE>e</CODE> - Another
exception to embed in this one.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getPublicId()"><!-- --></A><H3>
getPublicId</H3>
<PRE>
public java.lang.String <B>getPublicId</B>()</PRE>
<DL>
<DD>Get the public identifier of the entity where the exception
occurred.<DD><DL>
<DT><B>Returns:</B><DD>A string containing the public identifier, or null
if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html#getPublicId()"><CODE>Locator.getPublicId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getSystemId()"><!-- --></A><H3>
getSystemId</H3>
<PRE>
public java.lang.String <B>getSystemId</B>()</PRE>
<DL>
<DD>Get the system identifier of the entity where the exception occurred.
<p>If the system identifier is a URL, it will be resolved
fully.</p><DD><DL>
<DT><B>Returns:</B><DD>A string containing the system identifier, or null
if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html#getSystemId()"><CODE>Locator.getSystemId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLineNumber()"><!-- --></A><H3>
getLineNumber</H3>
<PRE>
public int <B>getLineNumber</B>()</PRE>
<DL>
<DD>The line number of the end of the text where the exception
occurred.<DD><DL>
<DT><B>Returns:</B><DD>An integer representing the line number, or -1
if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html#getLineNumber()"><CODE>Locator.getLineNumber()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getColumnNumber()"><!-- --></A><H3>
getColumnNumber</H3>
<PRE>
public int <B>getColumnNumber</B>()</PRE>
<DL>
<DD>The column number of the end of the text where the exception occurred.
<p>The first column in a line is position 1.</p><DD><DL>
<DT><B>Returns:</B><DD>An integer representing the column number, or -1
if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/Locator.html#getColumnNumber()"><CODE>Locator.getColumnNumber()</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/SAXNotSupportedException.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAXParseException.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/XMLFilter.html
Index: XMLFilter.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface XMLFilter
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/Parser.html"><B>PREV CLASS</B></A>
<A HREF="../../../org/xml/sax/XMLReader.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLFilter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface XMLFilter</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A
HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A></DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/xml/sax/helpers/XMLFilterImpl.html">XMLFilterImpl</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>XMLFilter</B><DT>extends <A
HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A></DL>
<P>
Interface for an XML filter.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>An XML filter is like an XML reader, except that it obtains its
events from another XML reader rather than a primary source like
an XML document or database. Filters can modify a stream of
events as they pass on to the final application.</p>
<p>The XMLFilterImpl helper class provides a convenient base
for creating SAX2 filters, by passing on all <A
HREF="../../../org/xml/sax/EntityResolver.html"><CODE>EntityResolver</CODE></A>,
<A HREF="../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>,
<A
HREF="../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
and <A
HREF="../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A>
events automatically.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/helpers/XMLFilterImpl.html"><CODE>XMLFilterImpl</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLFilter.html#getParent()">getParent</A></B>()</CODE>
<BR>
Get the parent
reader.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLFilter.html#setParent(org.xml.sax.XMLReader)">setParent</A></B>(<A
HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A> parent)</CODE>
<BR>
Set the parent
reader.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.xml.sax.XMLReader"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from interface org.xml.sax.<A
HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../org/xml/sax/XMLReader.html#getContentHandler()">getContentHandler</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#getDTDHandler()">getDTDHandler</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#getEntityResolver()">getEntityResolver</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#getErrorHandler()">getErrorHandler</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#getFeature(java.lang.String)">getFeature</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#getProperty(java.lang.String)">getProperty</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#parse(org.xml.sax.InputSource)">parse</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#parse(java.lang.String)">parse</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)">setContentHandler</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A>,
<A HREF="../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)">setFeature</A>, <A
HREF="../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)">setProperty</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setParent(org.xml.sax.XMLReader)"><!-- --></A><H3>
setParent</H3>
<PRE>
public void <B>setParent</B>(<A
HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A> parent)</PRE>
<DL>
<DD>Set the parent reader.
<p>This method allows the application to link the filter to
a parent reader (which may be another filter). The argument
may not be null.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - The parent reader.</DL>
</DD>
</DL>
<HR>
<A NAME="getParent()"><!-- --></A><H3>
getParent</H3>
<PRE>
public <A HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A>
<B>getParent</B>()</PRE>
<DL>
<DD>Get the parent reader.
<p>This method allows the application to query the parent
reader (which may be another filter). It is generally a
bad idea to perform any operations on the parent reader
directly: they should all pass through this filter.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The parent filter, or null if none has been set.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/Parser.html"><B>PREV CLASS</B></A>
<A HREF="../../../org/xml/sax/XMLReader.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLFilter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/XMLReader.html
Index: XMLReader.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface XMLReader
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/XMLFilter.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLReader.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax</FONT>
<BR>
Interface XMLReader</H2>
<DL>
<DT><B>All Known Subinterfaces:</B> <DD><A
HREF="../../../org/xml/sax/XMLFilter.html">XMLFilter</A></DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../org/apache/xerces/parsers/SAXParser.html">SAXParser</A>, <A
HREF="../../../org/xml/sax/helpers/ParserAdapter.html">ParserAdapter</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>XMLReader</B></DL>
<P>
Interface for reading an XML document using callbacks.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p><strong>Note:</strong> despite its name, this interface does
<em>not</em> extend the standard Java <CODE>Reader</CODE>
interface, because reading XML is a fundamentally different activity
than reading character data.</p>
<p>XMLReader is the interface that an XML parser's SAX2 driver must
implement. This interface allows an application to set and
query features and properties in the parser, to register
event handlers for document processing, and to initiate
a document parse.</p>
<p>All SAX interfaces are assumed to be synchronous: the
<A
HREF="../../../org/xml/sax/XMLReader.html#parse(org.xml.sax.InputSource)"><CODE>parse</CODE></A>
methods must not return until parsing
is complete, and readers must wait for an event-handler callback
to return before reporting the next event.</p>
<p>This interface replaces the (now deprecated) SAX 1.0 <A
HREF="../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A> interface. The
XMLReader interface
contains two important enhancements over the old Parser
interface:</p>
<ol>
<li>it adds a standard way to query and set features and
properties; and</li>
<li>it adds Namespace support, which is required for many
higher-level XML standards.</li>
</ol>
<p>There are adapters available to convert a SAX1 Parser to
a SAX2 XMLReader and vice-versa.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLFilter.html"><CODE>XMLFilter</CODE></A>,
<A
HREF="../../../org/xml/sax/helpers/ParserAdapter.html"><CODE>ParserAdapter</CODE></A>,
<A
HREF="../../../org/xml/sax/helpers/XMLReaderAdapter.html"><CODE>XMLReaderAdapter</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#getContentHandler()">getContentHandler</A></B>()</CODE>
<BR>
Return the
current content handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#getDTDHandler()">getDTDHandler</A></B>()</CODE>
<BR>
Return the
current DTD handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#getEntityResolver()">getEntityResolver</A></B>()</CODE>
<BR>
Return the
current entity resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#getErrorHandler()">getErrorHandler</A></B>()</CODE>
<BR>
Return the
current error handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#getFeature(java.lang.String)">getFeature</A></B>(java.lang.String name)</CODE>
<BR>
Look up the value
of a feature.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String name)</CODE>
<BR>
Look up the value
of a property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#parse(org.xml.sax.InputSource)">parse</A></B>(<A
HREF="../../../org/xml/sax/InputSource.html">InputSource</A> input)</CODE>
<BR>
Parse an XML
document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#parse(java.lang.String)">parse</A></B>(java.lang.String systemId)</CODE>
<BR>
Parse an XML
document from a system identifier (URI).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)">setContentHandler</A></B>(<A
HREF="../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</CODE>
<BR>
Allow an
application to register a content event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></B>(<A
HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</CODE>
<BR>
Allow an
application to register a DTD event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></B>(<A
HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</CODE>
<BR>
Allow an
application to register an entity resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></B>(<A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</CODE>
<BR>
Allow an
application to register an error event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)">setFeature</A></B>(java.lang.String name,
boolean value)</CODE>
<BR>
Set the state of
a feature.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)">setProperty</A></B>(java.lang.String name,
java.lang.Object value)</CODE>
<BR>
Set the value of
a property.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getFeature(java.lang.String)"><!-- --></A><H3>
getFeature</H3>
<PRE>
public boolean <B>getFeature</B>(java.lang.String name)
throws <A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Look up the value of a feature.
<p>The feature name is any fully-qualified URI. It is
possible for an XMLReader to recognize a feature name but
to be unable to return its value; this is especially true
in the case of an adapter for a SAX1 Parser, which has
no way of knowing whether the underlying parser is
performing validation or expanding external entities.</p>
<p>All XMLReaders are required to recognize the
http://xml.org/sax/features/namespaces and the
http://xml.org/sax/features/namespace-prefixes feature names.</p>
<p>Some feature values may be available only in specific
contexts, such as before, during, or after a parse.</p>
<p>Typical usage is something like this:</p>
<pre>
XMLReader r = new MySAXDriver();
// try to activate validation
try {
r.setFeature("http://xml.org/sax/features/validation", true);
} catch (SAXException e) {
System.err.println("Cannot activate validation.");
}
// register event handlers
r.setContentHandler(new MyContentHandler());
r.setErrorHandler(new MyErrorHandler());
// parse the first document
try {
r.parse("http://www.foo.com/mydoc.xml");
} catch (IOException e) {
System.err.println("I/O exception reading XML document");
} catch (SAXException e) {
System.err.println("XML exception reading document.");
}
</pre>
<p>Implementors are free (and encouraged) to invent their own features,
using names built on their own URIs.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The feature name, which is a
fully-qualified URI.<DT><B>Returns:</B><DD>The current state of the feature
(true or false).<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- When the
XMLReader does not recognize the feature name.<DD><CODE><A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- When the
XMLReader recognizes the feature name but
cannot determine its value at this time.<DT><B>See Also:
</B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)"><CODE>setFeature(java.lang.String, boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setFeature(java.lang.String, boolean)"><!-- --></A><H3>
setFeature</H3>
<PRE>
public void <B>setFeature</B>(java.lang.String name,
boolean value)
throws <A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Set the state of a feature.
<p>The feature name is any fully-qualified URI. It is
possible for an XMLReader to recognize a feature name but
to be unable to set its value; this is especially true
in the case of an adapter for a SAX1 <A
HREF="../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>,
which has no way of affecting whether the underlying parser is
validating, for example.</p>
<p>All XMLReaders are required to support setting
http://xml.org/sax/features/namespaces to true and
http://xml.org/sax/features/namespace-prefixes to false.</p>
<p>Some feature values may be immutable or mutable only
in specific contexts, such as before, during, or after
a parse.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The feature name, which is a
fully-qualified URI.<DD><CODE>state</CODE> - The requested state of the feature
(true or false).<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- When the
XMLReader does not recognize the feature name.<DD><CODE><A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- When the
XMLReader recognizes the feature name but
cannot set the requested value.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#getFeature(java.lang.String)"><CODE>getFeature(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
getProperty</H3>
<PRE>
public java.lang.Object <B>getProperty</B>(java.lang.String name)
throws <A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Look up the value of a property.
<p>The property name is any fully-qualified URI. It is
possible for an XMLReader to recognize a property name but
to be unable to return its state; this is especially true
in the case of an adapter for a SAX1 <A
HREF="../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>.</p>
<p>XMLReaders are not required to recognize any specific
property names, though an initial core set is documented for
SAX2.</p>
<p>Some property values may be available only in specific
contexts, such as before, during, or after a parse.</p>
<p>Implementors are free (and encouraged) to invent their own properties,
using names built on their own URIs.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The property name, which is a
fully-qualified URI.<DT><B>Returns:</B><DD>The current value of the
property.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- When the
XMLReader does not recognize the property name.<DD><CODE><A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- When the
XMLReader recognizes the property name but
cannot determine its value at this time.<DT><B>See Also:
</B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)"><CODE>setProperty(java.lang.String,
java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>
setProperty</H3>
<PRE>
public void <B>setProperty</B>(java.lang.String name,
java.lang.Object value)
throws <A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Set the value of a property.
<p>The property name is any fully-qualified URI. It is
possible for an XMLReader to recognize a property name but
to be unable to set its value; this is especially true
in the case of an adapter for a SAX1 <A
HREF="../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>.</p>
<p>XMLReaders are not required to recognize setting
any specific property names, though a core set is provided with
SAX2.</p>
<p>Some property values may be immutable or mutable only
in specific contexts, such as before, during, or after
a parse.</p>
<p>This method is also the standard mechanism for setting
extended handlers.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The property name, which is a
fully-qualified URI.<DD><CODE>state</CODE> - The requested value for the
property.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- When the
XMLReader does not recognize the property name.<DD><CODE><A
HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- When the
XMLReader recognizes the property name but
cannot set the requested value.</DL>
</DD>
</DL>
<HR>
<A NAME="setEntityResolver(org.xml.sax.EntityResolver)"><!-- --></A><H3>
setEntityResolver</H3>
<PRE>
public void <B>setEntityResolver</B>(<A
HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</PRE>
<DL>
<DD>Allow an application to register an entity resolver.
<p>If the application does not register an entity resolver,
the XMLReader will perform its own default resolution.</p>
<p>Applications may register a new or different resolver in the
middle of a parse, and the SAX parser must begin using the new
resolver immediately.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The entity
resolver.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the resolver
argument is null.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#getEntityResolver()"><CODE>getEntityResolver()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getEntityResolver()"><!-- --></A><H3>
getEntityResolver</H3>
<PRE>
public <A HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A>
<B>getEntityResolver</B>()</PRE>
<DL>
<DD>Return the current entity resolver.<DD><DL>
<DT><B>Returns:</B><DD>The current entity resolver, or null if none
has been registered.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDTDHandler(org.xml.sax.DTDHandler)"><!-- --></A><H3>
setDTDHandler</H3>
<PRE>
public void <B>setDTDHandler</B>(<A
HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</PRE>
<DL>
<DD>Allow an application to register a DTD event handler.
<p>If the application does not register a DTD handler, all DTD
events reported by the SAX parser will be silently ignored.</p>
<p>Applications may register a new or different handler in the
middle of a parse, and the SAX parser must begin using the new
handler immediately.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The DTD
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the handler
argument is null.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#getDTDHandler()"><CODE>getDTDHandler()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getDTDHandler()"><!-- --></A><H3>
getDTDHandler</H3>
<PRE>
public <A HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A>
<B>getDTDHandler</B>()</PRE>
<DL>
<DD>Return the current DTD handler.<DD><DL>
<DT><B>Returns:</B><DD>The current DTD handler, or null if none
has been registered.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#setDTDHandler(org.xml.sax.DTDHandler)"><CODE>setDTDHandler(org.xml.sax.DTDHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setContentHandler(org.xml.sax.ContentHandler)"><!-- --></A><H3>
setContentHandler</H3>
<PRE>
public void <B>setContentHandler</B>(<A
HREF="../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</PRE>
<DL>
<DD>Allow an application to register a content event handler.
<p>If the application does not register a content handler, all
content events reported by the SAX parser will be silently
ignored.</p>
<p>Applications may register a new or different handler in the
middle of a parse, and the SAX parser must begin using the new
handler immediately.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The content
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the handler
argument is null.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#getContentHandler()"><CODE>getContentHandler()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getContentHandler()"><!-- --></A><H3>
getContentHandler</H3>
<PRE>
public <A HREF="../../../org/xml/sax/ContentHandler.html">ContentHandler</A>
<B>getContentHandler</B>()</PRE>
<DL>
<DD>Return the current content handler.<DD><DL>
<DT><B>Returns:</B><DD>The current content handler, or null if none
has been registered.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)"><CODE>setContentHandler(org.xml.sax.ContentHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setErrorHandler(org.xml.sax.ErrorHandler)"><!-- --></A><H3>
setErrorHandler</H3>
<PRE>
public void <B>setErrorHandler</B>(<A
HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</PRE>
<DL>
<DD>Allow an application to register an error event handler.
<p>If the application does not register an error handler, all
error events reported by the SAX parser will be silently
ignored; however, normal processing may not continue. It is
highly recommended that all SAX applications implement an
error handler to avoid unexpected bugs.</p>
<p>Applications may register a new or different handler in the
middle of a parse, and the SAX parser must begin using the new
handler immediately.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The error
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the handler
argument is null.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#getErrorHandler()"><CODE>getErrorHandler()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getErrorHandler()"><!-- --></A><H3>
getErrorHandler</H3>
<PRE>
public <A HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A>
<B>getErrorHandler</B>()</PRE>
<DL>
<DD>Return the current error handler.<DD><DL>
<DT><B>Returns:</B><DD>The current error handler, or null if none
has been registered.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)"><CODE>setErrorHandler(org.xml.sax.ErrorHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(org.xml.sax.InputSource)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(<A
HREF="../../../org/xml/sax/InputSource.html">InputSource</A> input)
throws java.io.IOException,
<A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Parse an XML document.
<p>The application can use this method to instruct the XML
reader to begin parsing an XML document from any valid input
source (a character stream, a byte stream, or a URI).</p>
<p>Applications may not invoke this method while a parse is in
progress (they should create a new XMLReader instead for each
nested XML document). Once a parse is complete, an
application may reuse the same XMLReader object, possibly with a
different input source.</p>
<p>During the parse, the XMLReader will provide information
about the XML document through the registered event
handlers.</p>
<p>This method is synchronous: it will not return until parsing
has ended. If a client application wants to terminate
parsing early, it should throw an exception.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The input source for the
top-level of the
XML document.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DD><CODE>java.io.IOException</CODE> -
An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/InputSource.html"><CODE>InputSource</CODE></A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#parse(java.lang.String)"><CODE>parse(java.lang.String)</CODE></A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>setEntityResolver(org.xml.sax.EntityResolver)</CODE></A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#setDTDHandler(org.xml.sax.DTDHandler)"><CODE>setDTDHandler(org.xml.sax.DTDHandler)</CODE></A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)"><CODE>setContentHandler(org.xml.sax.ContentHandler)</CODE></A>,
<A
HREF="../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)"><CODE>setErrorHandler(org.xml.sax.ErrorHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(java.lang.String systemId)
throws java.io.IOException,
<A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Parse an XML document from a system identifier (URI).
<p>This method is a shortcut for the common case of reading a
document from a system identifier. It is the exact
equivalent of the following:</p>
<pre>
parse(new InputSource(systemId));
</pre>
<p>If the system identifier is a URL, it must be fully resolved
by the application before it is passed to the parser.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The system identifier
(URI).<DT><B>Throws:</B><DD><CODE><A
HREF="../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any SAX
exception, possibly
wrapping another exception.<DD><CODE>java.io.IOException</CODE> -
An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.<DT><B>See Also: </B><DD><A
HREF="../../../org/xml/sax/XMLReader.html#parse(org.xml.sax.InputSource)"><CODE>parse(org.xml.sax.InputSource)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/xml/sax/XMLFilter.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLReader.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/package-frame.html
Index: package-frame.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Package org.xml.sax
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameTitleFont">
<A HREF="../../../org/xml/sax/package-summary.html"
TARGET="classFrame">org.xml.sax</A></FONT>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Interfaces</FONT>
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="AttributeList.html" TARGET="classFrame"><I>AttributeList</I></A>
<BR>
<A HREF="Attributes.html" TARGET="classFrame"><I>Attributes</I></A>
<BR>
<A HREF="ContentHandler.html" TARGET="classFrame"><I>ContentHandler</I></A>
<BR>
<A HREF="DocumentHandler.html" TARGET="classFrame"><I>DocumentHandler</I></A>
<BR>
<A HREF="DTDHandler.html" TARGET="classFrame"><I>DTDHandler</I></A>
<BR>
<A HREF="EntityResolver.html" TARGET="classFrame"><I>EntityResolver</I></A>
<BR>
<A HREF="ErrorHandler.html" TARGET="classFrame"><I>ErrorHandler</I></A>
<BR>
<A HREF="Locator.html" TARGET="classFrame"><I>Locator</I></A>
<BR>
<A HREF="Parser.html" TARGET="classFrame"><I>Parser</I></A>
<BR>
<A HREF="XMLFilter.html" TARGET="classFrame"><I>XMLFilter</I></A>
<BR>
<A HREF="XMLReader.html" TARGET="classFrame"><I>XMLReader</I></A></FONT></TD>
</TR>
</TABLE>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Classes</FONT>
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="HandlerBase.html" TARGET="classFrame">HandlerBase</A>
<BR>
<A HREF="InputSource.html" TARGET="classFrame">InputSource</A></FONT></TD>
</TR>
</TABLE>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Exceptions</FONT>
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="SAXException.html" TARGET="classFrame">SAXException</A>
<BR>
<A HREF="SAXNotRecognizedException.html"
TARGET="classFrame">SAXNotRecognizedException</A>
<BR>
<A HREF="SAXNotSupportedException.html"
TARGET="classFrame">SAXNotSupportedException</A>
<BR>
<A HREF="SAXParseException.html"
TARGET="classFrame">SAXParseException</A></FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/package-summary.html
Index: package-summary.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Package org.xml.sax
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/w3c/dom/traversal/package-summary.html"><B>PREV
PACKAGE</B></A>
<A HREF="../../../org/xml/sax/ext/package-summary.html"><B>NEXT
PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<H2>
Package org.xml.sax
</H2>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Interface Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="AttributeList.html"><I>AttributeList</I></A></B></TD>
<TD><B>Deprecated.</B> <I>This interface has been replaced by the SAX2
<A
HREF="../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A>
interface, which includes Namespace support.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Attributes.html"><I>Attributes</I></A></B></TD>
<TD>Interface for a list of XML attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="ContentHandler.html"><I>ContentHandler</I></A></B></TD>
<TD>Receive notification of the logical content of a document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="DocumentHandler.html"><I>DocumentHandler</I></A></B></TD>
<TD><B>Deprecated.</B> <I>This interface has been replaced by the SAX2
<A
HREF="../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
interface, which includes Namespace support.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DTDHandler.html"><I>DTDHandler</I></A></B></TD>
<TD>Receive notification of basic DTD-related events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="EntityResolver.html"><I>EntityResolver</I></A></B></TD>
<TD>Basic interface for resolving entities.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="ErrorHandler.html"><I>ErrorHandler</I></A></B></TD>
<TD>Basic interface for SAX error handlers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Locator.html"><I>Locator</I></A></B></TD>
<TD>Interface for associating a SAX event with a document location.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Parser.html"><I>Parser</I></A></B></TD>
<TD><B>Deprecated.</B> <I>This interface has been replaced by the SAX2
<A
HREF="../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A>
interface, which includes Namespace support.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="XMLFilter.html"><I>XMLFilter</I></A></B></TD>
<TD>Interface for an XML filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="XMLReader.html"><I>XMLReader</I></A></B></TD>
<TD>Interface for reading an XML document using callbacks.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="HandlerBase.html">HandlerBase</A></B></TD>
<TD><B>Deprecated.</B> <I>This class works with the deprecated
<A
HREF="../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>
interface.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="InputSource.html">InputSource</A></B></TD>
<TD>A single input source for an XML entity.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Exception Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="SAXException.html">SAXException</A></B></TD>
<TD>Encapsulate a general SAX error or warning.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="SAXNotRecognizedException.html">SAXNotRecognizedException</A></B></TD>
<TD>Exception class for an unrecognized identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="SAXNotSupportedException.html">SAXNotSupportedException</A></B></TD>
<TD>Exception class for an unsupported operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="SAXParseException.html">SAXParseException</A></B></TD>
<TD>Encapsulate an XML parse error or warning.</TD>
</TR>
</TABLE>
<P>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/w3c/dom/traversal/package-summary.html"><B>PREV
PACKAGE</B></A>
<A HREF="../../../org/xml/sax/ext/package-summary.html"><B>NEXT
PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/package-tree.html
Index: package-tree.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: org.xml.sax Class Hierarchy
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../org/w3c/dom/traversal/package-tree.html"><B>PREV</B></A>
<A
HREF="../../../org/xml/sax/ext/package-tree.html"><B>NEXT</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For Package org.xml.sax
</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A HREF="../../../overview-tree.html">All
Packages</A></DL>
<HR>
<H2>
Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">class java.lang.Object<UL>
<LI TYPE="circle">class org.xml.sax.<A
HREF="../../../org/xml/sax/HandlerBase.html"><B>HandlerBase</B></A> (implements
org.xml.sax.<A
HREF="../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>,
org.xml.sax.<A HREF="../../../org/xml/sax/DTDHandler.html">DTDHandler</A>,
org.xml.sax.<A
HREF="../../../org/xml/sax/EntityResolver.html">EntityResolver</A>,
org.xml.sax.<A HREF="../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A>)
<LI TYPE="circle">class org.xml.sax.<A
HREF="../../../org/xml/sax/InputSource.html"><B>InputSource</B></A><LI
TYPE="circle">class java.lang.Throwable (implements java.io.Serializable)
<UL>
<LI TYPE="circle">class java.lang.Exception<UL>
<LI TYPE="circle">class org.xml.sax.<A
HREF="../../../org/xml/sax/SAXException.html"><B>SAXException</B></A><UL>
<LI TYPE="circle">class org.xml.sax.<A
HREF="../../../org/xml/sax/SAXNotRecognizedException.html"><B>SAXNotRecognizedException</B></A><LI
TYPE="circle">class org.xml.sax.<A
HREF="../../../org/xml/sax/SAXNotSupportedException.html"><B>SAXNotSupportedException</B></A><LI
TYPE="circle">class org.xml.sax.<A
HREF="../../../org/xml/sax/SAXParseException.html"><B>SAXParseException</B></A></UL>
</UL>
</UL>
</UL>
</UL>
<H2>
Interface Hierarchy
</H2>
<UL>
<LI TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/AttributeList.html"><B>AttributeList</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/Attributes.html"><B>Attributes</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/ContentHandler.html"><B>ContentHandler</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/DocumentHandler.html"><B>DocumentHandler</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/DTDHandler.html"><B>DTDHandler</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/EntityResolver.html"><B>EntityResolver</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/ErrorHandler.html"><B>ErrorHandler</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/Locator.html"><B>Locator</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/Parser.html"><B>Parser</B></A><LI
TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/XMLReader.html"><B>XMLReader</B></A><UL>
<LI TYPE="circle">interface org.xml.sax.<A
HREF="../../../org/xml/sax/XMLFilter.html"><B>XMLFilter</B></A></UL>
</UL>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../org/w3c/dom/traversal/package-tree.html"><B>PREV</B></A>
<A
HREF="../../../org/xml/sax/ext/package-tree.html"><B>NEXT</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/ext/DeclHandler.html
Index: DeclHandler.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface DeclHandler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/xml/sax/ext/LexicalHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DeclHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.ext</FONT>
<BR>
Interface DeclHandler</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>DeclHandler</B></DL>
<P>
SAX2 extension handler for DTD declaration events.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This is an optional extension handler for SAX2 to provide
information about DTD declarations in an XML document. XML
readers are not required to support this handler, and this
handler is not included in the core SAX2 distribution.</p>
<p>Note that data-related DTD declarations (unparsed entities and
notations) are already reported through the <A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>
interface.</p>
<p>If you are using the declaration handler together with a lexical
handler, all of the events will occur between the
<A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startDTD(java.lang.String,
java.lang.String, java.lang.String)"><CODE>startDTD</CODE></A> and the
<A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endDTD()"><CODE>endDTD</CODE></A>
events.</p>
<p>To set the DeclHandler for an XML reader, use the
<A
HREF="../../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)"><CODE>setProperty</CODE></A> method
with the propertyId "http://xml.org/sax/properties/declaration-handler".
If the reader does not support declaration events, it will throw a
<A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html"><CODE>SAXNotRecognizedException</CODE></A>
or a
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html"><CODE>SAXNotSupportedException</CODE></A>
when you attempt to register the handler.</p>
<P>
<DL>
<DT><B>Since: </B><DD>1.0</DD>
<DT><B>Version: </B><DD>1.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#attributeDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">attributeDecl</A></B>(java.lang.String eName,
java.lang.String aName,
java.lang.String type,
java.lang.String valueDefault,
java.lang.String value)</CODE>
<BR>
Report an
attribute type declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#elementDecl(java.lang.String,
java.lang.String)">elementDecl</A></B>(java.lang.String name,
java.lang.String model)</CODE>
<BR>
Report an element
type declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#externalEntityDecl(java.lang.String,
java.lang.String,
java.lang.String)">externalEntityDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Report a parsed
external entity declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#internalEntityDecl(java.lang.String,
java.lang.String)">internalEntityDecl</A></B>(java.lang.String name,
java.lang.String value)</CODE>
<BR>
Report an
internal entity declaration.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="elementDecl(java.lang.String, java.lang.String)"><!-- --></A><H3>
elementDecl</H3>
<PRE>
public void <B>elementDecl</B>(java.lang.String name,
java.lang.String model)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report an element type declaration.
<p>The content model will consist of the string "EMPTY", the
string "ANY", or a parenthesised group, optionally followed
by an occurrence indicator. The model will be normalized so
that all parameter entities are fully resolved and all whitespace
is removed,and will include the enclosing parentheses. Other
normalization (such as removing redundant parentheses or
simplifying occurrence indicators) is at the discretion of the
parser.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>model</CODE> - The content model as a normalized
string.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.</DL>
</DD>
</DL>
<HR>
<A NAME="attributeDecl(java.lang.String, java.lang.String, java.lang.String,
java.lang.String, java.lang.String)"><!-- --></A><H3>
attributeDecl</H3>
<PRE>
public void <B>attributeDecl</B>(java.lang.String eName,
java.lang.String aName,
java.lang.String type,
java.lang.String valueDefault,
java.lang.String value)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report an attribute type declaration.
<p>Only the effective (first) declaration for an attribute will
be reported. The type will be one of the strings "CDATA",
"ID", "IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY",
"ENTITIES", a parenthesized token group with
the separator "|" and all whitespace removed, or the word
"NOTATION" followed by a space followed by a parenthesized
token group with all whitespace removed.</p>
<p>Any parameter entities in the attribute value will be
expanded, but general entities will not.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>eName</CODE> - The name of the associated
element.<DD><CODE>aName</CODE> - The name of the
attribute.<DD><CODE>type</CODE> - A string representing the attribute
type.<DD><CODE>valueDefault</CODE> - A string representing the attribute default
("#IMPLIED", "#REQUIRED", or "#FIXED") or null if
none of these applies.<DD><CODE>value</CODE> - A string representing
the attribute's default value,
or null if there is none.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.</DL>
</DD>
</DL>
<HR>
<A NAME="internalEntityDecl(java.lang.String, java.lang.String)"><!--
--></A><H3>
internalEntityDecl</H3>
<PRE>
public void <B>internalEntityDecl</B>(java.lang.String name,
java.lang.String value)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report an internal entity declaration.
<p>Only the effective (first) declaration for each entity
will be reported. All parameter entities in the value
will be expanded, but general entities will not.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity. If it
is a parameter
entity, the name will begin with '%'.<DD><CODE>value</CODE> - The
replacement text of the entity.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#externalEntityDecl(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>externalEntityDecl(java.lang.String, java.lang.String,
java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="externalEntityDecl(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
externalEntityDecl</H3>
<PRE>
public void <B>externalEntityDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report a parsed external entity declaration.
<p>Only the effective (first) declaration for each entity
will be reported.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity. If it
is a parameter
entity, the name will begin with '%'.<DD><CODE>publicId</CODE> - The
declared public identifier of the entity, or
null if none was declared.<DD><CODE>systemId</CODE> - The declared
system identifier of the entity.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#internalEntityDecl(java.lang.String,
java.lang.String)"><CODE>internalEntityDecl(java.lang.String,
java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/xml/sax/ext/LexicalHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DeclHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/ext/LexicalHandler.html
Index: LexicalHandler.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface LexicalHandler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/ext/DeclHandler.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="LexicalHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.ext</FONT>
<BR>
Interface LexicalHandler</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>LexicalHandler</B></DL>
<P>
SAX2 extension handler for lexical events.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This is an optional extension handler for SAX2 to provide
lexical information about an XML document, such as comments
and CDATA section boundaries; XML readers are not required to
support this handler, and it is not part of the core SAX2
distribution.</p>
<p>The events in the lexical handler apply to the entire document,
not just to the document element, and all lexical handler events
must appear between the content handler's startDocument and
endDocument events.</p>
<p>To set the LexicalHandler for an XML reader, use the
<A
HREF="../../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)"><CODE>setProperty</CODE></A> method
with the propertyId "http://xml.org/sax/properties/lexical-handler".
If the reader does not support lexical events, it will throw a
<A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html"><CODE>SAXNotRecognizedException</CODE></A>
or a
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html"><CODE>SAXNotSupportedException</CODE></A>
when you attempt to register the handler.</p>
<P>
<DL>
<DT><B>Since: </B><DD>1.0</DD>
<DT><B>Version: </B><DD>1.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)"><CODE>XMLReader.setProperty(java.lang.String,
java.lang.Object)</CODE></A>,
<A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html"><CODE>SAXNotRecognizedException</CODE></A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html"><CODE>SAXNotSupportedException</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#comment(char[], int,
int)">comment</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Report an XML
comment anywhere in the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endCDATA()">endCDATA</A></B>()</CODE>
<BR>
Report the end of
a CDATA section.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endDTD()">endDTD</A></B>()</CODE>
<BR>
Report the end of
DTD declarations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endEntity(java.lang.String)">endEntity</A></B>(java.lang.String name)</CODE>
<BR>
Report the end of
an entity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startCDATA()">startCDATA</A></B>()</CODE>
<BR>
Report the start
of a CDATA section.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startDTD(java.lang.String,
java.lang.String,
java.lang.String)">startDTD</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Report the start
of DTD declarations, if any.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)">startEntity</A></B>(java.lang.String name)</CODE>
<BR>
Report the
beginning of some internal and external XML entities.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="startDTD(java.lang.String, java.lang.String, java.lang.String)"><!--
--></A><H3>
startDTD</H3>
<PRE>
public void <B>startDTD</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report the start of DTD declarations, if any.
<p>This method is intended to report the beginning of the
DOCTYPE declaration; if the document has no DOCTYPE declaration,
this method will not be invoked.</p>
<p>All declarations reported through
<A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A> or
<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html"><CODE>DeclHandler</CODE></A>
events must appear
between the startDTD and <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endDTD()"><CODE>endDTD</CODE></A>
events.
Declarations are assumed to belong to the internal DTD subset
unless they appear between <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)"><CODE>startEntity</CODE></A>
and <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endEntity(java.lang.String)"><CODE>endEntity</CODE></A>
events. Comments and
processing instructions from the DTD should also be reported
between the startDTD and endDTD events, in their original
order of (logical) occurrence; they are not required to
appear in their correct locations relative to DTDHandler
or DeclHandler events, however.</p>
<p>Note that the start/endDTD events will appear within
the start/endDocument events from ContentHandler and
before the first
<A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A>
event.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The document type
name.<DD><CODE>publicId</CODE> - The declared public identifier for the
external DTD subset, or null if none was
declared.<DD><CODE>systemId</CODE> - The declared system identifier for the
external DTD subset, or null if none was
declared.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an
exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endDTD()"><CODE>endDTD()</CODE></A>,
<A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)"><CODE>startEntity(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDTD()"><!-- --></A><H3>
endDTD</H3>
<PRE>
public void <B>endDTD</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report the end of DTD declarations.
<p>This method is intended to report the end of the
DOCTYPE declaration; if the document has no DOCTYPE declaration,
this method will not be invoked.</p><DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startDTD(java.lang.String,
java.lang.String, java.lang.String)"><CODE>startDTD(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startEntity(java.lang.String)"><!-- --></A><H3>
startEntity</H3>
<PRE>
public void <B>startEntity</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report the beginning of some internal and external XML entities.
<p>The reporting of parameter entities (including
the external DTD subset) is optional, and SAX2 drivers that
support LexicalHandler may not support it; you can use the
<code
>http://xml.org/sax/features/lexical-handler/parameter-entities</code>
feature to query or control the reporting of parameter entities.</p>
<p>General entities are reported with their regular names,
parameter entities have '%' prepended to their names, and
the external DTD subset has the pseudo-entity name "[dtd]".</p>
<p>When a SAX2 driver is providing these events, all other
events must be properly nested within start/end entity
events. There is no additional requirement that events from
<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html"><CODE>DeclHandler</CODE></A>
or
<A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A> be
properly ordered.</p>
<p>Note that skipped entities will be reported through the
<A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)"><CODE>skippedEntity</CODE></A>
event, which is part of the ContentHandler interface.</p>
<p>Because of the streaming event model that SAX uses, some
entity boundaries cannot be reported under any
circumstances:</p>
<ul>
<li>general entities within attribute values</li>
<li>parameter entities within declarations</li>
</ul>
<p>These will be silently expanded, with no indication of where
the original entity boundaries were.</p>
<p>Note also that the boundaries of character references (which
are not really entities anyway) are not reported.</p>
<p>All start/endEntity events must be properly nested.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity. If it
is a parameter
entity, the name will begin with '%', and if it is the
external DTD subset, it will be
"[dtd]".<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endEntity(java.lang.String)"><CODE>endEntity(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#internalEntityDecl(java.lang.String,
java.lang.String)"><CODE>DeclHandler.internalEntityDecl(java.lang.String,
java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#externalEntityDecl(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>DeclHandler.externalEntityDecl(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endEntity(java.lang.String)"><!-- --></A><H3>
endEntity</H3>
<PRE>
public void <B>endEntity</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report the end of an entity.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity that is
ending.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)"><CODE>startEntity(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startCDATA()"><!-- --></A><H3>
startCDATA</H3>
<PRE>
public void <B>startCDATA</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report the start of a CDATA section.
<p>The contents of the CDATA section will be reported through
the regular <A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)"><CODE>characters</CODE></A> event; this event is intended only to report
the boundary.</p><DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endCDATA()"><CODE>endCDATA()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endCDATA()"><!-- --></A><H3>
endCDATA</H3>
<PRE>
public void <B>endCDATA</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report the end of a CDATA section.<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startCDATA()"><CODE>startCDATA()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="comment(char[], int, int)"><!-- --></A><H3>
comment</H3>
<PRE>
public void <B>comment</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report an XML comment anywhere in the document.
<p>This callback will be used for comments inside or outside the
document element, including comments in the external DTD
subset (if read). Comments in the DTD must be properly
nested inside start/endDTD and start/endEntity events (if
used).</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array holding the characters
in the comment.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to use from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/ext/DeclHandler.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="LexicalHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/ext/package-frame.html
Index: package-frame.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Package org.xml.sax.ext
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameTitleFont">
<A HREF="../../../../org/xml/sax/ext/package-summary.html"
TARGET="classFrame">org.xml.sax.ext</A></FONT>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Interfaces</FONT>
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="DeclHandler.html" TARGET="classFrame"><I>DeclHandler</I></A>
<BR>
<A HREF="LexicalHandler.html"
TARGET="classFrame"><I>LexicalHandler</I></A></FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/ext/package-summary.html
Index: package-summary.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Package org.xml.sax.ext
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/package-summary.html"><B>PREV
PACKAGE</B></A>
<A HREF="../../../../org/xml/sax/helpers/package-summary.html"><B>NEXT
PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<H2>
Package org.xml.sax.ext
</H2>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Interface Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DeclHandler.html"><I>DeclHandler</I></A></B></TD>
<TD>SAX2 extension handler for DTD declaration events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="LexicalHandler.html"><I>LexicalHandler</I></A></B></TD>
<TD>SAX2 extension handler for lexical events.</TD>
</TR>
</TABLE>
<P>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/package-summary.html"><B>PREV
PACKAGE</B></A>
<A HREF="../../../../org/xml/sax/helpers/package-summary.html"><B>NEXT
PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/ext/package-tree.html
Index: package-tree.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: org.xml.sax.ext Class Hierarchy
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/xml/sax/package-tree.html"><B>PREV</B></A>
<A
HREF="../../../../org/xml/sax/helpers/package-tree.html"><B>NEXT</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For Package org.xml.sax.ext
</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A
HREF="../../../../overview-tree.html">All Packages</A></DL>
<HR>
<H2>
Interface Hierarchy
</H2>
<UL>
<LI TYPE="circle">interface org.xml.sax.ext.<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html"><B>DeclHandler</B></A><LI
TYPE="circle">interface org.xml.sax.ext.<A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html"><B>LexicalHandler</B></A></UL>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/xml/sax/package-tree.html"><B>PREV</B></A>
<A
HREF="../../../../org/xml/sax/helpers/package-tree.html"><B>NEXT</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/AttributeListImpl.html
Index: AttributeListImpl.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:08 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class AttributeListImpl
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/xml/sax/helpers/AttributesImpl.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="AttributeListImpl.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class AttributeListImpl</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.AttributeListImpl</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A></DD>
</DL>
<HR>
<B>Deprecated.</B> <I>This class implements a deprecated interface,
<A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A>;
that interface has been replaced by
<A
HREF="../../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A>,
which is implemented in the
<A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html"><CODE>AttributesImpl</CODE></A>
helper class.</I>
<P>
<DL>
<DT>public class <B>AttributeListImpl</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A></DL>
<P>
Default implementation for AttributeList.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>AttributeList implements the deprecated SAX1 <A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A>
interface, and has been
replaced by the new SAX2 <A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html"><CODE>AttributesImpl</CODE></A>
interface.</p>
<p>This class provides a convenience implementation of the SAX
<A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A>
interface. This
implementation is useful both for SAX parser writers, who can use
it to provide attributes to the application, and for SAX application
writers, who can use it to create a persistent copy of an element's
attribute specifications:</p>
<pre>
private AttributeList myatts;
public void startElement (String name, AttributeList atts)
{
// create a persistent copy of the attribute list
// for use outside this method
myatts = new AttributeListImpl(atts);
[...]
}
</pre>
<p>Please note that SAX parsers are not required to use this
class to provide an implementation of AttributeList; it is
supplied only as an optional convenience. In particular,
parser writers are encouraged to invent more efficient
implementations.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A>,
<A
HREF="../../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)"><CODE>DocumentHandler.startElement(java.lang.String,
org.xml.sax.AttributeList)</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#AttributeListImpl()">AttributeListImpl</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Create
an empty attribute list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#AttributeListImpl(org.xml.sax.AttributeList)">AttributeListImpl</A></B>(<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> atts)</CODE>
<BR>
<B>Deprecated.</B> Construct
a persistent copy of an existing attribute list.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#addAttribute(java.lang.String,
java.lang.String,
java.lang.String)">addAttribute</A></B>(java.lang.String name,
java.lang.String type,
java.lang.String value)</CODE>
<BR>
<B>Deprecated.</B> Add
an attribute to an attribute list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#clear()">clear</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Clear
the attribute list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#getLength()">getLength</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Return
the number of attributes in the list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#getName(int)">getName</A></B>(int i)</CODE>
<BR>
<B>Deprecated.</B> Get
the name of an attribute (by position).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#getType(int)">getType</A></B>(int i)</CODE>
<BR>
<B>Deprecated.</B> Get
the type of an attribute (by position).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#getType(java.lang.String)">getType</A></B>(java.lang.String name)</CODE>
<BR>
<B>Deprecated.</B> Get
the type of an attribute (by name).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#getValue(int)">getValue</A></B>(int i)</CODE>
<BR>
<B>Deprecated.</B> Get
the value of an attribute (by position).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#getValue(java.lang.String)">getValue</A></B>(java.lang.String name)</CODE>
<BR>
<B>Deprecated.</B> Get
the value of an attribute (by name).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#removeAttribute(java.lang.String)">removeAttribute</A></B>(java.lang.String name)</CODE>
<BR>
<B>Deprecated.</B> Remove
an attribute from the list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#setAttributeList(org.xml.sax.AttributeList)">setAttributeList</A></B>(<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> atts)</CODE>
<BR>
<B>Deprecated.</B> Set
the attribute list, discarding previous contents.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="AttributeListImpl()"><!-- --></A><H3>
AttributeListImpl</H3>
<PRE>
public <B>AttributeListImpl</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Create an empty attribute list.
<p>This constructor is most useful for parser writers, who
will use it to create a single, reusable attribute list that
can be reset with the clear method between elements.</p><DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#addAttribute(java.lang.String,
java.lang.String, java.lang.String)"><CODE>addAttribute(java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#clear()"><CODE>clear()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="AttributeListImpl(org.xml.sax.AttributeList)"><!-- --></A><H3>
AttributeListImpl</H3>
<PRE>
public <B>AttributeListImpl</B>(<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> atts)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Construct a persistent copy of an existing
attribute list.
<p>This constructor is most useful for application writers,
who will use it to create a persistent copy of an existing
attribute list.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>atts</CODE> - The attribute list to
copy<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)"><CODE>DocumentHandler.startElement(java.lang.String,
org.xml.sax.AttributeList)</CODE></A></DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setAttributeList(org.xml.sax.AttributeList)"><!-- --></A><H3>
setAttributeList</H3>
<PRE>
public void <B>setAttributeList</B>(<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> atts)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Set the attribute list, discarding previous
contents.
<p>This method allows an application writer to reuse an
attribute list easily.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>atts</CODE> - The attribute list to copy.</DL>
</DD>
</DL>
<HR>
<A NAME="addAttribute(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
addAttribute</H3>
<PRE>
public void <B>addAttribute</B>(java.lang.String name,
java.lang.String type,
java.lang.String value)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Add an attribute to an attribute list.
<p>This method is provided for SAX parser writers, to allow them
to build up an attribute list incrementally before delivering
it to the application.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The attribute
name.<DD><CODE>type</CODE> - The attribute type ("NMTOKEN" for an
enumeration).<DD><CODE>value</CODE> - The attribute value (must not be
null).<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#removeAttribute(java.lang.String)"><CODE>removeAttribute(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)"><CODE>DocumentHandler.startElement(java.lang.String,
org.xml.sax.AttributeList)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="removeAttribute(java.lang.String)"><!-- --></A><H3>
removeAttribute</H3>
<PRE>
public void <B>removeAttribute</B>(java.lang.String name)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Remove an attribute from the list.
<p>SAX application writers can use this method to filter an
attribute out of an AttributeList. Note that invoking this
method will change the length of the attribute list and
some of the attribute's indices.</p>
<p>If the requested attribute is not in the list, this is
a no-op.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The attribute name.<DT><B>See
Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html#addAttribute(java.lang.String,
java.lang.String, java.lang.String)"><CODE>addAttribute(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public void <B>clear</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Clear the attribute list.
<p>SAX parser writers can use this method to reset the attribute
list between DocumentHandler.startElement events. Normally,
it will make sense to reuse the same AttributeListImpl object
rather than allocating a new one each time.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)"><CODE>DocumentHandler.startElement(java.lang.String,
org.xml.sax.AttributeList)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLength()"><!-- --></A><H3>
getLength</H3>
<PRE>
public int <B>getLength</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Return the number of attributes in the
list.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/AttributeList.html#getLength()">getLength</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The number of attributes in the list.<DT><B>See Also:
</B><DD><A
HREF="../../../../org/xml/sax/AttributeList.html#getLength()"><CODE>AttributeList.getLength()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getName(int)"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>(int i)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Get the name of an attribute (by
position).<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/AttributeList.html#getName(int)">getName</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The position of the attribute in
the list.<DT><B>Returns:</B><DD>The attribute name as a string, or null if there
is no attribute at that position.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/AttributeList.html#getName(int)"><CODE>AttributeList.getName(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getType(int)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(int i)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Get the type of an attribute (by
position).<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/AttributeList.html#getType(int)">getType</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The position of the attribute in
the list.<DT><B>Returns:</B><DD>The attribute type as a string ("NMTOKEN" for an
enumeration, and "CDATA" if no declaration was
read), or null if there is no attribute at
that position.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/AttributeList.html#getType(int)"><CODE>AttributeList.getType(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getValue(int)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(int i)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Get the value of an attribute (by
position).<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/AttributeList.html#getValue(int)">getValue</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The position of the attribute in
the list.<DT><B>Returns:</B><DD>The attribute value as a string, or null if
there is no attribute at that position.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/AttributeList.html#getValue(int)"><CODE>AttributeList.getValue(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getType(java.lang.String)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(java.lang.String name)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Get the type of an attribute (by
name).<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/AttributeList.html#getType(java.lang.String)">getType</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The attribute
name.<DT><B>Returns:</B><DD>The attribute type as a string ("NMTOKEN" for an
enumeration, and "CDATA" if no declaration was
read).<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/AttributeList.html#getType(java.lang.String)"><CODE>AttributeList.getType(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getValue(java.lang.String)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(java.lang.String name)</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Get the value of an attribute (by
name).<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/AttributeList.html#getValue(java.lang.String)">getValue</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The attribute name.<DT><B>See
Also: </B><DD><A
HREF="../../../../org/xml/sax/AttributeList.html#getValue(java.lang.String)"><CODE>AttributeList.getValue(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/xml/sax/helpers/AttributesImpl.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="AttributeListImpl.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/AttributesImpl.html
Index: AttributesImpl.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class AttributesImpl
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/DefaultHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="AttributesImpl.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class AttributesImpl</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.AttributesImpl</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>AttributesImpl</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></DL>
<P>
Default implementation of the Attributes interface.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class provides a default implementation of the SAX2
<A
HREF="../../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A>
interface, with the
addition of manipulators so that the list can be modified or
reused.</p>
<p>There are two typical uses of this class:</p>
<ol>
<li>to take a persistent snapshot of an Attributes object
in a <A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A> event; or</li>
<li>to construct or modify an Attributes object in a SAX2 driver or
filter.</li>
</ol>
<p>This class replaces the now-deprecated SAX1 <A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html"><CODE>AttributeListImpl</CODE></A>
class; in addition to supporting the updated Attributes
interface rather than the deprecated <A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A>
interface, it also includes a much more efficient
implementation using a single array rather than a set of Vectors.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#AttributesImpl()">AttributesImpl</A></B>()</CODE>
<BR>
Construct a new,
empty AttributesImpl object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#AttributesImpl(org.xml.sax.Attributes)">AttributesImpl</A></B>(<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</CODE>
<BR>
Copy an existing
Attributes object.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#addAttribute(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">addAttribute</A></B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String type,
java.lang.String value)</CODE>
<BR>
Add an attribute
to the end of the list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#clear()">clear</A></B>()</CODE>
<BR>
Clear the
attribute list for reuse.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getIndex(java.lang.String)">getIndex</A></B>(java.lang.String qName)</CODE>
<BR>
Look up an
attribute's index by qualified (prefixed) name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getIndex(java.lang.String,
java.lang.String)">getIndex</A></B>(java.lang.String uri,
java.lang.String localName)</CODE>
<BR>
Look up an
attribute's index by Namespace name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getLength()">getLength</A></B>()</CODE>
<BR>
Return the number
of attributes in the list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getLocalName(int)">getLocalName</A></B>(int index)</CODE>
<BR>
Return an
attribute's local name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getQName(int)">getQName</A></B>(int index)</CODE>
<BR>
Return an
attribute's qualified (prefixed) name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getType(int)">getType</A></B>(int index)</CODE>
<BR>
Return an
attribute's type by index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getType(java.lang.String)">getType</A></B>(java.lang.String qName)</CODE>
<BR>
Look up an
attribute's type by qualified (prefixed) name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getType(java.lang.String,
java.lang.String)">getType</A></B>(java.lang.String uri,
java.lang.String localName)</CODE>
<BR>
Look up an
attribute's type by Namespace-qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getURI(int)">getURI</A></B>(int index)</CODE>
<BR>
Return an
attribute's Namespace URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getValue(int)">getValue</A></B>(int index)</CODE>
<BR>
Return an
attribute's value by index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getValue(java.lang.String)">getValue</A></B>(java.lang.String qName)</CODE>
<BR>
Look up an
attribute's value by qualified (prefixed) name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#getValue(java.lang.String,
java.lang.String)">getValue</A></B>(java.lang.String uri,
java.lang.String localName)</CODE>
<BR>
Look up an
attribute's value by Namespace-qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#removeAttribute(int)">removeAttribute</A></B>(int index)</CODE>
<BR>
Remove an
attribute from the list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#setAttribute(int,
java.lang.String, java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">setAttribute</A></B>(int index,
java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String type,
java.lang.String value)</CODE>
<BR>
Set an attribute
in the list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#setAttributes(org.xml.sax.Attributes)">setAttributes</A></B>(<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</CODE>
<BR>
Copy an entire
Attributes object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#setLocalName(int,
java.lang.String)">setLocalName</A></B>(int index,
java.lang.String localName)</CODE>
<BR>
Set the local
name of a specific attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#setQName(int,
java.lang.String)">setQName</A></B>(int index,
java.lang.String qName)</CODE>
<BR>
Set the qualified
name of a specific attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#setType(int,
java.lang.String)">setType</A></B>(int index,
java.lang.String type)</CODE>
<BR>
Set the type of a
specific attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#setURI(int,
java.lang.String)">setURI</A></B>(int index,
java.lang.String uri)</CODE>
<BR>
Set the Namespace
URI of a specific attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html#setValue(int,
java.lang.String)">setValue</A></B>(int index,
java.lang.String value)</CODE>
<BR>
Set the value of
a specific attribute.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="AttributesImpl()"><!-- --></A><H3>
AttributesImpl</H3>
<PRE>
public <B>AttributesImpl</B>()</PRE>
<DL>
<DD>Construct a new, empty AttributesImpl object.</DL>
<HR>
<A NAME="AttributesImpl(org.xml.sax.Attributes)"><!-- --></A><H3>
AttributesImpl</H3>
<PRE>
public <B>AttributesImpl</B>(<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</PRE>
<DL>
<DD>Copy an existing Attributes object.
<p>This constructor is especially useful inside a
<A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A> event.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>atts</CODE> - The existing Attributes
object.</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getLength()"><!-- --></A><H3>
getLength</H3>
<PRE>
public int <B>getLength</B>()</PRE>
<DL>
<DD>Return the number of attributes in the list.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getLength()">getLength</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The number of attributes in the list.<DT><B>See Also:
</B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getLength()"><CODE>Attributes.getLength()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getURI(int)"><!-- --></A><H3>
getURI</H3>
<PRE>
public java.lang.String <B>getURI</B>(int index)</PRE>
<DL>
<DD>Return an attribute's Namespace URI.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getURI(int)">getURI</A></CODE> in
interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute's index
(zero-based).<DT><B>Returns:</B><DD>The Namespace URI, the empty string if none
is
available, or null if the index is out of range.<DT><B>See Also:
</B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getURI(int)"><CODE>Attributes.getURI(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLocalName(int)"><!-- --></A><H3>
getLocalName</H3>
<PRE>
public java.lang.String <B>getLocalName</B>(int index)</PRE>
<DL>
<DD>Return an attribute's local name.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getLocalName(int)">getLocalName</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute's index
(zero-based).<DT><B>Returns:</B><DD>The attribute's local name, the empty
string if
none is available, or null if the index if out of range.<DT><B>See
Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getLocalName(int)"><CODE>Attributes.getLocalName(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getQName(int)"><!-- --></A><H3>
getQName</H3>
<PRE>
public java.lang.String <B>getQName</B>(int index)</PRE>
<DL>
<DD>Return an attribute's qualified (prefixed) name.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getQName(int)">getQName</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute's index
(zero-based).<DT><B>Returns:</B><DD>The attribute's qualified name, the empty
string if
none is available, or null if the index is out of bounds.<DT><B>See
Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getQName(int)"><CODE>Attributes.getQName(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getType(int)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(int index)</PRE>
<DL>
<DD>Return an attribute's type by index.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getType(int)">getType</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute's index
(zero-based).<DT><B>Returns:</B><DD>The attribute's type, "CDATA" if the type
is unknown, or null
if the index is out of bounds.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getType(int)"><CODE>Attributes.getType(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getValue(int)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(int index)</PRE>
<DL>
<DD>Return an attribute's value by index.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getValue(int)">getValue</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The attribute's index
(zero-based).<DT><B>Returns:</B><DD>The attribute's value or null if the index
is out of bounds.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getValue(int)"><CODE>Attributes.getValue(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getIndex(java.lang.String, java.lang.String)"><!-- --></A><H3>
getIndex</H3>
<PRE>
public int <B>getIndex</B>(java.lang.String uri,
java.lang.String localName)</PRE>
<DL>
<DD>Look up an attribute's index by Namespace name.
<p>In many cases, it will be more efficient to look up the name once and
use the index query methods rather than using the name query methods
repeatedly.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getIndex(java.lang.String,
java.lang.String)">getIndex</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The attribute's Namespace URI,
or the empty
string if none is available.<DD><CODE>localName</CODE> - The
attribute's local name.<DT><B>Returns:</B><DD>The attribute's index, or -1 if
none matches.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getIndex(java.lang.String,
java.lang.String)"><CODE>Attributes.getIndex(java.lang.String,java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getIndex(java.lang.String)"><!-- --></A><H3>
getIndex</H3>
<PRE>
public int <B>getIndex</B>(java.lang.String qName)</PRE>
<DL>
<DD>Look up an attribute's index by qualified (prefixed) name.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getIndex(java.lang.String)">getIndex</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The qualified
name.<DT><B>Returns:</B><DD>The attribute's index, or -1 if none
matches.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getIndex(java.lang.String)"><CODE>Attributes.getIndex(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getType(java.lang.String, java.lang.String)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(java.lang.String uri,
java.lang.String localName)</PRE>
<DL>
<DD>Look up an attribute's type by Namespace-qualified name.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getType(java.lang.String,
java.lang.String)">getType</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string for a name
with no explicit Namespace URI.<DD><CODE>localName</CODE> - The local
name.<DT><B>Returns:</B><DD>The attribute's type, or null if there is no
matching attribute.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getType(java.lang.String,
java.lang.String)"><CODE>Attributes.getType(java.lang.String,java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getType(java.lang.String)"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>(java.lang.String qName)</PRE>
<DL>
<DD>Look up an attribute's type by qualified (prefixed) name.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getType(java.lang.String)">getType</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The qualified
name.<DT><B>Returns:</B><DD>The attribute's type, or null if there is no
matching attribute.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getType(java.lang.String)"><CODE>Attributes.getType(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getValue(java.lang.String, java.lang.String)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(java.lang.String uri,
java.lang.String localName)</PRE>
<DL>
<DD>Look up an attribute's value by Namespace-qualified name.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getValue(java.lang.String,
java.lang.String)">getValue</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string for a name
with no explicit Namespace URI.<DD><CODE>localName</CODE> - The local
name.<DT><B>Returns:</B><DD>The attribute's value, or null if there is no
matching attribute.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getValue(java.lang.String,
java.lang.String)"><CODE>Attributes.getValue(java.lang.String,java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getValue(java.lang.String)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.String <B>getValue</B>(java.lang.String qName)</PRE>
<DL>
<DD>Look up an attribute's value by qualified (prefixed) name.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Attributes.html#getValue(java.lang.String)">getValue</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The qualified
name.<DT><B>Returns:</B><DD>The attribute's value, or null if there is no
matching attribute.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Attributes.html#getValue(java.lang.String)"><CODE>Attributes.getValue(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public void <B>clear</B>()</PRE>
<DL>
<DD>Clear the attribute list for reuse.
<p>Note that no memory is actually freed by this call:
the current arrays are kept so that they can be
reused.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setAttributes(org.xml.sax.Attributes)"><!-- --></A><H3>
setAttributes</H3>
<PRE>
public void <B>setAttributes</B>(<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</PRE>
<DL>
<DD>Copy an entire Attributes object.
<p>It may be more efficient to reuse an existing object
rather than constantly allocating new ones.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>atts</CODE> - The attributes to copy.</DL>
</DD>
</DL>
<HR>
<A NAME="addAttribute(java.lang.String, java.lang.String, java.lang.String,
java.lang.String, java.lang.String)"><!-- --></A><H3>
addAttribute</H3>
<PRE>
public void <B>addAttribute</B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String type,
java.lang.String value)</PRE>
<DL>
<DD>Add an attribute to the end of the list.
<p>For the sake of speed, this method does no checking
to see if the attribute is already in the list: that is
the responsibility of the application.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if
none is available or Namespace processing is not
being performed.<DD><CODE>localName</CODE> - The local name, or the
empty string if
Namespace processing is not being performed.<DD><CODE>qName</CODE> -
The qualified (prefixed) name, or the empty string
if qualified names are not available.<DD><CODE>type</CODE> - The
attribute type as a string.<DD><CODE>value</CODE> - The attribute value.</DL>
</DD>
</DL>
<HR>
<A NAME="setAttribute(int, java.lang.String, java.lang.String,
java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
setAttribute</H3>
<PRE>
public void <B>setAttribute</B>(int index,
java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String type,
java.lang.String value)</PRE>
<DL>
<DD>Set an attribute in the list.
<p>For the sake of speed, this method does no checking
for name conflicts or well-formedness: such checks are the
responsibility of the application.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the attribute
(zero-based).<DD><CODE>uri</CODE> - The Namespace URI, or the empty string if
none is available or Namespace processing is not
being performed.<DD><CODE>localName</CODE> - The local name, or the
empty string if
Namespace processing is not being performed.<DD><CODE>qName</CODE> -
The qualified name, or the empty string
if qualified names are not available.<DD><CODE>type</CODE> - The
attribute type as a string.<DD><CODE>value</CODE> - The attribute
value.<DT><B>Throws:</B><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE>
- When the
supplied index does not point to an attribute
in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="removeAttribute(int)"><!-- --></A><H3>
removeAttribute</H3>
<PRE>
public void <B>removeAttribute</B>(int index)</PRE>
<DL>
<DD>Remove an attribute from the list.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the attribute
(zero-based).<DT><B>Throws:</B><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE>
- When the
supplied index does not point to an attribute
in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="setURI(int, java.lang.String)"><!-- --></A><H3>
setURI</H3>
<PRE>
public void <B>setURI</B>(int index,
java.lang.String uri)</PRE>
<DL>
<DD>Set the Namespace URI of a specific attribute.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the attribute
(zero-based).<DD><CODE>uri</CODE> - The attribute's Namespace URI, or the empty
string for
none.<DT><B>Throws:</B><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE>
- When the
supplied index does not point to an attribute
in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="setLocalName(int, java.lang.String)"><!-- --></A><H3>
setLocalName</H3>
<PRE>
public void <B>setLocalName</B>(int index,
java.lang.String localName)</PRE>
<DL>
<DD>Set the local name of a specific attribute.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the attribute
(zero-based).<DD><CODE>localName</CODE> - The attribute's local name, or the
empty
string for
none.<DT><B>Throws:</B><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE>
- When the
supplied index does not point to an attribute
in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="setQName(int, java.lang.String)"><!-- --></A><H3>
setQName</H3>
<PRE>
public void <B>setQName</B>(int index,
java.lang.String qName)</PRE>
<DL>
<DD>Set the qualified name of a specific attribute.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the attribute
(zero-based).<DD><CODE>qName</CODE> - The attribute's qualified name, or the
empty
string for
none.<DT><B>Throws:</B><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE>
- When the
supplied index does not point to an attribute
in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="setType(int, java.lang.String)"><!-- --></A><H3>
setType</H3>
<PRE>
public void <B>setType</B>(int index,
java.lang.String type)</PRE>
<DL>
<DD>Set the type of a specific attribute.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the attribute
(zero-based).<DD><CODE>type</CODE> - The attribute's
type.<DT><B>Throws:</B><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE>
- When the
supplied index does not point to an attribute
in the list.</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(int, java.lang.String)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(int index,
java.lang.String value)</PRE>
<DL>
<DD>Set the value of a specific attribute.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the attribute
(zero-based).<DD><CODE>value</CODE> - The attribute's
value.<DT><B>Throws:</B><DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE>
- When the
supplied index does not point to an attribute
in the list.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/DefaultHandler.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="AttributesImpl.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/DefaultHandler.html
Index: DefaultHandler.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class DefaultHandler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/AttributesImpl.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/LocatorImpl.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DefaultHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class DefaultHandler</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.DefaultHandler</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>, <A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>DefaultHandler</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>, <A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></DL>
<P>
Default base class for SAX2 event handlers.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class is available as a convenience base class for SAX2
applications: it provides default implementations for all of the
callbacks in the four core SAX2 handler classes:</p>
<ul>
<li><A
HREF="../../../../org/xml/sax/EntityResolver.html"><CODE>EntityResolver</CODE></A></li>
<li><A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A></li>
<li><A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A></li>
<li><A
HREF="../../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A></li>
</ul>
<p>Application writers can extend this class when they need to
implement only part of an interface; parser writers can
instantiate this class to provide default handlers when the
application has not supplied its own.</p>
<p>This class replaces the deprecated SAX1
<A
HREF="../../../../org/xml/sax/HandlerBase.html"><CODE>HandlerBase</CODE></A>
class.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/EntityResolver.html"><CODE>EntityResolver</CODE></A>,
<A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>,
<A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>,
<A
HREF="../../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#DefaultHandler()">DefaultHandler</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#characters(char[],
int, int)">characters</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Receive
notification of character data inside an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
Receive
notification of the end of the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)">endElement</A></B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)</CODE>
<BR>
Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></B>(java.lang.String prefix)</CODE>
<BR>
Receive
notification of the end of a Namespace mapping.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#error(org.xml.sax.SAXParseException)">error</A></B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
Receive
notification of a recoverable parser error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
Report a fatal
XML parsing error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Receive
notification of ignorable whitespace in element content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)">notationDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Receive
notification of a notation declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String data)</CODE>
<BR>
Receive
notification of a processing instruction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/InputSource.html">InputSource</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#resolveEntity(java.lang.String,
java.lang.String)">resolveEntity</A></B>(java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Resolve an
external entity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
Receive a Locator
object for document events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#skippedEntity(java.lang.String)">skippedEntity</A></B>(java.lang.String name)</CODE>
<BR>
Receive
notification of a skipped entity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
Receive
notification of the beginning of the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> attributes)</CODE>
<BR>
Receive
notification of the start of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></B>(java.lang.String prefix,
java.lang.String uri)</CODE>
<BR>
Receive
notification of the start of a Namespace mapping.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)</CODE>
<BR>
Receive
notification of an unparsed entity declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html#warning(org.xml.sax.SAXParseException)">warning</A></B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
Receive
notification of a parser warning.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="DefaultHandler()"><!-- --></A><H3>
DefaultHandler</H3>
<PRE>
public <B>DefaultHandler</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3>
resolveEntity</H3>
<PRE>
public <A HREF="../../../../org/xml/sax/InputSource.html">InputSource</A>
<B>resolveEntity</B>(java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Resolve an external entity.
<p>Always return null, so that the parser will use the system
identifier provided in the XML document. This method implements
the SAX default behaviour: application writers can override it
in a subclass to do special translations such as catalog lookups
or URI redirection.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,
java.lang.String)">resolveEntity</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>publicId</CODE> - The public identifer, or
null if none is
available.<DD><CODE>systemId</CODE> - The system identifier
provided in the XML
document.<DT><B>Returns:</B><DD>The new input source, or
null to require the
default behaviour.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,
java.lang.String)"><CODE>EntityResolver.resolveEntity(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="notationDecl(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
notationDecl</H3>
<PRE>
public void <B>notationDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a notation declaration.
<p>By default, do nothing. Application writers may override this
method in a subclass if they wish to keep track of the notations
declared in a document.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)">notationDecl</A></CODE> in interface
<CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The notation
name.<DD><CODE>publicId</CODE> - The notation public identifier, or null if not
available.<DD><CODE>systemId</CODE> - The notation system
identifier.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>DTDHandler.notationDecl(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="unparsedEntityDecl(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)"><!-- --></A><H3>
unparsedEntityDecl</H3>
<PRE>
public void <B>unparsedEntityDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of an unparsed entity declaration.
<p>By default, do nothing. Application writers may override this
method in a subclass to keep track of the unparsed entities
declared in a document.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The entity
name.<DD><CODE>publicId</CODE> - The entity public identifier, or null if not
available.<DD><CODE>systemId</CODE> - The entity system
identifier.<DD><CODE>notationName</CODE> - The name of the associated
notation.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
setDocumentLocator</H3>
<PRE>
public void <B>setDocumentLocator</B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD>Receive a Locator object for document events.
<p>By default, do nothing. Application writers may override this
method in a subclass if they wish to store the locator for use
with other document events.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - A locator for all SAX
document events.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>ContentHandler.setDocumentLocator(org.xml.sax.Locator)</CODE></A>,
<A HREF="../../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startDocument()"><!-- --></A><H3>
startDocument</H3>
<PRE>
public void <B>startDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the beginning of the document.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the beginning
of a document (such as allocating the root node of a tree or
creating an output file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startDocument()">startDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startDocument()"><CODE>ContentHandler.startDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the end of the document.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end
of a document (such as finalising a tree or closing an output
file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()">endDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()"><CODE>ContentHandler.endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startPrefixMapping(java.lang.String, java.lang.String)"><!--
--></A><H3>
startPrefixMapping</H3>
<PRE>
public void <B>startPrefixMapping</B>(java.lang.String prefix,
java.lang.String uri)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the start of a Namespace mapping.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the start of
each Namespace prefix scope (such as storing the prefix mapping).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The Namespace prefix being
declared.<DD><CODE>uri</CODE> - The Namespace URI mapped to the
prefix.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)"><CODE>ContentHandler.startPrefixMapping(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endPrefixMapping(java.lang.String)"><!-- --></A><H3>
endPrefixMapping</H3>
<PRE>
public void <B>endPrefixMapping</B>(java.lang.String prefix)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the end of a Namespace mapping.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end of
each prefix mapping.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The Namespace prefix being
declared.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>ContentHandler.endPrefixMapping(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> attributes)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the start of an element.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the start of
each element (such as allocating a new tree node or writing
output to a file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>attributes</CODE> - The specified or defaulted
attributes.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>ContentHandler.startElement(java.lang.String,
java.lang.String, java.lang.String, org.xml.sax.Attributes)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the end of an element.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end of
each element (such as finalising a tree node or writing
output to a file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)">endElement</A></CODE> in interface
<CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>attributes</CODE> - The specified or defaulted
attributes.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of character data inside an element.
<p>By default, do nothing. Application writers may override this
method to take specific actions for each chunk of character data
(such as adding the data to a node or buffer, or printing it to
a file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)">characters</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The
characters.<DD><CODE>start</CODE> - The start position in the character
array.<DD><CODE>length</CODE> - The number of characters to use from the
character array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)"><CODE>ContentHandler.characters(char[], int, int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of ignorable whitespace in element content.
<p>By default, do nothing. Application writers may override this
method to take specific actions for each chunk of ignorable
whitespace (such as adding data to a node or buffer, or printing
it to a file).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The whitespace
characters.<DD><CODE>start</CODE> - The start position in the character
array.<DD><CODE>length</CODE> - The number of characters to use from the
character array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ContentHandler.ignorableWhitespace(char[], int,
int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String data)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a processing instruction.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions for each
processing instruction, such as setting status variables or
invoking other methods.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The processing instruction data, or null if
none is supplied.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)"><CODE>ContentHandler.processingInstruction(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="skippedEntity(java.lang.String)"><!-- --></A><H3>
skippedEntity</H3>
<PRE>
public void <B>skippedEntity</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a skipped entity.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions for each
processing instruction, such as setting status variables or
invoking other methods.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)">skippedEntity</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the skipped
entity.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)"><CODE>ContentHandler.processingInstruction(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="warning(org.xml.sax.SAXParseException)"><!-- --></A><H3>
warning</H3>
<PRE>
public void <B>warning</B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a parser warning.
<p>The default implementation does nothing. Application writers
may override this method in a subclass to take specific actions
for each warning, such as inserting the message in a log file or
printing it to the console.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)">warning</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The warning information encoded as
an exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.warning(org.xml.sax.SAXParseException)</CODE></A>,
<A
HREF="../../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="error(org.xml.sax.SAXParseException)"><!-- --></A><H3>
error</H3>
<PRE>
public void <B>error</B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of a recoverable parser error.
<p>The default implementation does nothing. Application writers
may override this method in a subclass to take specific actions
for each error, such as inserting the message in a log file or
printing it to the console.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html#error(org.xml.sax.SAXParseException)">error</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The warning information encoded as
an exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.warning(org.xml.sax.SAXParseException)</CODE></A>,
<A
HREF="../../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="fatalError(org.xml.sax.SAXParseException)"><!-- --></A><H3>
fatalError</H3>
<PRE>
public void <B>fatalError</B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Report a fatal XML parsing error.
<p>The default implementation throws a SAXParseException.
Application writers may override this method in a subclass if
they need to take specific actions for each fatal error (such as
collecting all of the errors into a single report): in any case,
the application must stop all regular processing when this
method is invoked, since the document is no longer reliable, and
the parser may no longer report parsing events.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The error information encoded as
an exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.fatalError(org.xml.sax.SAXParseException)</CODE></A>,
<A
HREF="../../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/AttributesImpl.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/LocatorImpl.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DefaultHandler.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/LocatorImpl.html
Index: LocatorImpl.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class LocatorImpl
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/DefaultHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="LocatorImpl.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class LocatorImpl</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.LocatorImpl</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/Locator.html">Locator</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>LocatorImpl</B><DT>extends java.lang.Object<DT>implements
<A HREF="../../../../org/xml/sax/Locator.html">Locator</A></DL>
<P>
Provide an optional convenience implementation of Locator.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class is available mainly for application writers, who
can use it to make a persistent snapshot of a locator at any
point during a document parse:</p>
<pre>
Locator locator;
Locator startloc;
public void setLocator (Locator locator)
{
// note the locator
this.locator = locator;
}
public void startDocument ()
{
// save the location of the start of the document
// for future use.
Locator startloc = new LocatorImpl(locator);
}
</pre>
<p>Normally, parser writers will not use this class, since it
is more efficient to provide location information only when
requested, rather than constantly updating a Locator object.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#LocatorImpl()">LocatorImpl</A></B>()</CODE>
<BR>
Zero-argument
constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#LocatorImpl(org.xml.sax.Locator)">LocatorImpl</A></B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
Copy
constructor.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#getColumnNumber()">getColumnNumber</A></B>()</CODE>
<BR>
Return the saved
column number (1-based).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#getLineNumber()">getLineNumber</A></B>()</CODE>
<BR>
Return the saved
line number (1-based).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#getPublicId()">getPublicId</A></B>()</CODE>
<BR>
Return the saved
public identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#getSystemId()">getSystemId</A></B>()</CODE>
<BR>
Return the saved
system identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#setColumnNumber(int)">setColumnNumber</A></B>(int columnNumber)</CODE>
<BR>
Set the column
number for this locator (1-based).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#setLineNumber(int)">setLineNumber</A></B>(int lineNumber)</CODE>
<BR>
Set the line
number for this locator (1-based).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#setPublicId(java.lang.String)">setPublicId</A></B>(java.lang.String publicId)</CODE>
<BR>
Set the public
identifier for this locator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#setSystemId(java.lang.String)">setSystemId</A></B>(java.lang.String systemId)</CODE>
<BR>
Set the system
identifier for this locator.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="LocatorImpl()"><!-- --></A><H3>
LocatorImpl</H3>
<PRE>
public <B>LocatorImpl</B>()</PRE>
<DL>
<DD>Zero-argument constructor.
<p>This will not normally be useful, since the main purpose
of this class is to make a snapshot of an existing Locator.</p></DL>
<HR>
<A NAME="LocatorImpl(org.xml.sax.Locator)"><!-- --></A><H3>
LocatorImpl</H3>
<PRE>
public <B>LocatorImpl</B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD>Copy constructor.
<p>Create a persistent copy of the current state of a locator.
When the original locator changes, this copy will still keep
the original values (and it can be used outside the scope of
DocumentHandler methods).</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - The locator to copy.</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getPublicId()"><!-- --></A><H3>
getPublicId</H3>
<PRE>
public java.lang.String <B>getPublicId</B>()</PRE>
<DL>
<DD>Return the saved public identifier.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Locator.html#getPublicId()">getPublicId</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Locator.html">Locator</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The public identifier as a string, or null if none
is available.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Locator.html#getPublicId()"><CODE>Locator.getPublicId()</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#setPublicId(java.lang.String)"><CODE>setPublicId(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getSystemId()"><!-- --></A><H3>
getSystemId</H3>
<PRE>
public java.lang.String <B>getSystemId</B>()</PRE>
<DL>
<DD>Return the saved system identifier.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Locator.html#getSystemId()">getSystemId</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Locator.html">Locator</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The system identifier as a string, or null if none
is available.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Locator.html#getSystemId()"><CODE>Locator.getSystemId()</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#setSystemId(java.lang.String)"><CODE>setSystemId(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLineNumber()"><!-- --></A><H3>
getLineNumber</H3>
<PRE>
public int <B>getLineNumber</B>()</PRE>
<DL>
<DD>Return the saved line number (1-based).<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Locator.html#getLineNumber()">getLineNumber</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Locator.html">Locator</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The line number as an integer, or -1 if none is
available.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Locator.html#getLineNumber()"><CODE>Locator.getLineNumber()</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#setLineNumber(int)"><CODE>setLineNumber(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getColumnNumber()"><!-- --></A><H3>
getColumnNumber</H3>
<PRE>
public int <B>getColumnNumber</B>()</PRE>
<DL>
<DD>Return the saved column number (1-based).<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Locator.html#getColumnNumber()">getColumnNumber</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Locator.html">Locator</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The column number as an integer, or -1 if none is
available.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Locator.html#getColumnNumber()"><CODE>Locator.getColumnNumber()</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#setColumnNumber(int)"><CODE>setColumnNumber(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setPublicId(java.lang.String)"><!-- --></A><H3>
setPublicId</H3>
<PRE>
public void <B>setPublicId</B>(java.lang.String publicId)</PRE>
<DL>
<DD>Set the public identifier for this locator.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>publicId</CODE> - The new public identifier,
or null
if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#getPublicId()"><CODE>getPublicId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setSystemId(java.lang.String)"><!-- --></A><H3>
setSystemId</H3>
<PRE>
public void <B>setSystemId</B>(java.lang.String systemId)</PRE>
<DL>
<DD>Set the system identifier for this locator.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The new system identifier,
or null
if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#getSystemId()"><CODE>getSystemId()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setLineNumber(int)"><!-- --></A><H3>
setLineNumber</H3>
<PRE>
public void <B>setLineNumber</B>(int lineNumber)</PRE>
<DL>
<DD>Set the line number for this locator (1-based).<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - The line number, or -1 if
none is available.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#getLineNumber()"><CODE>getLineNumber()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setColumnNumber(int)"><!-- --></A><H3>
setColumnNumber</H3>
<PRE>
public void <B>setColumnNumber</B>(int columnNumber)</PRE>
<DL>
<DD>Set the column number for this locator (1-based).<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>columnNumber</CODE> - The column number, or
-1 if none is available.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html#getColumnNumber()"><CODE>getColumnNumber()</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/DefaultHandler.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="LocatorImpl.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/NamespaceSupport.html
Index: NamespaceSupport.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class NamespaceSupport
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/LocatorImpl.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/ParserAdapter.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="NamespaceSupport.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class NamespaceSupport</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.NamespaceSupport</B>
</PRE>
<HR>
<DL>
<DT>public class <B>NamespaceSupport</B><DT>extends java.lang.Object</DL>
<P>
Encapsulate Namespace logic for use by SAX drivers.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class encapsulates the logic of Namespace processing:
it tracks the declarations currently in force for each context
and automatically processes qualified XML 1.0 names into their
Namespace parts; it can also be used in reverse for generating
XML 1.0 from Namespaces.</p>
<p>Namespace support objects are reusable, but the reset method
must be invoked between each session.</p>
<p>Here is a simple session:</p>
<pre>
String parts[] = new String[3];
NamespaceSupport support = new NamespaceSupport();
support.pushContext();
support.declarePrefix("", "http://www.w3.org/1999/xhtml");
support.declarePrefix("dc", "http://www.purl.org/dc#");
String parts[] = support.processName("p", parts, false);
System.out.println("Namespace URI: " + parts[0]);
System.out.println("Local name: " + parts[1]);
System.out.println("Raw name: " + parts[2]);
String parts[] = support.processName("dc:title", parts, false);
System.out.println("Namespace URI: " + parts[0]);
System.out.println("Local name: " + parts[1]);
System.out.println("Raw name: " + parts[2]);
support.popContext();
</pre>
<p>Note that this class is optimized for the use case where most
elements do not contain Namespace declarations: if the same
prefix/URI mapping is repeated for each context (for example), this
class will be somewhat less efficient.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#XMLNS">XMLNS</A></B></CODE>
<BR>
The XML Namespace
as a constant.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#NamespaceSupport()">NamespaceSupport</A></B>()</CODE>
<BR>
Create a new
Namespace support object.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#declarePrefix(java.lang.String,
java.lang.String)">declarePrefix</A></B>(java.lang.String prefix,
java.lang.String uri)</CODE>
<BR>
Declare a
Namespace prefix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getDeclaredPrefixes()">getDeclaredPrefixes</A></B>()</CODE>
<BR>
Return an
enumeration of all prefixes declared in this context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefix(java.lang.String)">getPrefix</A></B>(java.lang.String uri)</CODE>
<BR>
Return one of the
prefixes mapped to a Namespace URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefixes()">getPrefixes</A></B>()</CODE>
<BR>
Return an
enumeration of all prefixes currently declared.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefixes(java.lang.String)">getPrefixes</A></B>(java.lang.String uri)</CODE>
<BR>
Return an
enumeration of all prefixes currently declared for a URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)">getURI</A></B>(java.lang.String prefix)</CODE>
<BR>
Look up a prefix
and get the currently-mapped Namespace URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#popContext()">popContext</A></B>()</CODE>
<BR>
Revert to the
previous Namespace context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#processName(java.lang.String,
java.lang.String[], boolean)">processName</A></B>(java.lang.String qName,
java.lang.String[] parts,
boolean isAttribute)</CODE>
<BR>
Process a raw XML
1.0 name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#pushContext()">pushContext</A></B>()</CODE>
<BR>
Start a new
Namespace context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#reset()">reset</A></B>()</CODE>
<BR>
Reset this
Namespace support object for reuse.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XMLNS"><!-- --></A><H3>
XMLNS</H3>
<PRE>
public static final java.lang.String <B>XMLNS</B></PRE>
<DL>
<DD>The XML Namespace as a constant.
<p>This is the Namespace URI that is automatically mapped
to the "xml" prefix.</p></DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="NamespaceSupport()"><!-- --></A><H3>
NamespaceSupport</H3>
<PRE>
public <B>NamespaceSupport</B>()</PRE>
<DL>
<DD>Create a new Namespace support object.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="reset()"><!-- --></A><H3>
reset</H3>
<PRE>
public void <B>reset</B>()</PRE>
<DL>
<DD>Reset this Namespace support object for reuse.
<p>It is necessary to invoke this method before reusing the
Namespace support object for a new session.</p></DL>
<HR>
<A NAME="pushContext()"><!-- --></A><H3>
pushContext</H3>
<PRE>
public void <B>pushContext</B>()</PRE>
<DL>
<DD>Start a new Namespace context.
<p>Normally, you should push a new context at the beginning
of each XML element: the new context will automatically inherit
the declarations of its parent context, but it will also keep
track of which declarations were made within this context.</p>
<p>The Namespace support object always starts with a base context
already in force: in this context, only the "xml" prefix is
declared.</p><DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#popContext()"><CODE>popContext()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="popContext()"><!-- --></A><H3>
popContext</H3>
<PRE>
public void <B>popContext</B>()</PRE>
<DL>
<DD>Revert to the previous Namespace context.
<p>Normally, you should pop the context at the end of each
XML element. After popping the context, all Namespace prefix
mappings that were previously in force are restored.</p>
<p>You must not attempt to declare additional Namespace
prefixes after popping a context, unless you push another
context first.</p><DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#pushContext()"><CODE>pushContext()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="declarePrefix(java.lang.String, java.lang.String)"><!-- --></A><H3>
declarePrefix</H3>
<PRE>
public boolean <B>declarePrefix</B>(java.lang.String prefix,
java.lang.String uri)</PRE>
<DL>
<DD>Declare a Namespace prefix.
<p>This method declares a prefix in the current Namespace
context; the prefix will remain in force until this context
is popped, unless it is shadowed in a descendant context.</p>
<p>To declare a default Namespace, use the empty string. The
prefix must not be "xml" or "xmlns".</p>
<p>Note that you must <em>not</em> declare a prefix after
you've pushed and popped another Namespace.</p>
<p>Note that there is an asymmetry in this library: while <A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefix(java.lang.String)"><CODE>getPrefix</CODE></A>
will not return the default "" prefix,
even if you have declared one; to check for a default prefix,
you have to look it up explicitly using <A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI</CODE></A>.
This asymmetry exists to make it easier to look up prefixes
for attribute names, where the default prefix is not allowed.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix to declare, or
null for the empty
string.<DD><CODE>uri</CODE> - The Namespace URI to associate with the
prefix.<DT><B>Returns:</B><DD>true if the prefix was legal, false
otherwise<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#processName(java.lang.String,
java.lang.String[], boolean)"><CODE>processName(java.lang.String,
java.lang.String[], boolean)</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefix(java.lang.String)"><CODE>getPrefix(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processName(java.lang.String, java.lang.String[], boolean)"><!--
--></A><H3>
processName</H3>
<PRE>
public java.lang.String[] <B>processName</B>(java.lang.String qName,
java.lang.String[] parts,
boolean isAttribute)</PRE>
<DL>
<DD>Process a raw XML 1.0 name.
<p>This method processes a raw XML 1.0 name in the current
context by removing the prefix and looking it up among the
prefixes currently declared. The return value will be the
array supplied by the caller, filled in as follows:</p>
<dl>
<dt>parts[0]</dt>
<dd>The Namespace URI, or an empty string if none is
in use.</dd>
<dt>parts[1]</dt>
<dd>The local name (without prefix).</dd>
<dt>parts[2]</dt>
<dd>The original raw name.</dd>
</dl>
<p>All of the strings in the array will be internalized. If
the raw name has a prefix that has not been declared, then
the return value will be null.</p>
<p>Note that attribute names are processed differently than
element names: an unprefixed element name will received the
default Namespace (if any), while an unprefixed element name
will not.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The raw XML 1.0 name to be
processed.<DD><CODE>parts</CODE> - An array supplied by the caller, capable of
holding at least three members.<DD><CODE>isAttribute</CODE> - A flag
indicating whether this is an
attribute name (true) or an element name
(false).<DT><B>Returns:</B><DD>The supplied array holding three internalized
strings
representing the Namespace URI (or empty string), the
local name, and the raw XML 1.0 name; or null if there
is an undeclared prefix.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#declarePrefix(java.lang.String,
java.lang.String)"><CODE>declarePrefix(java.lang.String,
java.lang.String)</CODE></A>,
<CODE>String.intern()</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getURI(java.lang.String)"><!-- --></A><H3>
getURI</H3>
<PRE>
public java.lang.String <B>getURI</B>(java.lang.String prefix)</PRE>
<DL>
<DD>Look up a prefix and get the currently-mapped Namespace URI.
<p>This method looks up the prefix in the current context.
Use the empty string ("") for the default Namespace.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix to look
up.<DT><B>Returns:</B><DD>The associated Namespace URI, or null if the prefix
is undeclared in this context.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefix(java.lang.String)"><CODE>getPrefix(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefixes()"><CODE>getPrefixes()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getPrefixes()"><!-- --></A><H3>
getPrefixes</H3>
<PRE>
public java.util.Enumeration <B>getPrefixes</B>()</PRE>
<DL>
<DD>Return an enumeration of all prefixes currently declared.
<p><strong>Note:</strong> if there is a default prefix, it will not be
returned in this enumeration; check for the default prefix
using the <A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI</CODE></A>
with an argument of "".</p><DD><DL>
<DT><B>Returns:</B><DD>An enumeration of all prefixes declared in the
current context except for the empty (default)
prefix.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getDeclaredPrefixes()"><CODE>getDeclaredPrefixes()</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getPrefix(java.lang.String)"><!-- --></A><H3>
getPrefix</H3>
<PRE>
public java.lang.String <B>getPrefix</B>(java.lang.String uri)</PRE>
<DL>
<DD>Return one of the prefixes mapped to a Namespace URI.
<p>If more than one prefix is currently mapped to the same
URI, this method will make an arbitrary selection; if you
want all of the prefixes, use the <A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefixes()"><CODE>getPrefixes()</CODE></A>
method instead.</p>
<p><strong>Note:</strong> this will never return the empty (default) prefix;
to check for a default prefix, use the <A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI</CODE></A>
method with an argument of "".</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace
URI.<DD><CODE>isAttribute</CODE> - true if this prefix is for an attribute
(and the default Namespace is not allowed).<DT><B>Returns:</B><DD>One
of the prefixes currently mapped to the URI supplied,
or null if none is mapped or if the URI is assigned to
the default Namespace.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefixes(java.lang.String)"><CODE>getPrefixes(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getPrefixes(java.lang.String)"><!-- --></A><H3>
getPrefixes</H3>
<PRE>
public java.util.Enumeration
<B>getPrefixes</B>(java.lang.String uri)</PRE>
<DL>
<DD>Return an enumeration of all prefixes currently declared for a URI.
<p>This method returns prefixes mapped to a specific Namespace
URI. The xml: prefix will be included. If you want only one
prefix that's mapped to the Namespace URI, and you don't care
which one you get, use the <A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefix(java.lang.String)"><CODE>getPrefix</CODE></A>
method instead.</p>
<p><strong>Note:</strong> the empty (default) prefix is <em>never</em>
included
in this enumeration; to check for the presence of a default
Namespace, use the <A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI</CODE></A>
method with an
argument of "".</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace
URI.<DT><B>Returns:</B><DD>An enumeration of all prefixes declared in the
current context.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefix(java.lang.String)"><CODE>getPrefix(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getDeclaredPrefixes()"><CODE>getDeclaredPrefixes()</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getDeclaredPrefixes()"><!-- --></A><H3>
getDeclaredPrefixes</H3>
<PRE>
public java.util.Enumeration <B>getDeclaredPrefixes</B>()</PRE>
<DL>
<DD>Return an enumeration of all prefixes declared in this context.
<p>The empty (default) prefix will be included in this
enumeration; note that this behaviour differs from that of
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefix(java.lang.String)"><CODE>getPrefix(java.lang.String)</CODE></A>
and <A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefixes()"><CODE>getPrefixes()</CODE></A>.</p><DD><DL>
<DT><B>Returns:</B><DD>An enumeration of all prefixes declared in this
context.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getPrefixes()"><CODE>getPrefixes()</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html#getURI(java.lang.String)"><CODE>getURI(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/LocatorImpl.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/ParserAdapter.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="NamespaceSupport.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/ParserAdapter.html
Index: ParserAdapter.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class ParserAdapter
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/ParserFactory.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ParserAdapter.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class ParserAdapter</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.ParserAdapter</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>ParserAdapter</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A>, <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></DL>
<P>
Adapt a SAX1 Parser as a SAX2 XMLReader.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class wraps a SAX1 <A
HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>
and makes it act as a SAX2 <A
HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A>,
with feature, property, and Namespace support. Note
that it is not possible to report <A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)"><CODE>skippedEntity</CODE></A>
events, since SAX1 does not make that information available.</p>
<p>This adapter does not test for duplicate Namespace-qualified
attribute names.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html"><CODE>XMLReaderAdapter</CODE></A>,
<A HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A>,
<A HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#ParserAdapter()">ParserAdapter</A></B>()</CODE>
<BR>
Construct a new
parser adapter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#ParserAdapter(org.xml.sax.Parser)">ParserAdapter</A></B>(<A
HREF="../../../../org/xml/sax/Parser.html">Parser</A> parser)</CODE>
<BR>
Construct a new
parser adapter.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#characters(char[],
int, int)">characters</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Adapt a SAX1
characters event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
Adapt a SAX1 end
document event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#endElement(java.lang.String)">endElement</A></B>(java.lang.String qName)</CODE>
<BR>
Adapt a SAX1 end
element event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#getContentHandler()">getContentHandler</A></B>()</CODE>
<BR>
Return the
current content handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#getDTDHandler()">getDTDHandler</A></B>()</CODE>
<BR>
Return the
current DTD handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#getEntityResolver()">getEntityResolver</A></B>()</CODE>
<BR>
Return the
current entity resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#getErrorHandler()">getErrorHandler</A></B>()</CODE>
<BR>
Return the
current error handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#getFeature(java.lang.String)">getFeature</A></B>(java.lang.String name)</CODE>
<BR>
Check a parser
feature.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String name)</CODE>
<BR>
Get a parser
property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Adapt a SAX1
ignorable whitespace event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#parse(org.xml.sax.InputSource)">parse</A></B>(<A
HREF="../../../../org/xml/sax/InputSource.html">InputSource</A> input)</CODE>
<BR>
Parse an XML
document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#parse(java.lang.String)">parse</A></B>(java.lang.String systemId)</CODE>
<BR>
Parse an XML
document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String data)</CODE>
<BR>
Adapt a SAX1
processing instruction event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#setContentHandler(org.xml.sax.ContentHandler)">setContentHandler</A></B>(<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</CODE>
<BR>
Set the content
handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
Adapt a SAX1
document locator event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></B>(<A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</CODE>
<BR>
Set the DTD
handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></B>(<A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</CODE>
<BR>
Set the entity
resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></B>(<A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</CODE>
<BR>
Set the error
handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#setFeature(java.lang.String,
boolean)">setFeature</A></B>(java.lang.String name,
boolean state)</CODE>
<BR>
Set a feature for
the parser.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#setProperty(java.lang.String,
java.lang.Object)">setProperty</A></B>(java.lang.String name,
java.lang.Object value)</CODE>
<BR>
Set a parser
property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
Adapt a SAX1
start document event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></B>(java.lang.String qName,
<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> qAtts)</CODE>
<BR>
Adapt a SAX1
startElement event.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="ParserAdapter()"><!-- --></A><H3>
ParserAdapter</H3>
<PRE>
public <B>ParserAdapter</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Construct a new parser adapter.
<p>Use the "org.xml.sax.parser" property to locate the
embedded SAX1 driver.</p><DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If
the embedded driver
cannot be instantiated or if the
org.xml.sax.parser property is not specified.</DL>
</DD>
</DL>
<HR>
<A NAME="ParserAdapter(org.xml.sax.Parser)"><!-- --></A><H3>
ParserAdapter</H3>
<PRE>
public <B>ParserAdapter</B>(<A
HREF="../../../../org/xml/sax/Parser.html">Parser</A> parser)</PRE>
<DL>
<DD>Construct a new parser adapter.
<p>Note that the embedded parser cannot be changed once the
adapter is created; to embed a different parser, allocate
a new ParserAdapter.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>parser</CODE> - The SAX1 parser to
embed.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the parser parameter
is null.</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setFeature(java.lang.String, boolean)"><!-- --></A><H3>
setFeature</H3>
<PRE>
public void <B>setFeature</B>(java.lang.String name,
boolean state)
throws <A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Set a feature for the parser.
<p>The only features supported are namespaces and
namespace-prefixes.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)">setFeature</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The feature name, as a complete
URI.<DD><CODE>state</CODE> - The requested feature
state.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- If the feature
name is not known.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- If the feature
state is not supported.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)"><CODE>XMLReader.setFeature(java.lang.String, boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getFeature(java.lang.String)"><!-- --></A><H3>
getFeature</H3>
<PRE>
public boolean <B>getFeature</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Check a parser feature.
<p>The only features supported are namespaces and
namespace-prefixes.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getFeature(java.lang.String)">getFeature</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The feature name, as a complete
URI.<DT><B>Returns:</B><DD>The current feature
state.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- If the feature
name is not known.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- If querying the
feature state is not supported.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)"><CODE>XMLReader.setFeature(java.lang.String, boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>
setProperty</H3>
<PRE>
public void <B>setProperty</B>(java.lang.String name,
java.lang.Object value)
throws <A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Set a parser property.
<p>No special properties are currently supported.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)">setProperty</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The property
name.<DD><CODE>value</CODE> - The property value.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- If the feature
name is not known.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- If the feature
state is not supported.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)"><CODE>XMLReader.setProperty(java.lang.String,
java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
getProperty</H3>
<PRE>
public java.lang.Object <B>getProperty</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Get a parser property.
<p>No special properties are currently supported.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getProperty(java.lang.String)">getProperty</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The property
name.<DT><B>Returns:</B><DD>The property value.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- If the feature
name is not known.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- If the feature
state is not supported.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getProperty(java.lang.String)"><CODE>XMLReader.getProperty(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setEntityResolver(org.xml.sax.EntityResolver)"><!-- --></A><H3>
setEntityResolver</H3>
<PRE>
public void <B>setEntityResolver</B>(<A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</PRE>
<DL>
<DD>Set the entity resolver.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new entity
resolver.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the entity resolver
parameter is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>XMLReader.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getEntityResolver()"><!-- --></A><H3>
getEntityResolver</H3>
<PRE>
public <A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>
<B>getEntityResolver</B>()</PRE>
<DL>
<DD>Return the current entity resolver.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()">getEntityResolver</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current entity resolver, or null if none was
supplied.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()"><CODE>XMLReader.getEntityResolver()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDTDHandler(org.xml.sax.DTDHandler)"><!-- --></A><H3>
setDTDHandler</H3>
<PRE>
public void <B>setDTDHandler</B>(<A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</PRE>
<DL>
<DD>Set the DTD handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new DTD
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the DTD handler
parameter is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>XMLReader.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getDTDHandler()"><!-- --></A><H3>
getDTDHandler</H3>
<PRE>
public <A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>
<B>getDTDHandler</B>()</PRE>
<DL>
<DD>Return the current DTD handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getDTDHandler()">getDTDHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current DTD handler, or null if none was
supplied.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()"><CODE>XMLReader.getEntityResolver()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setContentHandler(org.xml.sax.ContentHandler)"><!-- --></A><H3>
setContentHandler</H3>
<PRE>
public void <B>setContentHandler</B>(<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</PRE>
<DL>
<DD>Set the content handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)">setContentHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new content
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the content handler
parameter is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>XMLReader.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getContentHandler()"><!-- --></A><H3>
getContentHandler</H3>
<PRE>
public <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>
<B>getContentHandler</B>()</PRE>
<DL>
<DD>Return the current content handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getContentHandler()">getContentHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current content handler, or null if none was
supplied.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()"><CODE>XMLReader.getEntityResolver()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setErrorHandler(org.xml.sax.ErrorHandler)"><!-- --></A><H3>
setErrorHandler</H3>
<PRE>
public void <B>setErrorHandler</B>(<A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</PRE>
<DL>
<DD>Set the error handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new error
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the error handler
parameter is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>XMLReader.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getErrorHandler()"><!-- --></A><H3>
getErrorHandler</H3>
<PRE>
public <A HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A>
<B>getErrorHandler</B>()</PRE>
<DL>
<DD>Return the current error handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getErrorHandler()">getErrorHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current error handler, or null if none was
supplied.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()"><CODE>XMLReader.getEntityResolver()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(java.lang.String systemId)
throws java.io.IOException,
<A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Parse an XML document.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#parse(java.lang.String)">parse</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The absolute URL of the
document.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If there is a
problem reading
the raw content of the document.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If
there is a problem
processing the document.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#parse(org.xml.sax.InputSource)"><CODE>parse(org.xml.sax.InputSource)</CODE></A>,
<A
HREF="../../../../org/xml/sax/Parser.html#parse(java.lang.String)"><CODE>Parser.parse(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(org.xml.sax.InputSource)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(<A
HREF="../../../../org/xml/sax/InputSource.html">InputSource</A> input)
throws java.io.IOException,
<A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Parse an XML document.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#parse(org.xml.sax.InputSource)">parse</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>input</CODE> - An input source for the
document.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If there is a
problem reading
the raw content of the document.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If
there is a problem
processing the document.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#parse(java.lang.String)"><CODE>parse(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/Parser.html#parse(org.xml.sax.InputSource)"><CODE>Parser.parse(org.xml.sax.InputSource)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
setDocumentLocator</H3>
<PRE>
public void <B>setDocumentLocator</B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD>Adapt a SAX1 document locator event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - A document
locator.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>ContentHandler.setDocumentLocator(org.xml.sax.Locator)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startDocument()"><!-- --></A><H3>
startDocument</H3>
<PRE>
public void <B>startDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX1 start document event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#startDocument()">startDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#startDocument()"><CODE>DocumentHandler.startDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX1 end document event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()">endDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()"><CODE>DocumentHandler.endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, org.xml.sax.AttributeList)"><!--
--></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String qName,
<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> qAtts)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX1 startElement event.
<p>If necessary, perform Namespace processing.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The qualified (prefixed)
name.<DD><CODE>qAtts</CODE> - The XML 1.0 attribute list (with qnames).</DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String qName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX1 end element event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)">endElement</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - The qualified (prefixed)
name.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)"><CODE>DocumentHandler.endElement(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX1 characters event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#characters(char[], int,
int)">characters</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array of
characters.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to
use.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#characters(char[], int,
int)"><CODE>DocumentHandler.characters(char[], int, int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX1 ignorable whitespace event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array of
characters.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to
use.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>DocumentHandler.ignorableWhitespace(char[], int,
int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String data)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX1 processing instruction event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The remainder of the processing
instruction<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#processingInstruction(java.lang.String,
java.lang.String)"><CODE>DocumentHandler.processingInstruction(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/ParserFactory.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ParserAdapter.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/ParserFactory.html
Index: ParserFactory.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class ParserFactory
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/ParserAdapter.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ParserFactory.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class ParserFactory</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.ParserFactory</B>
</PRE>
<HR>
<B>Deprecated.</B> <I>This class works with the deprecated
<A
HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>
interface.</I>
<P>
<DL>
<DT>public class <B>ParserFactory</B><DT>extends java.lang.Object</DL>
<P>
Java-specific class for dynamically loading SAX parsers.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p><strong>Note:</strong> This class is designed to work with the
now-deprecated
SAX1 <A HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>
class. SAX2 applications should use
<A
HREF="../../../../org/xml/sax/helpers/XMLReaderFactory.html"><CODE>XMLReaderFactory</CODE></A>
instead.</p>
<p>ParserFactory is not part of the platform-independent definition
of SAX; it is an additional convenience class designed
specifically for Java XML application writers. SAX applications
can use the static methods in this class to allocate a SAX parser
dynamically at run-time based either on the value of the
`org.xml.sax.parser' system property or on a string containing the class
name.</p>
<p>Note that the application still requires an XML parser that
implements SAX1.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 1.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>,
<CODE>Class</CODE></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserFactory.html#makeParser()">makeParser</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Create
a new SAX parser using the `org.xml.sax.parser' system property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/ParserFactory.html#makeParser(java.lang.String)">makeParser</A></B>(java.lang.String className)</CODE>
<BR>
<B>Deprecated.</B> Create
a new SAX parser object using the class name provided.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="makeParser()"><!-- --></A><H3>
makeParser</H3>
<PRE>
public static <A HREF="../../../../org/xml/sax/Parser.html">Parser</A>
<B>makeParser</B>()
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.NullPointerException,
java.lang.ClassCastException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Create a new SAX parser using the
`org.xml.sax.parser' system property.
<p>The named class must exist and must implement the
<A HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>
interface.</p><DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - There is
no value
for the `org.xml.sax.parser' system
property.<DD><CODE>java.lang.ClassNotFoundException</CODE> - The SAX parser
class was not found (check your
CLASSPATH).<DD><CODE>java.lang.IllegalAccessException</CODE> - The SAX parser
class was
found, but you do not have permission to load
it.<DD><CODE>java.lang.InstantiationException</CODE> - The SAX
parser class was
found but could not be
instantiated.<DD><CODE>java.lang.ClassCastException</CODE> - The SAX parser
class
was found and instantiated, but does not implement
org.xml.sax.Parser.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/ParserFactory.html#makeParser(java.lang.String)"><CODE>makeParser(java.lang.String)</CODE></A>,
<A HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="makeParser(java.lang.String)"><!-- --></A><H3>
makeParser</H3>
<PRE>
public static <A HREF="../../../../org/xml/sax/Parser.html">Parser</A>
<B>makeParser</B>(java.lang.String className)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.ClassCastException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Create a new SAX parser object using the
class name provided.
<p>The named class must exist and must implement the
<A HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>
interface.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>className</CODE> - A string containing the
name of the
SAX parser
class.<DT><B>Throws:</B><DD><CODE>java.lang.ClassNotFoundException</CODE> - The
SAX parser
class was not found (check your
CLASSPATH).<DD><CODE>java.lang.IllegalAccessException</CODE> - The SAX parser
class was
found, but you do not have permission to load
it.<DD><CODE>java.lang.InstantiationException</CODE> - The SAX
parser class was
found but could not be
instantiated.<DD><CODE>java.lang.ClassCastException</CODE> - The SAX parser
class
was found and instantiated, but does not implement
org.xml.sax.Parser.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/ParserFactory.html#makeParser()"><CODE>makeParser()</CODE></A>,
<A HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/ParserAdapter.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ParserFactory.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/XMLFilterImpl.html
Index: XMLFilterImpl.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class XMLFilterImpl
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/ParserFactory.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLFilterImpl.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class XMLFilterImpl</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.XMLFilterImpl</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>, <A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A>, <A
HREF="../../../../org/xml/sax/XMLFilter.html">XMLFilter</A>, <A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>XMLFilterImpl</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../org/xml/sax/XMLFilter.html">XMLFilter</A>, <A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>, <A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></DL>
<P>
Base class for deriving an XML filter.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class is designed to sit between an <A
HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A> and
the client application's event handlers. By default, it
does nothing but pass requests up to the reader and events
on to the handlers unmodified, but subclasses can override
specific methods to modify the event stream or the configuration
requests as they pass through.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLFilter.html"><CODE>XMLFilter</CODE></A>,
<A HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A>,
<A
HREF="../../../../org/xml/sax/EntityResolver.html"><CODE>EntityResolver</CODE></A>,
<A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>,
<A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>,
<A
HREF="../../../../org/xml/sax/ErrorHandler.html"><CODE>ErrorHandler</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#XMLFilterImpl()">XMLFilterImpl</A></B>()</CODE>
<BR>
Construct an
empty XML filter, with no parent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#XMLFilterImpl(org.xml.sax.XMLReader)">XMLFilterImpl</A></B>(<A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A> parent)</CODE>
<BR>
Construct an XML
filter with the specified parent.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#characters(char[],
int, int)">characters</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Filter a
character data event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
Filter an end
document event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)">endElement</A></B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)</CODE>
<BR>
Filter an end
element event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></B>(java.lang.String prefix)</CODE>
<BR>
Filter an end
Namespace prefix mapping event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#error(org.xml.sax.SAXParseException)">error</A></B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
Filter an error
event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
Filter a fatal
error event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getContentHandler()">getContentHandler</A></B>()</CODE>
<BR>
Get the content
event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getDTDHandler()">getDTDHandler</A></B>()</CODE>
<BR>
Get the current
DTD event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getEntityResolver()">getEntityResolver</A></B>()</CODE>
<BR>
Get the current
entity resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getErrorHandler()">getErrorHandler</A></B>()</CODE>
<BR>
Get the current
error event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getFeature(java.lang.String)">getFeature</A></B>(java.lang.String name)</CODE>
<BR>
Look up the state
of a feature.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getParent()">getParent</A></B>()</CODE>
<BR>
Get the parent
reader.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String name)</CODE>
<BR>
Look up the value
of a property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Filter an
ignorable whitespace event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)">notationDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Filter a notation
declaration event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#parse(org.xml.sax.InputSource)">parse</A></B>(<A
HREF="../../../../org/xml/sax/InputSource.html">InputSource</A> input)</CODE>
<BR>
Parse a
document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#parse(java.lang.String)">parse</A></B>(java.lang.String systemId)</CODE>
<BR>
Parse a
document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String data)</CODE>
<BR>
Filter a
processing instruction event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/InputSource.html">InputSource</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#resolveEntity(java.lang.String,
java.lang.String)">resolveEntity</A></B>(java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Filter an
external entity resolution.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setContentHandler(org.xml.sax.ContentHandler)">setContentHandler</A></B>(<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</CODE>
<BR>
Set the content
event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
Filter a new
document locator event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></B>(<A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</CODE>
<BR>
Set the DTD event
handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></B>(<A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</CODE>
<BR>
Set the entity
resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></B>(<A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</CODE>
<BR>
Set the error
event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setFeature(java.lang.String,
boolean)">setFeature</A></B>(java.lang.String name,
boolean state)</CODE>
<BR>
Set the state of
a feature.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setParent(org.xml.sax.XMLReader)">setParent</A></B>(<A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A> parent)</CODE>
<BR>
Set the parent
reader.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setProperty(java.lang.String,
java.lang.Object)">setProperty</A></B>(java.lang.String name,
java.lang.Object value)</CODE>
<BR>
Set the value of
a property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#skippedEntity(java.lang.String)">skippedEntity</A></B>(java.lang.String name)</CODE>
<BR>
Filter a skipped
entity event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
Filter a start
document event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</CODE>
<BR>
Filter a start
element event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></B>(java.lang.String prefix,
java.lang.String uri)</CODE>
<BR>
Filter a start
Namespace prefix mapping event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)</CODE>
<BR>
Filter an
unparsed entity declaration event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#warning(org.xml.sax.SAXParseException)">warning</A></B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
<BR>
Filter a warning
event.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XMLFilterImpl()"><!-- --></A><H3>
XMLFilterImpl</H3>
<PRE>
public <B>XMLFilterImpl</B>()</PRE>
<DL>
<DD>Construct an empty XML filter, with no parent.
<p>This filter will have no parent: you must assign a parent
before you start a parse or do any configuration with
setFeature or setProperty.</p><DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)"><CODE>XMLReader.setFeature(java.lang.String, boolean)</CODE></A>,
<A HREF="../../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)"><CODE>XMLReader.setProperty(java.lang.String,
java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="XMLFilterImpl(org.xml.sax.XMLReader)"><!-- --></A><H3>
XMLFilterImpl</H3>
<PRE>
public <B>XMLFilterImpl</B>(<A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A> parent)</PRE>
<DL>
<DD>Construct an XML filter with the specified parent.<DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setParent(org.xml.sax.XMLReader)"><CODE>setParent(org.xml.sax.XMLReader)</CODE></A>,
<A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getParent()"><CODE>getParent()</CODE></A></DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setParent(org.xml.sax.XMLReader)"><!-- --></A><H3>
setParent</H3>
<PRE>
public void <B>setParent</B>(<A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A> parent)</PRE>
<DL>
<DD>Set the parent reader.
<p>This is the <A
HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A> from
which
this filter will obtain its events and to which it will pass its
configuration requests. The parent may itself be another filter.</p>
<p>If there is no parent reader set, any attempt to parse
or to set or get a feature or property will fail.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLFilter.html#setParent(org.xml.sax.XMLReader)">setParent</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLFilter.html">XMLFilter</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - The parent XML
reader.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the parent is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#getParent()"><CODE>getParent()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getParent()"><!-- --></A><H3>
getParent</H3>
<PRE>
public <A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A>
<B>getParent</B>()</PRE>
<DL>
<DD>Get the parent reader.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLFilter.html#getParent()">getParent</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLFilter.html">XMLFilter</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The parent XML reader, or null if none is
set.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html#setParent(org.xml.sax.XMLReader)"><CODE>setParent(org.xml.sax.XMLReader)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setFeature(java.lang.String, boolean)"><!-- --></A><H3>
setFeature</H3>
<PRE>
public void <B>setFeature</B>(java.lang.String name,
boolean state)
throws <A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Set the state of a feature.
<p>This will always fail if the parent is null.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)">setFeature</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The feature
name.<DD><CODE>state</CODE> - The requested feature
state.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- When the
XMLReader does not recognize the feature name.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- When the
XMLReader recognizes the feature name but
cannot set the requested value.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)"><CODE>XMLReader.setFeature(java.lang.String, boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getFeature(java.lang.String)"><!-- --></A><H3>
getFeature</H3>
<PRE>
public boolean <B>getFeature</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Look up the state of a feature.
<p>This will always fail if the parent is null.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getFeature(java.lang.String)">getFeature</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The feature
name.<DT><B>Returns:</B><DD>The current state of the
feature.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- When the
XMLReader does not recognize the feature name.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- When the
XMLReader recognizes the feature name but
cannot determine its state at this time.<DT><B>See Also:
</B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getFeature(java.lang.String)"><CODE>XMLReader.getFeature(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>
setProperty</H3>
<PRE>
public void <B>setProperty</B>(java.lang.String name,
java.lang.Object value)
throws <A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Set the value of a property.
<p>This will always fail if the parent is null.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)">setProperty</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The property
name.<DD><CODE>state</CODE> - The requested property
value.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- When the
XMLReader does not recognize the property name.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- When the
XMLReader recognizes the property name but
cannot set the requested value.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setProperty(java.lang.String,
java.lang.Object)"><CODE>XMLReader.setProperty(java.lang.String,
java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
getProperty</H3>
<PRE>
public java.lang.Object <B>getProperty</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,
<A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
<DL>
<DD>Look up the value of a property.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getProperty(java.lang.String)">getProperty</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The property
name.<DT><B>Returns:</B><DD>The current value of the
property.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE>
- When the
XMLReader does not recognize the feature name.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE>
- When the
XMLReader recognizes the property name but
cannot determine its value at this time.<DT><B>See Also:
</B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String,
boolean)"><CODE>XMLReader.setFeature(java.lang.String, boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setEntityResolver(org.xml.sax.EntityResolver)"><!-- --></A><H3>
setEntityResolver</H3>
<PRE>
public void <B>setEntityResolver</B>(<A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</PRE>
<DL>
<DD>Set the entity resolver.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new entity
resolver.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the resolver
is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>XMLReader.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getEntityResolver()"><!-- --></A><H3>
getEntityResolver</H3>
<PRE>
public <A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>
<B>getEntityResolver</B>()</PRE>
<DL>
<DD>Get the current entity resolver.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()">getEntityResolver</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current entity resolver, or null if none was
set.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()"><CODE>XMLReader.getEntityResolver()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDTDHandler(org.xml.sax.DTDHandler)"><!-- --></A><H3>
setDTDHandler</H3>
<PRE>
public void <B>setDTDHandler</B>(<A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</PRE>
<DL>
<DD>Set the DTD event handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new DTD
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the handler
is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setDTDHandler(org.xml.sax.DTDHandler)"><CODE>XMLReader.setDTDHandler(org.xml.sax.DTDHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getDTDHandler()"><!-- --></A><H3>
getDTDHandler</H3>
<PRE>
public <A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>
<B>getDTDHandler</B>()</PRE>
<DL>
<DD>Get the current DTD event handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getDTDHandler()">getDTDHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current DTD handler, or null if none was
set.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getDTDHandler()"><CODE>XMLReader.getDTDHandler()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setContentHandler(org.xml.sax.ContentHandler)"><!-- --></A><H3>
setContentHandler</H3>
<PRE>
public void <B>setContentHandler</B>(<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</PRE>
<DL>
<DD>Set the content event handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)">setContentHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new content
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the handler
is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)"><CODE>XMLReader.setContentHandler(org.xml.sax.ContentHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getContentHandler()"><!-- --></A><H3>
getContentHandler</H3>
<PRE>
public <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>
<B>getContentHandler</B>()</PRE>
<DL>
<DD>Get the content event handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getContentHandler()">getContentHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current content handler, or null if none was
set.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getContentHandler()"><CODE>XMLReader.getContentHandler()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setErrorHandler(org.xml.sax.ErrorHandler)"><!-- --></A><H3>
setErrorHandler</H3>
<PRE>
public void <B>setErrorHandler</B>(<A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</PRE>
<DL>
<DD>Set the error event handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handle</CODE> - The new error
handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If
the handler
is null.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)"><CODE>XMLReader.setErrorHandler(org.xml.sax.ErrorHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getErrorHandler()"><!-- --></A><H3>
getErrorHandler</H3>
<PRE>
public <A HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A>
<B>getErrorHandler</B>()</PRE>
<DL>
<DD>Get the current error event handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#getErrorHandler()">getErrorHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current error handler, or null if none was
set.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#getErrorHandler()"><CODE>XMLReader.getErrorHandler()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(org.xml.sax.InputSource)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(<A
HREF="../../../../org/xml/sax/InputSource.html">InputSource</A> input)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A>,
java.io.IOException</PRE>
<DL>
<DD>Parse a document.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#parse(org.xml.sax.InputSource)">parse</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>input</CODE> - The input source for the
document entity.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DD><CODE>java.io.IOException</CODE> -
An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#parse(org.xml.sax.InputSource)"><CODE>XMLReader.parse(org.xml.sax.InputSource)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A>,
java.io.IOException</PRE>
<DL>
<DD>Parse a document.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/XMLReader.html#parse(java.lang.String)">parse</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The system identifier as a
fully-qualified URI.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DD><CODE>java.io.IOException</CODE> -
An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html#parse(java.lang.String)"><CODE>XMLReader.parse(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3>
resolveEntity</H3>
<PRE>
public <A HREF="../../../../org/xml/sax/InputSource.html">InputSource</A>
<B>resolveEntity</B>(java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A>,
java.io.IOException</PRE>
<DL>
<DD>Filter an external entity resolution.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,
java.lang.String)">resolveEntity</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>publicId</CODE> - The entity's public
identifier, or null.<DD><CODE>systemId</CODE> - The entity's system
identifier.<DT><B>Returns:</B><DD>A new InputSource or null for the
default.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during
processing.<DD><CODE>java.io.IOException</CODE> - The client may throw an
I/O-related exception while obtaining the
new InputSource.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String,
java.lang.String)"><CODE>EntityResolver.resolveEntity(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="notationDecl(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
notationDecl</H3>
<PRE>
public void <B>notationDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a notation declaration event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)">notationDecl</A></CODE> in interface
<CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The notation
name.<DD><CODE>publicId</CODE> - The notation's public identifier, or
null.<DD><CODE>systemId</CODE> - The notation's system identifier, or
null.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>DTDHandler.notationDecl(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="unparsedEntityDecl(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)"><!-- --></A><H3>
unparsedEntityDecl</H3>
<PRE>
public void <B>unparsedEntityDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter an unparsed entity declaration event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The entity
name.<DD><CODE>publicId</CODE> - The entity's public identifier, or
null.<DD><CODE>systemId</CODE> - The entity's system identifier, or
null.<DD><CODE>notationName</CODE> - The name of the associated
notation.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
setDocumentLocator</H3>
<PRE>
public void <B>setDocumentLocator</B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD>Filter a new document locator event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - The document
locator.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>ContentHandler.setDocumentLocator(org.xml.sax.Locator)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startDocument()"><!-- --></A><H3>
startDocument</H3>
<PRE>
public void <B>startDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a start document event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startDocument()">startDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startDocument()"><CODE>ContentHandler.startDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter an end document event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()">endDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()"><CODE>ContentHandler.endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startPrefixMapping(java.lang.String, java.lang.String)"><!--
--></A><H3>
startPrefixMapping</H3>
<PRE>
public void <B>startPrefixMapping</B>(java.lang.String prefix,
java.lang.String uri)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a start Namespace prefix mapping event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The Namespace
prefix.<DD><CODE>uri</CODE> - The Namespace URI.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)"><CODE>ContentHandler.startPrefixMapping(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endPrefixMapping(java.lang.String)"><!-- --></A><H3>
endPrefixMapping</H3>
<PRE>
public void <B>endPrefixMapping</B>(java.lang.String prefix)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter an end Namespace prefix mapping event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The Namespace
prefix.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>ContentHandler.endPrefixMapping(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a start element event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The element's Namespace URI, or
the empty string.<DD><CODE>localName</CODE> - The element's local name, or the
empty string.<DD><CODE>qName</CODE> - The element's qualified (prefixed) name,
or the empty
string.<DD><CODE>atts</CODE> - The element's
attributes.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>ContentHandler.startElement(java.lang.String,
java.lang.String, java.lang.String, org.xml.sax.Attributes)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter an end element event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)">endElement</A></CODE> in interface
<CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The element's Namespace URI, or
the empty string.<DD><CODE>localName</CODE> - The element's local name, or the
empty string.<DD><CODE>qName</CODE> - The element's qualified (prefixed) name,
or the empty
string.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a character data event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)">characters</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array of
characters.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to use from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)"><CODE>ContentHandler.characters(char[], int, int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter an ignorable whitespace event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array of
characters.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to use from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ContentHandler.ignorableWhitespace(char[], int,
int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String data)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a processing instruction event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The text following the
target.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)"><CODE>ContentHandler.processingInstruction(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="skippedEntity(java.lang.String)"><!-- --></A><H3>
skippedEntity</H3>
<PRE>
public void <B>skippedEntity</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a skipped entity event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)">skippedEntity</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the skipped
entity.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)"><CODE>ContentHandler.skippedEntity(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="warning(org.xml.sax.SAXParseException)"><!-- --></A><H3>
warning</H3>
<PRE>
public void <B>warning</B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a warning event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)">warning</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The nwarning as an
exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.warning(org.xml.sax.SAXParseException)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="error(org.xml.sax.SAXParseException)"><!-- --></A><H3>
error</H3>
<PRE>
public void <B>error</B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter an error event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html#error(org.xml.sax.SAXParseException)">error</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The error as an
exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ErrorHandler.html#error(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.error(org.xml.sax.SAXParseException)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="fatalError(org.xml.sax.SAXParseException)"><!-- --></A><H3>
fatalError</H3>
<PRE>
public void <B>fatalError</B>(<A
HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Filter a fatal error event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The error as an
exception.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.fatalError(org.xml.sax.SAXParseException)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/ParserFactory.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLFilterImpl.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/XMLReaderAdapter.html
Index: XMLReaderAdapter.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class XMLReaderAdapter
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/XMLReaderFactory.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLReaderAdapter.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class XMLReaderAdapter</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.XMLReaderAdapter</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>XMLReaderAdapter</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../org/xml/sax/Parser.html">Parser</A>, <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></DL>
<P>
Adapt a SAX2 XMLReader as a SAX1 Parser.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class wraps a SAX2 <A
HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A>
and makes it act as a SAX1 <A
HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>. The
XMLReader
must support a true value for the
http://xml.org/sax/features/namespace-prefixes property or parsing will fail
with a <A
HREF="../../../../org/xml/sax/SAXException.html"><CODE>SAXException</CODE></A>;
if the XMLReader
supports a false value for the http://xml.org/sax/features/namespaces
property, that will also be used to improve efficiency.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>,
<A
HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#XMLReaderAdapter()">XMLReaderAdapter</A></B>()</CODE>
<BR>
Create a new
adapter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#XMLReaderAdapter(org.xml.sax.XMLReader)">XMLReaderAdapter</A></B>(<A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A> xmlReader)</CODE>
<BR>
Create a new
adapter.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#characters(char[],
int, int)">characters</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Adapt a SAX2
characters event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
End document
event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)">endElement</A></B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)</CODE>
<BR>
Adapt a SAX2 end
element event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></B>(java.lang.String prefix)</CODE>
<BR>
Adapt a SAX2 end
prefix mapping event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></B>(char[] ch,
int start,
int length)</CODE>
<BR>
Adapt a SAX2
ignorable whitespace event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#parse(org.xml.sax.InputSource)">parse</A></B>(<A
HREF="../../../../org/xml/sax/InputSource.html">InputSource</A> input)</CODE>
<BR>
Parse the
document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#parse(java.lang.String)">parse</A></B>(java.lang.String systemId)</CODE>
<BR>
Parse the
document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String data)</CODE>
<BR>
Adapt a SAX2
processing instruction event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#setDocumentHandler(org.xml.sax.DocumentHandler)">setDocumentHandler</A></B>(<A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A> handler)</CODE>
<BR>
Register the SAX1
document event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
Set a document
locator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></B>(<A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</CODE>
<BR>
Register the DTD
event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></B>(<A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</CODE>
<BR>
Register the
entity resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></B>(<A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</CODE>
<BR>
Register the
error event handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale locale)</CODE>
<BR>
Set the locale
for error reporting.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#skippedEntity(java.lang.String)">skippedEntity</A></B>(java.lang.String name)</CODE>
<BR>
Adapt a SAX2
skipped entity event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
Start document
event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</CODE>
<BR>
Adapt a SAX2
start element event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></B>(java.lang.String prefix,
java.lang.String uri)</CODE>
<BR>
Adapt a SAX2
start prefix mapping event.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XMLReaderAdapter()"><!-- --></A><H3>
XMLReaderAdapter</H3>
<PRE>
public <B>XMLReaderAdapter</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Create a new adapter.
<p>Use the "org.xml.sax.driver" property to locate the SAX2
driver to embed.</p><DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If
the embedded driver
cannot be instantiated or if the
org.xml.sax.driver property is not specified.</DL>
</DD>
</DL>
<HR>
<A NAME="XMLReaderAdapter(org.xml.sax.XMLReader)"><!-- --></A><H3>
XMLReaderAdapter</H3>
<PRE>
public <B>XMLReaderAdapter</B>(<A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A> xmlReader)</PRE>
<DL>
<DD>Create a new adapter.
<p>Create a new adapter, wrapped around a SAX2 XMLReader.
The adapter will make the XMLReader act like a SAX1
Parser.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>xmlReader</CODE> - The SAX2 XMLReader to
wrap.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If the
argument is null.</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>
setLocale</H3>
<PRE>
public void <B>setLocale</B>(java.util.Locale locale)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Set the locale for error reporting.
<p>This is not supported in SAX2, and will always throw
an exception.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)">setLocale</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>The</CODE> - locale for error
reporting.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Parser.html#setLocale(java.util.Locale)"><CODE>Parser.setLocale(java.util.Locale)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setEntityResolver(org.xml.sax.EntityResolver)"><!-- --></A><H3>
setEntityResolver</H3>
<PRE>
public void <B>setEntityResolver</B>(<A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A> resolver)</PRE>
<DL>
<DD>Register the entity resolver.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Parser.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new resolver.<DT><B>See
Also: </B><DD><A
HREF="../../../../org/xml/sax/Parser.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>Parser.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDTDHandler(org.xml.sax.DTDHandler)"><!-- --></A><H3>
setDTDHandler</H3>
<PRE>
public void <B>setDTDHandler</B>(<A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A> handler)</PRE>
<DL>
<DD>Register the DTD event handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Parser.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The new DTD event
handler.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Parser.html#setDTDHandler(org.xml.sax.DTDHandler)"><CODE>Parser.setDTDHandler(org.xml.sax.DTDHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDocumentHandler(org.xml.sax.DocumentHandler)"><!-- --></A><H3>
setDocumentHandler</H3>
<PRE>
public void <B>setDocumentHandler</B>(<A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A> handler)</PRE>
<DL>
<DD>Register the SAX1 document event handler.
<p>Note that the SAX1 document handler has no Namespace
support.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Parser.html#setDocumentHandler(org.xml.sax.DocumentHandler)">setDocumentHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The new SAX1 document event
handler.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Parser.html#setDocumentHandler(org.xml.sax.DocumentHandler)"><CODE>Parser.setDocumentHandler(org.xml.sax.DocumentHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setErrorHandler(org.xml.sax.ErrorHandler)"><!-- --></A><H3>
setErrorHandler</H3>
<PRE>
public void <B>setErrorHandler</B>(<A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</PRE>
<DL>
<DD>Register the error event handler.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Parser.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handler</CODE> - The new error event
handler.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Parser.html#setErrorHandler(org.xml.sax.ErrorHandler)"><CODE>Parser.setErrorHandler(org.xml.sax.ErrorHandler)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(java.lang.String systemId)
throws java.io.IOException,
<A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Parse the document.
<p>This method will throw an exception if the embedded
XMLReader does not support the
http://xml.org/sax/features/namespace-prefixes property.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Parser.html#parse(java.lang.String)">parse</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The absolute URL of the
document.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If there is a
problem reading
the raw content of the document.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If
there is a problem
processing the document.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#parse(org.xml.sax.InputSource)"><CODE>parse(org.xml.sax.InputSource)</CODE></A>,
<A
HREF="../../../../org/xml/sax/Parser.html#parse(java.lang.String)"><CODE>Parser.parse(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="parse(org.xml.sax.InputSource)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(<A
HREF="../../../../org/xml/sax/InputSource.html">InputSource</A> input)
throws java.io.IOException,
<A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Parse the document.
<p>This method will throw an exception if the embedded
XMLReader does not support the
http://xml.org/sax/features/namespace-prefixes property.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/Parser.html#parse(org.xml.sax.InputSource)">parse</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/Parser.html">Parser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>input</CODE> - An input source for the
document.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If there is a
problem reading
the raw content of the document.<DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If
there is a problem
processing the document.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html#parse(java.lang.String)"><CODE>parse(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/Parser.html#parse(org.xml.sax.InputSource)"><CODE>Parser.parse(org.xml.sax.InputSource)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
setDocumentLocator</H3>
<PRE>
public void <B>setDocumentLocator</B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD>Set a document locator.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - The document
locator.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>ContentHandler.setDocumentLocator(org.xml.sax.Locator)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startDocument()"><!-- --></A><H3>
startDocument</H3>
<PRE>
public void <B>startDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Start document event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startDocument()">startDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startDocument()"><CODE>ContentHandler.startDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>End document event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()">endDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()"><CODE>ContentHandler.endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startPrefixMapping(java.lang.String, java.lang.String)"><!--
--></A><H3>
startPrefixMapping</H3>
<PRE>
public void <B>startPrefixMapping</B>(java.lang.String prefix,
java.lang.String uri)</PRE>
<DL>
<DD>Adapt a SAX2 start prefix mapping event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix being
mapped.<DD><CODE>uri</CODE> - The Namespace URI being mapped to.<DT><B>See
Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)"><CODE>ContentHandler.startPrefixMapping(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endPrefixMapping(java.lang.String)"><!-- --></A><H3>
endPrefixMapping</H3>
<PRE>
public void <B>endPrefixMapping</B>(java.lang.String prefix)</PRE>
<DL>
<DD>Adapt a SAX2 end prefix mapping event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix being
mapped.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>ContentHandler.endPrefixMapping(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX2 start element event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace
URI.<DD><CODE>localName</CODE> - The Namespace local
name.<DD><CODE>qName</CODE> - The qualified (prefixed)
name.<DD><CODE>atts</CODE> - The SAX2 attributes.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()"><CODE>ContentHandler.endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX2 end element event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)">endElement</A></CODE> in interface
<CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace
URI.<DD><CODE>localName</CODE> - The Namespace local
name.<DD><CODE>qName</CODE> - The qualified (prefixed)
name.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX2 characters event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)">characters</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array of
characters.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to
use.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)"><CODE>ContentHandler.characters(char[], int, int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] ch,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX2 ignorable whitespace event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array of
characters.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to
use.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ContentHandler.ignorableWhitespace(char[], int,
int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String data)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX2 processing instruction event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The remainder of the processing
instruction<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may raise a
processing exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)"><CODE>ContentHandler.processingInstruction(java.lang.String,
java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="skippedEntity(java.lang.String)"><!-- --></A><H3>
skippedEntity</H3>
<PRE>
public void <B>skippedEntity</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Adapt a SAX2 skipped entity event.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)">skippedEntity</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the skipped
entity.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)"><CODE>ContentHandler.skippedEntity(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/xml/sax/helpers/XMLReaderFactory.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLReaderAdapter.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/XMLReaderFactory.html
Index: XMLReaderFactory.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:09 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class XMLReaderFactory
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLReaderFactory.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.xml.sax.helpers</FONT>
<BR>
Class XMLReaderFactory</H2>
<PRE>
java.lang.Object
|
+--<B>org.xml.sax.helpers.XMLReaderFactory</B>
</PRE>
<HR>
<DL>
<DT>public final class <B>XMLReaderFactory</B><DT>extends
java.lang.Object</DL>
<P>
Factory for creating an XML reader.
<blockquote>
<em>This module, both source code and documentation, is in the
Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
</blockquote>
<p>This class contains static methods for creating an XML reader
from an explicit class name, or for creating an XML reader based
on the value of the <code>org.xml.sax.driver</code> system
property:</p>
<pre>
try {
XMLReader myReader = XMLReaderFactory.createXMLReader();
} catch (SAXException e) {
System.err.println(e.getMessage());
}
</pre>
<p>Note that these methods will not be usable in environments where
system properties are not accessible or where the application or
applet is not permitted to load classes dynamically.</p>
<p><strong>Note to implementors:</strong> SAX implementations in specialized
environments may replace this class with a different one optimized for the
environment, as long as its method signatures remain the same.</p>
<P>
<DL>
<DT><B>Since: </B><DD>SAX 2.0</DD>
<DT><B>Version: </B><DD>2.0</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/XMLReader.html"><CODE>XMLReader</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderFactory.html#createXMLReader()">createXMLReader</A></B>()</CODE>
<BR>
Attempt to create
an XML reader from a system property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A
HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/xml/sax/helpers/XMLReaderFactory.html#createXMLReader(java.lang.String)">createXMLReader</A></B>(java.lang.String className)</CODE>
<BR>
Attempt to create
an XML reader from a class name.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="createXMLReader()"><!-- --></A><H3>
createXMLReader</H3>
<PRE>
public static <A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A>
<B>createXMLReader</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Attempt to create an XML reader from a system property.
<p>This method uses the value of the system property
"org.xml.sax.driver" as the full name of a Java class
and tries to instantiate that class as a SAX2
XMLReader.</p>
<p>Note that many Java interpreters allow system properties
to be specified on the command line.</p><DD><DL>
<DT><B>Returns:</B><DD>A new XMLReader.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If
the value of the
"org.xml.sax.driver" system property is null,
or if the class cannot be loaded and instantiated.<DT><B>See
Also: </B><DD><A
HREF="../../../../org/xml/sax/helpers/XMLReaderFactory.html#createXMLReader(java.lang.String)"><CODE>createXMLReader(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="createXMLReader(java.lang.String)"><!-- --></A><H3>
createXMLReader</H3>
<PRE>
public static <A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A>
<B>createXMLReader</B>(java.lang.String className)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Attempt to create an XML reader from a class name.
<p>Given a class name, this method attempts to load
and instantiate the class as an XML reader.</p><DD><DL>
<DT><B>Returns:</B><DD>A new XML reader.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If
the class cannot be
loaded, instantiated, and cast to XMLReader.<DT><B>See Also:
</B><DD><A
HREF="../../../../org/xml/sax/helpers/XMLReaderFactory.html#createXMLReader()"><CODE>createXMLReader()</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLReaderFactory.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/package-frame.html
Index: package-frame.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Package org.xml.sax.helpers
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameTitleFont">
<A HREF="../../../../org/xml/sax/helpers/package-summary.html"
TARGET="classFrame">org.xml.sax.helpers</A></FONT>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Classes</FONT>
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="AttributeListImpl.html" TARGET="classFrame">AttributeListImpl</A>
<BR>
<A HREF="AttributesImpl.html" TARGET="classFrame">AttributesImpl</A>
<BR>
<A HREF="DefaultHandler.html" TARGET="classFrame">DefaultHandler</A>
<BR>
<A HREF="LocatorImpl.html" TARGET="classFrame">LocatorImpl</A>
<BR>
<A HREF="NamespaceSupport.html" TARGET="classFrame">NamespaceSupport</A>
<BR>
<A HREF="ParserAdapter.html" TARGET="classFrame">ParserAdapter</A>
<BR>
<A HREF="ParserFactory.html" TARGET="classFrame">ParserFactory</A>
<BR>
<A HREF="XMLFilterImpl.html" TARGET="classFrame">XMLFilterImpl</A>
<BR>
<A HREF="XMLReaderAdapter.html" TARGET="classFrame">XMLReaderAdapter</A>
<BR>
<A HREF="XMLReaderFactory.html"
TARGET="classFrame">XMLReaderFactory</A></FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/package-summary.html
Index: package-summary.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Package org.xml.sax.helpers
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/ext/package-summary.html"><B>PREV
PACKAGE</B></A>
NEXT PACKAGE</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<H2>
Package org.xml.sax.helpers
</H2>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="AttributeListImpl.html">AttributeListImpl</A></B></TD>
<TD><B>Deprecated.</B> <I>This class implements a deprecated interface,
<A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A>;
that interface has been replaced by
<A
HREF="../../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A>,
which is implemented in the
<A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html"><CODE>AttributesImpl</CODE></A>
helper class.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="AttributesImpl.html">AttributesImpl</A></B></TD>
<TD>Default implementation of the Attributes interface.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultHandler.html">DefaultHandler</A></B></TD>
<TD>Default base class for SAX2 event handlers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="LocatorImpl.html">LocatorImpl</A></B></TD>
<TD>Provide an optional convenience implementation of Locator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="NamespaceSupport.html">NamespaceSupport</A></B></TD>
<TD>Encapsulate Namespace logic for use by SAX drivers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ParserAdapter.html">ParserAdapter</A></B></TD>
<TD>Adapt a SAX1 Parser as a SAX2 XMLReader.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ParserFactory.html">ParserFactory</A></B></TD>
<TD><B>Deprecated.</B> <I>This class works with the deprecated
<A
HREF="../../../../org/xml/sax/Parser.html"><CODE>Parser</CODE></A>
interface.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="XMLFilterImpl.html">XMLFilterImpl</A></B></TD>
<TD>Base class for deriving an XML filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="XMLReaderAdapter.html">XMLReaderAdapter</A></B></TD>
<TD>Adapt a SAX2 XMLReader as a SAX1 Parser.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="XMLReaderFactory.html">XMLReaderFactory</A></B></TD>
<TD>Factory for creating an XML reader.</TD>
</TR>
</TABLE>
<P>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/xml/sax/ext/package-summary.html"><B>PREV
PACKAGE</B></A>
NEXT PACKAGE</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/xml/sax/helpers/package-tree.html
Index: package-tree.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: org.xml.sax.helpers Class Hierarchy
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/xml/sax/ext/package-tree.html"><B>PREV</B></A>
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For Package org.xml.sax.helpers
</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A
HREF="../../../../overview-tree.html">All Packages</A></DL>
<HR>
<H2>
Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">class java.lang.Object<UL>
<LI TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/AttributeListImpl.html"><B>AttributeListImpl</B></A>
(implements org.xml.sax.<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A>)
<LI TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/AttributesImpl.html"><B>AttributesImpl</B></A>
(implements org.xml.sax.<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A>)
<LI TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/DefaultHandler.html"><B>DefaultHandler</B></A>
(implements org.xml.sax.<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>,
org.xml.sax.<A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>,
org.xml.sax.<A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>,
org.xml.sax.<A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A>)
<LI TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/LocatorImpl.html"><B>LocatorImpl</B></A>
(implements org.xml.sax.<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A>)
<LI TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html"><B>NamespaceSupport</B></A><LI
TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/ParserAdapter.html"><B>ParserAdapter</B></A>
(implements org.xml.sax.<A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>,
org.xml.sax.<A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A>)
<LI TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/ParserFactory.html"><B>ParserFactory</B></A><LI
TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/XMLFilterImpl.html"><B>XMLFilterImpl</B></A>
(implements org.xml.sax.<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>,
org.xml.sax.<A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>,
org.xml.sax.<A
HREF="../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>,
org.xml.sax.<A
HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A>,
org.xml.sax.<A HREF="../../../../org/xml/sax/XMLFilter.html">XMLFilter</A>)
<LI TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/XMLReaderAdapter.html"><B>XMLReaderAdapter</B></A>
(implements org.xml.sax.<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>,
org.xml.sax.<A HREF="../../../../org/xml/sax/Parser.html">Parser</A>)
<LI TYPE="circle">class org.xml.sax.helpers.<A
HREF="../../../../org/xml/sax/helpers/XMLReaderFactory.html"><B>XMLReaderFactory</B></A></UL>
</UL>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/xml/sax/ext/package-tree.html"><B>PREV</B></A>
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]