<!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 Sep 18 10:25:34 GMT+01:00 2001 --> <TITLE> : Class DOMDriver </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-all.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> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/icl/saxon/DecimalFormatManager.html"><B>PREV CLASS</B></A> <A HREF="../../../com/icl/saxon/ExtendedInputSource.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="DOMDriver.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"> com.icl.saxon</FONT> <BR> Class DOMDriver</H2> <PRE> java.lang.Object | +--<B>com.icl.saxon.DOMDriver</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD>org.xml.sax.Locator, org.xml.sax.XMLReader</DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/icl/saxon/TreeDriver.html">TreeDriver</A></DD> </DL> <HR> <DL> <DT>public class <B>DOMDriver</B><DT>extends java.lang.Object<DT>implements org.xml.sax.Locator, org.xml.sax.XMLReader</DL> <P> DOMDriver.java: (pseudo-)SAX driver for DOM.<BR> This class simulates the action of a SAX Parser, taking an already-constructed DOM Document and walking around it in a depth-first traversal, calling a SAX-compliant ContentHandler to process the children as it does so. <P> <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>protected org.xml.sax.ContentHandler</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/icl/saxon/DOMDriver.html#contentHandler">contentHandler</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected org.w3c.dom.Node</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/icl/saxon/DOMDriver.html#root">root</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/icl/saxon/DOMDriver.html#systemId">systemId</A></B></CODE> <BR> </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="../../../com/icl/saxon/DOMDriver.html#DOMDriver()">DOMDriver</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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/icl/saxon/DOMDriver.html#getColumnNumber()">getColumnNumber</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.xml.sax.ContentHandler</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/icl/saxon/DOMDriver.html#getContentHandler()">getContentHandler</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.xml.sax.DTDHandler</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/icl/saxon/DOMDriver.html#getDTDHandler()">getDTDHandler</A></B>()</CODE> <BR> <b>SAX2</b>: Returns the object used to process declarations related to notations and unparsed entities.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.xml.sax.EntityResolver</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/icl/saxon/DOMDriver.html#getEntityResolver()">getEntityResolver</A></B>()</CODE> <BR> <b>SAX2</b>: Returns the object used when resolving external entities during parsing (both general and parameter entities).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.xml.sax.ErrorHandler</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/icl/saxon/DOMDriver.html#getErrorHandler()">getErrorHandler</A></B>()</CODE> <BR> <b>SAX2</b>: Returns the object used to receive callbacks for XML errors of all levels (fatal, nonfatal, warning); this is never null;</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="../../../com/icl/saxon/DOMDriver.html#getFeature(java.lang.String)">getFeature</A></B>(java.lang.String featureId)</CODE> <BR> <b>SAX2</b>: Tells the value of the specified feature flag.</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="../../../com/icl/saxon/DOMDriver.html#getLineNumber()">getLineNumber</A></B>()</CODE> <BR> </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="../../../com/icl/saxon/DOMDriver.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String name)</CODE> <BR> <b>SAX2</b>: Returns the specified property.</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="../../../com/icl/saxon/DOMDriver.html#getPublicId()">getPublicId</A></B>()</CODE> <BR> </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="../../../com/icl/saxon/DOMDriver.html#getSystemId()">getSystemId</A></B>()</CODE> <BR> </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="../../../com/icl/saxon/DOMDriver.html#parse()">parse</A></B>()</CODE> <BR> Walk a document (traversing the nodes depth first)</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="../../../com/icl/saxon/DOMDriver.html#parse(org.xml.sax.InputSource)">parse</A></B>(org.xml.sax.InputSource source)</CODE> <BR> Parse from InputSource.</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="../../../com/icl/saxon/DOMDriver.html#parse(java.lang.String)">parse</A></B>(java.lang.String source)</CODE> <BR> Parse from SystemId.</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="../../../com/icl/saxon/DOMDriver.html#setContentHandler(org.xml.sax.ContentHandler)">setContentHandler</A></B>(org.xml.sax.ContentHandler 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="../../../com/icl/saxon/DOMDriver.html#setDocument(org.w3c.dom.Document)">setDocument</A></B>(org.w3c.dom.Document doc)</CODE> <BR> Set the DOM Document that will be walked</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="../../../com/icl/saxon/DOMDriver.html#setDocumentHandler(org.xml.sax.DocumentHandler)">setDocumentHandler</A></B>(org.xml.sax.DocumentHandler handler)</CODE> <BR> <B>Deprecated.</B> <I>SAX2 programs should use the XMLReader interface and a ContentHandler.</I></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="../../../com/icl/saxon/DOMDriver.html#setDTDHandler(org.xml.sax.DTDHandler)">setDTDHandler</A></B>(org.xml.sax.DTDHandler handler)</CODE> <BR> <b>SAX1, SAX2</b>: Set the DTD handler for this 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="../../../com/icl/saxon/DOMDriver.html#setEntityResolver(org.xml.sax.EntityResolver)">setEntityResolver</A></B>(org.xml.sax.EntityResolver resolver)</CODE> <BR> <b>SAX1, SAX2</b>: Set the entity resolver for this 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="../../../com/icl/saxon/DOMDriver.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></B>(org.xml.sax.ErrorHandler handler)</CODE> <BR> <b>SAX1, SAX2</b>: Set the error handler for this 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="../../../com/icl/saxon/DOMDriver.html#setFeature(java.lang.String, boolean)">setFeature</A></B>(java.lang.String featureId, boolean on)</CODE> <BR> <b>SAX2</b>: Sets the state of feature flags in this 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="../../../com/icl/saxon/DOMDriver.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale locale)</CODE> <BR> <b>SAX1</b>: Sets the locale used for diagnostics; currently, only locales using the English language are supported.</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="../../../com/icl/saxon/DOMDriver.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></B>(java.lang.String propertyId, java.lang.Object property)</CODE> <BR> <b>SAX2</b>: Assigns the specified 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="../../../com/icl/saxon/DOMDriver.html#setSystemId(java.lang.String)">setSystemId</A></B>(java.lang.String systemId)</CODE> <BR> </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="contentHandler"><!-- --></A><H3> contentHandler</H3> <PRE> protected org.xml.sax.ContentHandler <B>contentHandler</B></PRE> <DL> </DL> <HR> <A NAME="root"><!-- --></A><H3> root</H3> <PRE> protected org.w3c.dom.Node <B>root</B></PRE> <DL> </DL> <HR> <A NAME="systemId"><!-- --></A><H3> systemId</H3> <PRE> protected java.lang.String <B>systemId</B></PRE> <DL> </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="DOMDriver()"><!-- --></A><H3> DOMDriver</H3> <PRE> public <B>DOMDriver</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="setContentHandler(org.xml.sax.ContentHandler)"><!-- --></A><H3> setContentHandler</H3> <PRE> public void <B>setContentHandler</B>(org.xml.sax.ContentHandler handler)</PRE> <DL> <DD>Set the content handler.<DD><DL> <DT><B>Specified by: </B><DD><CODE>setContentHandler</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>handler</CODE> - The object to receive content events. If this also implements LexicalHandler, it will also be notified of comments.</DL> </DD> </DL> <HR> <A NAME="getContentHandler()"><!-- --></A><H3> getContentHandler</H3> <PRE> public org.xml.sax.ContentHandler <B>getContentHandler</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by: </B><DD><CODE>getContentHandler</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> </DL> <HR> <A NAME="setLocale(java.util.Locale)"><!-- --></A><H3> setLocale</H3> <PRE> public void <B>setLocale</B>(java.util.Locale locale) throws org.xml.sax.SAXException</PRE> <DL> <DD><b>SAX1</b>: Sets the locale used for diagnostics; currently, only locales using the English language are supported.<DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>locale</CODE> - The locale for which diagnostics will be generated</DL> </DD> </DL> <HR> <A NAME="getEntityResolver()"><!-- --></A><H3> getEntityResolver</H3> <PRE> public org.xml.sax.EntityResolver <B>getEntityResolver</B>()</PRE> <DL> <DD><b>SAX2</b>: Returns the object used when resolving external entities during parsing (both general and parameter entities).<DD><DL> <DT><B>Specified by: </B><DD><CODE>getEntityResolver</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> </DL> <HR> <A NAME="setEntityResolver(org.xml.sax.EntityResolver)"><!-- --></A><H3> setEntityResolver</H3> <PRE> public void <B>setEntityResolver</B>(org.xml.sax.EntityResolver resolver)</PRE> <DL> <DD><b>SAX1, SAX2</b>: Set the entity resolver for this parser.<DD><DL> <DT><B>Specified by: </B><DD><CODE>setEntityResolver</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>handler</CODE> - The object to receive entity events.</DL> </DD> </DL> <HR> <A NAME="getDTDHandler()"><!-- --></A><H3> getDTDHandler</H3> <PRE> public org.xml.sax.DTDHandler <B>getDTDHandler</B>()</PRE> <DL> <DD><b>SAX2</b>: Returns the object used to process declarations related to notations and unparsed entities.<DD><DL> <DT><B>Specified by: </B><DD><CODE>getDTDHandler</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> </DL> <HR> <A NAME="setDTDHandler(org.xml.sax.DTDHandler)"><!-- --></A><H3> setDTDHandler</H3> <PRE> public void <B>setDTDHandler</B>(org.xml.sax.DTDHandler handler)</PRE> <DL> <DD><b>SAX1, SAX2</b>: Set the DTD handler for this parser.<DD><DL> <DT><B>Specified by: </B><DD><CODE>setDTDHandler</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>handler</CODE> - The object to receive DTD events.</DL> </DD> </DL> <HR> <A NAME="setDocumentHandler(org.xml.sax.DocumentHandler)"><!-- --></A><H3> setDocumentHandler</H3> <PRE> public void <B>setDocumentHandler</B>(org.xml.sax.DocumentHandler handler)</PRE> <DL> <DD><B>Deprecated.</B> <I>SAX2 programs should use the XMLReader interface and a ContentHandler.</I> <P> <DD><b>SAX1</b>: Set the document handler for this parser. If a content handler was set, this document handler will supplant it. The parser is set to report all XML 1.0 names rather than to filter out "xmlns" attributes (the "namespace-prefixes" feature is set to true).<DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>handler</CODE> - The object to receive document events.</DL> </DD> </DL> <HR> <A NAME="setErrorHandler(org.xml.sax.ErrorHandler)"><!-- --></A><H3> setErrorHandler</H3> <PRE> public void <B>setErrorHandler</B>(org.xml.sax.ErrorHandler handler)</PRE> <DL> <DD><b>SAX1, SAX2</b>: Set the error handler for this parser.<DD><DL> <DT><B>Specified by: </B><DD><CODE>setErrorHandler</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>handler</CODE> - The object to receive error events.</DL> </DD> </DL> <HR> <A NAME="getErrorHandler()"><!-- --></A><H3> getErrorHandler</H3> <PRE> public org.xml.sax.ErrorHandler <B>getErrorHandler</B>()</PRE> <DL> <DD><b>SAX2</b>: Returns the object used to receive callbacks for XML errors of all levels (fatal, nonfatal, warning); this is never null;<DD><DL> <DT><B>Specified by: </B><DD><CODE>getErrorHandler</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> </DL> <HR> <A NAME="setDocument(org.w3c.dom.Document)"><!-- --></A><H3> setDocument</H3> <PRE> public void <B>setDocument</B>(org.w3c.dom.Document doc)</PRE> <DL> <DD>Set the DOM Document that will be walked<DD><DL> </DL> </DD> </DL> <HR> <A NAME="parse(org.xml.sax.InputSource)"><!-- --></A><H3> parse</H3> <PRE> public void <B>parse</B>(org.xml.sax.InputSource source) throws org.xml.sax.SAXException</PRE> <DL> <DD>Parse from InputSource. The InputSource is ignored; it's there only to satisfy the XMLReader interface<DD><DL> <DT><B>Specified by: </B><DD><CODE>parse</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> </DL> <HR> <A NAME="parse(java.lang.String)"><!-- --></A><H3> parse</H3> <PRE> public void <B>parse</B>(java.lang.String source) throws org.xml.sax.SAXException</PRE> <DL> <DD>Parse from SystemId. The SystemId is ignored; it's there only to satisfy the XMLReader interface<DD><DL> <DT><B>Specified by: </B><DD><CODE>parse</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> </DL> <HR> <A NAME="parse()"><!-- --></A><H3> parse</H3> <PRE> public void <B>parse</B>() throws org.xml.sax.SAXException</PRE> <DL> <DD>Walk a document (traversing the nodes depth first)<DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>doc</CODE> - The (DOM) Document object to walk.<DT><B>Throws:</B><DD><CODE>org.xml.sax.SAXException</CODE> - On any error in the document</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><DL> </DL> </DD> </DL> <HR> <A NAME="getPublicId()"><!-- --></A><H3> getPublicId</H3> <PRE> public java.lang.String <B>getPublicId</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by: </B><DD><CODE>getPublicId</CODE> in interface <CODE>org.xml.sax.Locator</CODE></DL> </DD> </DL> <HR> <A NAME="getSystemId()"><!-- --></A><H3> getSystemId</H3> <PRE> public java.lang.String <B>getSystemId</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by: </B><DD><CODE>getSystemId</CODE> in interface <CODE>org.xml.sax.Locator</CODE></DL> </DD> </DL> <HR> <A NAME="getLineNumber()"><!-- --></A><H3> getLineNumber</H3> <PRE> public int <B>getLineNumber</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by: </B><DD><CODE>getLineNumber</CODE> in interface <CODE>org.xml.sax.Locator</CODE></DL> </DD> </DL> <HR> <A NAME="getColumnNumber()"><!-- --></A><H3> getColumnNumber</H3> <PRE> public int <B>getColumnNumber</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by: </B><DD><CODE>getColumnNumber</CODE> in interface <CODE>org.xml.sax.Locator</CODE></DL> </DD> </DL> <HR> <A NAME="getFeature(java.lang.String)"><!-- --></A><H3> getFeature</H3> <PRE> public boolean <B>getFeature</B>(java.lang.String featureId) throws org.xml.sax.SAXNotRecognizedException</PRE> <DL> <DD><b>SAX2</b>: Tells the value of the specified feature flag.<DD><DL> <DT><B>Specified by: </B><DD><CODE>getFeature</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B><DD><CODE>org.xml.sax.SAXNotRecognizedException</CODE> - thrown if the feature flag is neither built in, nor yet assigned.</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 org.xml.sax.SAXNotRecognizedException</PRE> <DL> <DD><b>SAX2</b>: Returns the specified property.<DD><DL> <DT><B>Specified by: </B><DD><CODE>getProperty</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B><DD><CODE>org.xml.sax.SAXNotRecognizedException</CODE> - thrown if the property value is neither built in, nor yet stored.</DL> </DD> </DL> <HR> <A NAME="setFeature(java.lang.String, boolean)"><!-- --></A><H3> setFeature</H3> <PRE> public void <B>setFeature</B>(java.lang.String featureId, boolean on) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException</PRE> <DL> <DD><b>SAX2</b>: Sets the state of feature flags in this parser. Some built-in feature flags are mutable; all flags not built-in are motable.<DD><DL> <DT><B>Specified by: </B><DD><CODE>setFeature</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></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 propertyId, java.lang.Object property) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException</PRE> <DL> <DD><b>SAX2</b>: Assigns the specified property. Like SAX1 handlers, these may be changed at any time.<DD><DL> <DT><B>Specified by: </B><DD><CODE>setProperty</CODE> in interface <CODE>org.xml.sax.XMLReader</CODE></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-all.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> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/icl/saxon/DecimalFormatManager.html"><B>PREV CLASS</B></A> <A HREF="../../../com/icl/saxon/ExtendedInputSource.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="DOMDriver.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>