| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:57 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class DOMBuilder
|
| </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="class-use/DOMBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../../org/apache/xml/utils/DOM2Helper.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xml/utils/DOMHelper.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="DOMBuilder.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.apache.xml.utils</FONT>
|
| <BR>
|
| Class DOMBuilder</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<B>org.apache.xml.utils.DOMBuilder</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>DOMBuilder</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></DL>
|
|
|
| <P>
|
| This class takes SAX events (in addition to some extra events |
| that SAX doesn't handle yet) and adds the result to a document |
| or document fragment.
|
| <P>
|
| <DL>
|
| <DT><B>Usage:</B><DD></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> <A HREF="../../../../org/w3c/dom/Document.html">Document</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#m_doc">m_doc</A></B></CODE>
|
|
|
| <BR>
|
| Root document</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/w3c/dom/DocumentFragment.html">DocumentFragment</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#m_docFrag">m_docFrag</A></B></CODE>
|
|
|
| <BR>
|
| First node of document fragment or null if not a DocumentFragment</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/apache/xml/utils/DOMBuilder.html#DOMBuilder(org.w3c.dom.Document)">DOMBuilder</A></B>(<A HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</CODE>
|
|
|
| <BR>
|
| DOMBuilder instance constructor...</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#DOMBuilder(org.w3c.dom.Document, org.w3c.dom.DocumentFragment)">DOMBuilder</A></B>(<A HREF="../../../../org/w3c/dom/Document.html">Document</A> doc, |
| <A HREF="../../../../org/w3c/dom/DocumentFragment.html">DocumentFragment</A> docFrag)</CODE>
|
|
|
| <BR>
|
| DOMBuilder instance constructor...</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#DOMBuilder(org.w3c.dom.Document, org.w3c.dom.Node)">DOMBuilder</A></B>(<A HREF="../../../../org/w3c/dom/Document.html">Document</A> doc, |
| <A HREF="../../../../org/w3c/dom/Node.html">Node</A> node)</CODE>
|
|
|
| <BR>
|
| DOMBuilder instance 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> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#cdata(char[], int, int)">cdata</A></B>(char[] ch, |
| int start, |
| int length)</CODE>
|
|
|
| <BR>
|
| Receive notification of cdata.</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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.html#charactersRaw(char[], int, int)">charactersRaw</A></B>(char[] ch, |
| int start, |
| int length)</CODE>
|
|
|
| <BR>
|
| If available, when the disable-output-escaping attribute is used, |
| output raw text without escaping.</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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.html#endElement(java.lang.String, java.lang.String, java.lang.String)">endElement</A></B>(java.lang.String ns, |
| java.lang.String localName, |
| java.lang.String name)</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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.html#entityReference(java.lang.String)">entityReference</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Receive notivication of a entityReference.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#getCurrentNode()">getCurrentNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the node currently being processed.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#getNextSibling()">getNextSibling</A></B>()</CODE>
|
|
|
| <BR>
|
| Return the next sibling node.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#getRootDocument()">getRootDocument</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the root document or DocumentFragment of the DOM being created.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#getRootNode()">getRootNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the root node of the DOM tree.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.io.Writer</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#getWriter()">getWriter</A></B>()</CODE>
|
|
|
| <BR>
|
| Return null since there is no Writer for this class.</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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.html#setIDAttribute(java.lang.String, org.w3c.dom.Element)">setIDAttribute</A></B>(java.lang.String id, |
| <A HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)</CODE>
|
|
|
| <BR>
|
| Set an ID string to node association in the ID table.</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/apache/xml/utils/DOMBuilder.html#setNextSibling(org.w3c.dom.Node)">setNextSibling</A></B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> nextSibling)</CODE>
|
|
|
| <BR>
|
| Set the next sibling node, which is where the result nodes |
| should be inserted before.</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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.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/apache/xml/utils/DOMBuilder.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</A></B>(java.lang.String ns, |
| java.lang.String localName, |
| java.lang.String name, |
| <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/apache/xml/utils/DOMBuilder.html#startEntity(java.lang.String)">startEntity</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Report the beginning 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/apache/xml/utils/DOMBuilder.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>
|
| <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>equals,
|
| 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="m_doc"><!-- --></A><H3>
|
| m_doc</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/Document.html">Document</A> <B>m_doc</B></PRE>
|
| <DL>
|
| <DD>Root document</DL>
|
| <HR>
|
|
|
| <A NAME="m_docFrag"><!-- --></A><H3>
|
| m_docFrag</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/DocumentFragment.html">DocumentFragment</A> <B>m_docFrag</B></PRE>
|
| <DL>
|
| <DD>First node of document fragment or null if not a DocumentFragment</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="DOMBuilder(org.w3c.dom.Document, org.w3c.dom.Node)"><!-- --></A><H3>
|
| DOMBuilder</H3>
|
| <PRE>
|
| public <B>DOMBuilder</B>(<A HREF="../../../../org/w3c/dom/Document.html">Document</A> doc, |
| <A HREF="../../../../org/w3c/dom/Node.html">Node</A> node)</PRE>
|
| <DL>
|
| <DD>DOMBuilder instance constructor... it will add the DOM nodes |
| to the document fragment.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doc</CODE> - Root document<DD><CODE>node</CODE> - Current node</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="DOMBuilder(org.w3c.dom.Document, org.w3c.dom.DocumentFragment)"><!-- --></A><H3>
|
| DOMBuilder</H3>
|
| <PRE>
|
| public <B>DOMBuilder</B>(<A HREF="../../../../org/w3c/dom/Document.html">Document</A> doc, |
| <A HREF="../../../../org/w3c/dom/DocumentFragment.html">DocumentFragment</A> docFrag)</PRE>
|
| <DL>
|
| <DD>DOMBuilder instance constructor... it will add the DOM nodes |
| to the document fragment.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doc</CODE> - Root document<DD><CODE>docFrag</CODE> - Document fragment</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="DOMBuilder(org.w3c.dom.Document)"><!-- --></A><H3>
|
| DOMBuilder</H3>
|
| <PRE>
|
| public <B>DOMBuilder</B>(<A HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</PRE>
|
| <DL>
|
| <DD>DOMBuilder instance constructor... it will add the DOM nodes |
| to the document.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doc</CODE> - Root document</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="getRootDocument()"><!-- --></A><H3>
|
| getRootDocument</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/Node.html">Node</A> <B>getRootDocument</B>()</PRE>
|
| <DL>
|
| <DD>Get the root document or DocumentFragment of the DOM being created.<DD><DL>
|
| <DT><B>Returns:</B><DD>The root document or document fragment if not null</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getRootNode()"><!-- --></A><H3>
|
| getRootNode</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/Node.html">Node</A> <B>getRootNode</B>()</PRE>
|
| <DL>
|
| <DD>Get the root node of the DOM tree.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentNode()"><!-- --></A><H3>
|
| getCurrentNode</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/Node.html">Node</A> <B>getCurrentNode</B>()</PRE>
|
| <DL>
|
| <DD>Get the node currently being processed.<DD><DL>
|
| <DT><B>Returns:</B><DD>the current node being processed</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setNextSibling(org.w3c.dom.Node)"><!-- --></A><H3>
|
| setNextSibling</H3>
|
| <PRE>
|
| public void <B>setNextSibling</B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> nextSibling)</PRE>
|
| <DL>
|
| <DD>Set the next sibling node, which is where the result nodes |
| should be inserted before.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nextSibling</CODE> - the next sibling node.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNextSibling()"><!-- --></A><H3>
|
| getNextSibling</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/Node.html">Node</A> <B>getNextSibling</B>()</PRE>
|
| <DL>
|
| <DD>Return the next sibling node.<DD><DL>
|
| <DT><B>Returns:</B><DD>the next sibling node.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getWriter()"><!-- --></A><H3>
|
| getWriter</H3>
|
| <PRE>
|
| public java.io.Writer <B>getWriter</B>()</PRE>
|
| <DL>
|
| <DD>Return null since there is no Writer for this class.<DD><DL>
|
| <DT><B>Returns:</B><DD>null</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 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>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><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 DTDHandler (except for |
| setDocumentLocator).</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#startDocument()">startDocument</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</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>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()">endDocument</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</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 ns, |
| java.lang.String localName, |
| java.lang.String name, |
| <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 |
| 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>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><DT><B>Parameters:</B><DD><CODE>ns</CODE> - The namespace of the node<DD><CODE>localName</CODE> - The local part of the qualified name<DD><CODE>name</CODE> - The element name.<DD><CODE>atts</CODE> - The attributes attached to the element, if any.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.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 ns, |
| java.lang.String localName, |
| java.lang.String name) |
| 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 |
| 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>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String, java.lang.String, java.lang.String)">endElement</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><DT><B>Parameters:</B><DD><CODE>ns</CODE> - the namespace of the element<DD><CODE>localName</CODE> - The local part of the qualified name of the element<DD><CODE>name</CODE> - The element name</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setIDAttribute(java.lang.String, org.w3c.dom.Element)"><!-- --></A><H3>
|
| setIDAttribute</H3>
|
| <PRE>
|
| public void <B>setIDAttribute</B>(java.lang.String id, |
| <A HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)</PRE>
|
| <DL>
|
| <DD>Set an ID string to node association in the ID table.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>id</CODE> - The ID string.<DD><CODE>elem</CODE> - The associated ID.</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 using the |
| ignorableWhitespace() method rather than this one (validating |
| parsers must do so).</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int, int)">characters</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><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>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.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="charactersRaw(char[], int, int)"><!-- --></A><H3>
|
| charactersRaw</H3>
|
| <PRE>
|
| public void <B>charactersRaw</B>(char[] ch, |
| int start, |
| int length) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>If available, when the disable-output-escaping attribute is used, |
| output raw text without escaping. A PI will be inserted in front |
| of the node with the name "lotusxsl-next-is-raw" and a value of |
| "formatter-to-dom".<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>ch</CODE> - Array containing the characters<DD><CODE>start</CODE> - Index to start of characters in the array<DD><CODE>length</CODE> - Number of characters in the array</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 an entity. |
| |
| The start and end of the document entity are not reported. |
| The start and end of the external DTD subset are reported |
| using the pseudo-name "[dtd]". All other events must be |
| properly nested within start/end entity events.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)">startEntity</A> in interface <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity. If it is a parameter |
| entity, the name will begin with '%'.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.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>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endEntity(java.lang.String)">endEntity</A> in interface <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity that is ending.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#startEntity(java.lang.String)"><CODE>startEntity(java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="entityReference(java.lang.String)"><!-- --></A><H3>
|
| entityReference</H3>
|
| <PRE>
|
| public void <B>entityReference</B>(java.lang.String name) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notivication of a entityReference.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - name of the entity reference</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 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>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[], int, int)">ignorableWhitespace</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><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>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.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 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>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String, java.lang.String)">processingInstruction</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><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.</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. |
| |
| This callback will be used for comments inside or outside the |
| document element, including comments in the external DTD |
| subset (if read).<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ext/LexicalHandler.html#comment(char[], int, int)">comment</A> in interface <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A><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.</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.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startCDATA()">startCDATA</A> in interface <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.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>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endCDATA()">endCDATA</A> in interface <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#startCDATA()"><CODE>startCDATA()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="cdata(char[], int, int)"><!-- --></A><H3>
|
| cdata</H3>
|
| <PRE>
|
| public void <B>cdata</B>(char[] ch, |
| int start, |
| int length) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of cdata. |
| |
| <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>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.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="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. |
| |
| Any declarations are assumed to be in the internal subset |
| unless otherwise indicated.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startDTD(java.lang.String, java.lang.String, java.lang.String)">startDTD</A> in interface <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A><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>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#endDTD()"><CODE>endDTD()</CODE></A>,
|
| <A HREF="../../../../org/apache/xml/utils/DOMBuilder.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.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endDTD()">endDTD</A> in interface <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.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="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 http://xml.org/sax/features/namespaces |
| feature is true (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 startElement event, and all endPrefixMapping |
| events will occur after the corresponding endElement event, |
| but their order is not guaranteed.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String, java.lang.String)">startPrefixMapping</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><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>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#endPrefixMapping(java.lang.String)"><CODE>endPrefixMapping(java.lang.String)</CODE></A>,
|
| <A HREF="../../../../org/apache/xml/utils/DOMBuilder.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 startPrefixMapping for details. This event will |
| always occur after the corresponding endElement event, |
| but the order of endPrefixMapping events is not otherwise |
| guaranteed.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix that was being mapping.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/utils/DOMBuilder.html#startPrefixMapping(java.lang.String, java.lang.String)"><CODE>startPrefixMapping(java.lang.String, java.lang.String)</CODE></A>,
|
| <A HREF="../../../../org/apache/xml/utils/DOMBuilder.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="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 |
| http://xml.org/sax/features/external-general-entities and the |
| http://xml.org/sax/features/external-parameter-entities |
| properties.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)">skippedEntity</A> in interface <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A><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 '%'.</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="class-use/DOMBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../../org/apache/xml/utils/DOM2Helper.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xml/utils/DOMHelper.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="DOMBuilder.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>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|