<!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:43 GMT+01:00 2001 --> <TITLE> : Class ContentHandlerProxy </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/output/CDATAFilter.html"><B>PREV CLASS</B></A> <A HREF="../../../../com/icl/saxon/output/DocumentHandlerProxy.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="ContentHandlerProxy.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.output</FONT> <BR> Class ContentHandlerProxy</H2> <PRE> java.lang.Object | +--<A HREF="../../../../com/icl/saxon/output/Emitter.html">com.icl.saxon.output.Emitter</A> | +--<B>com.icl.saxon.output.ContentHandlerProxy</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD>org.xml.sax.Locator, javax.xml.transform.Result</DD> </DL> <HR> <DL> <DT>public class <B>ContentHandlerProxy</B><DT>extends <A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A><DT>implements org.xml.sax.Locator</DL> <P> A ContentHandlerProxy is an Emitter that filters data before passing it to an underlying SAX2 ContentHandler. Relevant events (notably comments) can also be fed to a LexicalHandler. Note that in general the output passed to an Emitter corresponds to an External General Parsed Entity. A SAX2 ContentHandler only expects to deal with well-formed XML documents, so we only pass it the contents of the first element encountered. <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.helpers.AttributesImpl</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/output/ContentHandlerProxy.html#attributes">attributes</A></B></CODE> <BR> </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/output/ContentHandlerProxy.html#handler">handler</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected org.xml.sax.ext.LexicalHandler</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/output/ContentHandlerProxy.html#lexicalHandler">lexicalHandler</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected org.xml.sax.Locator</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/output/ContentHandlerProxy.html#locator">locator</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/output/ContentHandlerProxy.html#requireWellFormed">requireWellFormed</A></B></CODE> <BR> </TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.icl.saxon.output.Emitter"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Fields inherited from class com.icl.saxon.output.<A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#namePool">namePool</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#outputProperties">outputProperties</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#outputStream">outputStream</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#systemId">systemId</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#writer">writer</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_javax.xml.transform.Result"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Fields inherited from interface javax.xml.transform.Result</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING</CODE></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/output/ContentHandlerProxy.html#ContentHandlerProxy()">ContentHandlerProxy</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="../../../../com/icl/saxon/output/ContentHandlerProxy.html#characters(char[], int, int)">characters</A></B>(char[] chars, int start, int len)</CODE> <BR> 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="../../../../com/icl/saxon/output/ContentHandlerProxy.html#comment(char[], int, int)">comment</A></B>(char[] ch, int start, int length)</CODE> <BR> Output a comment.</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/output/ContentHandlerProxy.html#endDocument()">endDocument</A></B>()</CODE> <BR> End of 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="../../../../com/icl/saxon/output/ContentHandlerProxy.html#endElement(int)">endElement</A></B>(int nameCode)</CODE> <BR> End of element</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/output/ContentHandlerProxy.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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/output/ContentHandlerProxy.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.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/output/ContentHandlerProxy.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>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/output/ContentHandlerProxy.html#notifyNotWellFormed()">notifyNotWellFormed</A></B>()</CODE> <BR> The following function notifies the content handler, by means of a processing instruction, that the output is not a well-formed 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="../../../../com/icl/saxon/output/ContentHandlerProxy.html#processingInstruction(java.lang.String, java.lang.String)">processingInstruction</A></B>(java.lang.String target, java.lang.String data)</CODE> <BR> 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="../../../../com/icl/saxon/output/ContentHandlerProxy.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(org.xml.sax.Locator locator)</CODE> <BR> Set 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="../../../../com/icl/saxon/output/ContentHandlerProxy.html#setEscaping(boolean)">setEscaping</A></B>(boolean escaping)</CODE> <BR> Switch escaping on or off.</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/output/ContentHandlerProxy.html#setLexicalHandler(org.xml.sax.ext.LexicalHandler)">setLexicalHandler</A></B>(org.xml.sax.ext.LexicalHandler handler)</CODE> <BR> Set the Lexical Handler to be used.</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/output/ContentHandlerProxy.html#setRequireWellFormed(boolean)">setRequireWellFormed</A></B>(boolean wellFormed)</CODE> <BR> Indicate whether the content handler can handle a stream of events that is merely well-balanced, or whether it can only handle a well-formed sequence.</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/output/ContentHandlerProxy.html#setUnderlyingContentHandler(org.xml.sax.ContentHandler)">setUnderlyingContentHandler</A></B>(org.xml.sax.ContentHandler handler)</CODE> <BR> Set the underlying 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/output/ContentHandlerProxy.html#startDocument()">startDocument</A></B>()</CODE> <BR> Start of 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="../../../../com/icl/saxon/output/ContentHandlerProxy.html#startElement(int, org.xml.sax.Attributes, int[], int)">startElement</A></B>(int nameCode, org.xml.sax.Attributes atts, int[] namespaces, int nscount)</CODE> <BR> Start of element</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.icl.saxon.output.Emitter"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class com.icl.saxon.output.<A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#getNamePool()">getNamePool</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#getOutputProperties()">getOutputProperties</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#getOutputStream()">getOutputStream</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#getSystemId()">getSystemId</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#getWriter()">getWriter</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#makeEmitter(java.lang.String)">makeEmitter</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#setNamePool(com.icl.saxon.om.NamePool)">setNamePool</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#setOutputProperties(java.util.Properties)">setOutputProperties</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#setOutputStream(java.io.OutputStream)">setOutputStream</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#setSystemId(java.lang.String)">setSystemId</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#setUnparsedEntity(java.lang.String, java.lang.String)">setUnparsedEntity</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#setWriter(java.io.Writer)">setWriter</A>, <A HREF="../../../../com/icl/saxon/output/Emitter.html#usesWriter()">usesWriter</A></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, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_org.xml.sax.Locator"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from interface org.xml.sax.Locator</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>getSystemId</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="handler"><!-- --></A><H3> handler</H3> <PRE> protected org.xml.sax.ContentHandler <B>handler</B></PRE> <DL> </DL> <HR> <A NAME="lexicalHandler"><!-- --></A><H3> lexicalHandler</H3> <PRE> protected org.xml.sax.ext.LexicalHandler <B>lexicalHandler</B></PRE> <DL> </DL> <HR> <A NAME="attributes"><!-- --></A><H3> attributes</H3> <PRE> protected org.xml.sax.helpers.AttributesImpl <B>attributes</B></PRE> <DL> </DL> <HR> <A NAME="locator"><!-- --></A><H3> locator</H3> <PRE> protected org.xml.sax.Locator <B>locator</B></PRE> <DL> </DL> <HR> <A NAME="requireWellFormed"><!-- --></A><H3> requireWellFormed</H3> <PRE> protected boolean <B>requireWellFormed</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="ContentHandlerProxy()"><!-- --></A><H3> ContentHandlerProxy</H3> <PRE> public <B>ContentHandlerProxy</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="setUnderlyingContentHandler(org.xml.sax.ContentHandler)"><!-- --></A><H3> setUnderlyingContentHandler</H3> <PRE> public void <B>setUnderlyingContentHandler</B>(org.xml.sax.ContentHandler handler)</PRE> <DL> <DD>Set the underlying content handler. This call is mandatory before using the Emitter.<DD><DL> </DL> </DD> </DL> <HR> <A NAME="setLexicalHandler(org.xml.sax.ext.LexicalHandler)"><!-- --></A><H3> setLexicalHandler</H3> <PRE> public void <B>setLexicalHandler</B>(org.xml.sax.ext.LexicalHandler handler)</PRE> <DL> <DD>Set the Lexical Handler to be used. If called, this must be called AFTER setUnderlyingContentHandler()<DD><DL> </DL> </DD> </DL> <HR> <A NAME="setRequireWellFormed(boolean)"><!-- --></A><H3> setRequireWellFormed</H3> <PRE> public void <B>setRequireWellFormed</B>(boolean wellFormed)</PRE> <DL> <DD>Indicate whether the content handler can handle a stream of events that is merely well-balanced, or whether it can only handle a well-formed sequence.<DD><DL> </DL> </DD> </DL> <HR> <A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3> setDocumentLocator</H3> <PRE> public void <B>setDocumentLocator</B>(org.xml.sax.Locator locator)</PRE> <DL> <DD>Set Document Locator<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></DL> </DD> </DL> <HR> <A NAME="startDocument()"><!-- --></A><H3> startDocument</H3> <PRE> public void <B>startDocument</B>() throws javax.xml.transform.TransformerException</PRE> <DL> <DD>Start of document<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#startDocument()">startDocument</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></DL> </DD> </DL> <HR> <A NAME="endDocument()"><!-- --></A><H3> endDocument</H3> <PRE> public void <B>endDocument</B>() throws javax.xml.transform.TransformerException</PRE> <DL> <DD>End of document<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#endDocument()">endDocument</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></DL> </DD> </DL> <HR> <A NAME="startElement(int, org.xml.sax.Attributes, int[], int)"><!-- --></A><H3> startElement</H3> <PRE> public void <B>startElement</B>(int nameCode, org.xml.sax.Attributes atts, int[] namespaces, int nscount) throws javax.xml.transform.TransformerException</PRE> <DL> <DD>Start of element<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#startElement(int, org.xml.sax.Attributes, int[], int)">startElement</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></DL> </DD> <DD>Following copied from class: <CODE>com.icl.saxon.output.Emitter</CODE></DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>namespaces</CODE> - Array of namespace codes identifying the namespace prefix/uri pairs associated with this element<DD><CODE>nscount</CODE> - Number of significant entries within namespaces array</DL> </DD> </DL> <HR> <A NAME="endElement(int)"><!-- --></A><H3> endElement</H3> <PRE> public void <B>endElement</B>(int nameCode) throws javax.xml.transform.TransformerException</PRE> <DL> <DD>End of element<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#endElement(int)">endElement</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></DL> </DD> </DL> <HR> <A NAME="characters(char[], int, int)"><!-- --></A><H3> characters</H3> <PRE> public void <B>characters</B>(char[] chars, int start, int len) throws javax.xml.transform.TransformerException</PRE> <DL> <DD>Character data<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#characters(char[], int, int)">characters</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></DL> </DD> </DL> <HR> <A NAME="notifyNotWellFormed()"><!-- --></A><H3> notifyNotWellFormed</H3> <PRE> protected void <B>notifyNotWellFormed</B>() throws org.xml.sax.SAXException</PRE> <DL> <DD>The following function notifies the content handler, by means of a processing instruction, that the output is not a well-formed document. If the content handler responds with an exception containing the message "continue" (this is the only way it can get information back) then further events are notified, otherwise they are suppressed.<DD><DL> </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 javax.xml.transform.TransformerException</PRE> <DL> <DD>Processing Instruction<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#processingInstruction(java.lang.String, java.lang.String)">processingInstruction</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></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 javax.xml.transform.TransformerException</PRE> <DL> <DD>Output a comment. Passes it on to the ContentHandler provided that the ContentHandler is also a SAX2 LexicalHandler.<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#comment(char[], int, int)">comment</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></DL> </DD> </DL> <HR> <A NAME="setEscaping(boolean)"><!-- --></A><H3> setEscaping</H3> <PRE> public void <B>setEscaping</B>(boolean escaping)</PRE> <DL> <DD>Switch escaping on or off. This is called when the XSLT disable-output-escaping attribute is used to switch escaping on or off. It is not called for other sections of output (e.g. element names) where escaping is inappropriate. The action, as defined in JAXP 1.1, is to notify the request to the Content Handler using a processing instruction.<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html#setEscaping(boolean)">setEscaping</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/output/Emitter.html">Emitter</A></CODE></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="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> <!-- ========= 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/output/CDATAFilter.html"><B>PREV CLASS</B></A> <A HREF="../../../../com/icl/saxon/output/DocumentHandlerProxy.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="ContentHandlerProxy.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>