blob: 10d4313df0a019de5ab9f84541230ffd5959b79f [file] [log] [blame]
<!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 SAX2RTFDTM
</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SAX2RTFDTM.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM2.TypedSingletonIterator.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="SAX2RTFDTM.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: &nbsp;<A HREF="#inner_classes_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBaseIterators">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBase">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.dtm.ref.sax2dtm</FONT>
<BR>
Class SAX2RTFDTM</H2>
<PRE>
java.lang.Object
|
+--<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">org.apache.xml.dtm.ref.DTMDefaultBase</A>
|
+--<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.html">org.apache.xml.dtm.ref.DTMDefaultBaseTraversers</A>
|
+--<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.html">org.apache.xml.dtm.ref.DTMDefaultBaseIterators</A>
|
+--<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html">org.apache.xml.dtm.ref.sax2dtm.SAX2DTM</A>
|
+--<B>org.apache.xml.dtm.ref.sax2dtm.SAX2RTFDTM</B>
</PRE>
<HR>
<DL>
<DT>public class <B>SAX2RTFDTM</B><DT>extends <A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html">SAX2DTM</A></DL>
<P>
This is a subclass of SAX2DTM which has been modified to meet the needs of
Result Tree Frameworks (RTFs). The differences are:
1) Multiple XML trees may be appended to the single DTM. This means
that the root node of each document is _not_ node 0. Some code has
had to be deoptimized to support this mode of operation, and an
explicit mechanism for obtaining the Node Handle of the root node
has been provided.
2) A stack of these documents is maintained, allowing us to "tail-prune" the
most recently added trees off the end of the DTM as stylesheet elements
(and thus variable contexts) are exited.
PLEASE NOTE that this class may be _heavily_ dependent upon the
internals of the SAX2DTM superclass, and must be maintained in
parallel with that code. Arguably, they should be conditionals
within a single class... but they have deen separated for
performance reasons. (In fact, one could even argue about which is
the superclass and which is the subclass; the current arrangement
is as much about preserving stability of existing code during
development as anything else.)
%REVIEW% In fact, since the differences are so minor, I think it
may be possible/practical to fold them back into the base
SAX2DTM. Consider that as a future code-size optimization.
<P>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<A NAME="inner_classes_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBaseIterators"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Inner classes inherited from class org.apache.xml.dtm.ref.<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.html">DTMDefaultBaseIterators</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.AncestorIterator.html">DTMDefaultBaseIterators.AncestorIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.AttributeIterator.html">DTMDefaultBaseIterators.AttributeIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.ChildrenIterator.html">DTMDefaultBaseIterators.ChildrenIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.DescendantIterator.html">DTMDefaultBaseIterators.DescendantIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.FollowingIterator.html">DTMDefaultBaseIterators.FollowingIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.FollowingSiblingIterator.html">DTMDefaultBaseIterators.FollowingSiblingIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.InternalAxisIteratorBase.html">DTMDefaultBaseIterators.InternalAxisIteratorBase</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.NamespaceAttributeIterator.html">DTMDefaultBaseIterators.NamespaceAttributeIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.NamespaceChildrenIterator.html">DTMDefaultBaseIterators.NamespaceChildrenIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.NamespaceIterator.html">DTMDefaultBaseIterators.NamespaceIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.NthDescendantIterator.html">DTMDefaultBaseIterators.NthDescendantIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.ParentIterator.html">DTMDefaultBaseIterators.ParentIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.PrecedingIterator.html">DTMDefaultBaseIterators.PrecedingIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.PrecedingSiblingIterator.html">DTMDefaultBaseIterators.PrecedingSiblingIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.RootIterator.html">DTMDefaultBaseIterators.RootIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.SingletonIterator.html">DTMDefaultBaseIterators.SingletonIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedAncestorIterator.html">DTMDefaultBaseIterators.TypedAncestorIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedAttributeIterator.html">DTMDefaultBaseIterators.TypedAttributeIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedChildrenIterator.html">DTMDefaultBaseIterators.TypedChildrenIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedDescendantIterator.html">DTMDefaultBaseIterators.TypedDescendantIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedFollowingIterator.html">DTMDefaultBaseIterators.TypedFollowingIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedFollowingSiblingIterator.html">DTMDefaultBaseIterators.TypedFollowingSiblingIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedNamespaceIterator.html">DTMDefaultBaseIterators.TypedNamespaceIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedPrecedingIterator.html">DTMDefaultBaseIterators.TypedPrecedingIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedPrecedingSiblingIterator.html">DTMDefaultBaseIterators.TypedPrecedingSiblingIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedRootIterator.html">DTMDefaultBaseIterators.TypedRootIterator</A></B>,
<B><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.TypedSingletonIterator.html">DTMDefaultBaseIterators.TypedSingletonIterator</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="fields_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBase"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.xml.dtm.ref.<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#DEFAULT_BLOCKSIZE">DEFAULT_BLOCKSIZE</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#DEFAULT_NUMBLOCKS">DEFAULT_NUMBLOCKS</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#DEFAULT_NUMBLOCKS_SMALL">DEFAULT_NUMBLOCKS_SMALL</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_mgr">m_mgr</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#ROOTNODE">ROOTNODE</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== 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/dtm/ref/sax2dtm/SAX2RTFDTM.html#SAX2RTFDTM(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean)">SAX2RTFDTM</A></B>(<A HREF="../../../../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A>&nbsp;mgr,
<A HREF="../../../../../../javax/xml/transform/Source.html">Source</A>&nbsp;source,
int&nbsp;dtmIdentity,
<A HREF="../../../../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A>&nbsp;whiteSpaceFilter,
<A HREF="../../../../../../org/apache/xml/utils/XMLStringFactory.html">XMLStringFactory</A>&nbsp;xstringfactory,
boolean&nbsp;doIndexing)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2RTFDTM.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Receive notification of the end of the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2RTFDTM.html#getDocument()">getDocument</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given a DTM, find the owning document node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2RTFDTM.html#getDocumentRoot(int)">getDocumentRoot</A></B>(int&nbsp;nodeHandle)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given a node handle, find the owning document node, using DTM semantics
(Document owns itself) rather than DOM semantics (Document has no owner).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2RTFDTM.html#isTreeIncomplete()">isTreeIncomplete</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2RTFDTM.html#popRewindMark()">popRewindMark</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Tail-pruning" support for RTFs.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2RTFDTM.html#pushRewindMark()">pushRewindMark</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Tail-pruning" support for RTFs.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2RTFDTM.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Receive notification of the beginning of a new RTF document.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.xml.dtm.ref.sax2dtm.SAX2DTM"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.dtm.ref.sax2dtm.<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html">SAX2DTM</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">attributeDecl</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#characters(char[], int, int)">characters</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#clearCoRoutine()">clearCoRoutine</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#clearCoRoutine(boolean)">clearCoRoutine</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#comment(char[], int, int)">comment</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#dispatchCharactersEvents(int, org.xml.sax.ContentHandler, boolean)">dispatchCharactersEvents</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#dispatchToEvents(int, org.xml.sax.ContentHandler)">dispatchToEvents</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#elementDecl(java.lang.String, java.lang.String)">elementDecl</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#endCDATA()">endCDATA</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#endDTD()">endDTD</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#endElement(java.lang.String, java.lang.String, java.lang.String)">endElement</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#endEntity(java.lang.String)">endEntity</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#error(org.xml.sax.SAXParseException)">error</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)">externalEntityDecl</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getAttributeNode(int, java.lang.String, java.lang.String)">getAttributeNode</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getContentHandler()">getContentHandler</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getDeclHandler()">getDeclHandler</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getDocumentTypeDeclarationPublicIdentifier()">getDocumentTypeDeclarationPublicIdentifier</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getDocumentTypeDeclarationSystemIdentifier()">getDocumentTypeDeclarationSystemIdentifier</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getDTDHandler()">getDTDHandler</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getElementById(java.lang.String)">getElementById</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getEntityResolver()">getEntityResolver</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getErrorHandler()">getErrorHandler</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getFixedNames(int)">getFixedNames</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getIdForNamespace(java.lang.String)">getIdForNamespace</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getLexicalHandler()">getLexicalHandler</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getLocalName(int)">getLocalName</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNamespaceURI(int)">getNamespaceURI</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNamespaceURI(java.lang.String)">getNamespaceURI</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNodeName(int)">getNodeName</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNodeNameX(int)">getNodeNameX</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNodeValue(int)">getNodeValue</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNumberOfNodes()">getNumberOfNodes</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getPrefix(int)">getPrefix</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getPrefix(java.lang.String, java.lang.String)">getPrefix</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getSourceLocatorFor(int)">getSourceLocatorFor</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getStringValue(int)">getStringValue</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getUnparsedEntityURI(java.lang.String)">getUnparsedEntityURI</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#ignorableWhitespace(char[], int, int)">ignorableWhitespace</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#internalEntityDecl(java.lang.String, java.lang.String)">internalEntityDecl</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#isAttributeSpecified(int)">isAttributeSpecified</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#isWhitespace(int)">isWhitespace</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#migrateTo(org.apache.xml.dtm.DTMManager)">migrateTo</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#needsTwoThreads()">needsTwoThreads</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#notationDecl(java.lang.String, java.lang.String, java.lang.String)">notationDecl</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#processingInstruction(java.lang.String, java.lang.String)">processingInstruction</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#resolveEntity(java.lang.String, java.lang.String)">resolveEntity</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#setIDAttribute(java.lang.String, int)">setIDAttribute</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#setIncrementalSAXSource(org.apache.xml.dtm.ref.IncrementalSAXSource)">setIncrementalSAXSource</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#setUseSourceLocation(boolean)">setUseSourceLocation</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#skippedEntity(java.lang.String)">skippedEntity</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startCDATA()">startCDATA</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startDTD(java.lang.String, java.lang.String, java.lang.String)">startDTD</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startEntity(java.lang.String)">startEntity</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startPrefixMapping(java.lang.String, java.lang.String)">startPrefixMapping</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">unparsedEntityDecl</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#warning(org.xml.sax.SAXParseException)">warning</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBaseIterators"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.dtm.ref.<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.html">DTMDefaultBaseIterators</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.html#getAxisIterator(int)">getAxisIterator</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.html#getTypedAxisIterator(int, int)">getTypedAxisIterator</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBaseTraversers"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.dtm.ref.<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.html">DTMDefaultBaseTraversers</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.html#getAxisTraverser(int)">getAxisTraverser</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBase"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.dtm.ref.<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#appendChild(int, boolean, boolean)">appendChild</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#appendTextChild(java.lang.String)">appendTextChild</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#documentRegistration()">documentRegistration</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#documentRelease()">documentRelease</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#dumpDTM(java.io.OutputStream)">dumpDTM</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#dumpNode(int)">dumpNode</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentAllDeclarationsProcessed()">getDocumentAllDeclarationsProcessed</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentBaseURI()">getDocumentBaseURI</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentEncoding(int)">getDocumentEncoding</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentStandalone(int)">getDocumentStandalone</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentSystemIdentifier(int)">getDocumentSystemIdentifier</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentVersion(int)">getDocumentVersion</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDTMIDs()">getDTMIDs</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getExpandedTypeID(int)">getExpandedTypeID</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getExpandedTypeID(java.lang.String, java.lang.String, int)">getExpandedTypeID</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getFirstAttribute(int)">getFirstAttribute</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getFirstChild(int)">getFirstChild</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getFirstNamespaceNode(int, boolean)">getFirstNamespaceNode</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getLastChild(int)">getLastChild</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getLevel(int)">getLevel</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getLocalNameFromExpandedNameID(int)">getLocalNameFromExpandedNameID</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getManager()">getManager</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNamespaceFromExpandedNameID(int)">getNamespaceFromExpandedNameID</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNamespaceType(int)">getNamespaceType</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNextAttribute(int)">getNextAttribute</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNextNamespaceNode(int, int, boolean)">getNextNamespaceNode</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNextSibling(int)">getNextSibling</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNode(int)">getNode</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNodeHandle(int)">getNodeHandle</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNodeIdent(int)">getNodeIdent</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNodeType(int)">getNodeType</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getOwnerDocument(int)">getOwnerDocument</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getParent(int)">getParent</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getPreviousSibling(int)">getPreviousSibling</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getStringValueChunk(int, int, int[])">getStringValueChunk</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getStringValueChunkCount(int)">getStringValueChunkCount</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getTypedFirstChild(int, int)">getTypedFirstChild</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getTypedNextSibling(int, int)">getTypedNextSibling</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#hasChildNodes(int)">hasChildNodes</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#isCharacterElementContentWhitespace(int)">isCharacterElementContentWhitespace</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#isDocumentAllDeclarationsProcessed(int)">isDocumentAllDeclarationsProcessed</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#isNodeAfter(int, int)">isNodeAfter</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#isSupported(java.lang.String, java.lang.String)">isSupported</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#makeNodeHandle(int)">makeNodeHandle</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#makeNodeIdentity(int)">makeNodeIdentity</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#setDocumentBaseURI(java.lang.String)">setDocumentBaseURI</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#setFeature(java.lang.String, boolean)">setFeature</A>,
<A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#supportsPreStripping()">supportsPreStripping</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SAX2RTFDTM(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean)"><!-- --></A><H3>
SAX2RTFDTM</H3>
<PRE>
public <B>SAX2RTFDTM</B>(<A HREF="../../../../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A>&nbsp;mgr,
<A HREF="../../../../../../javax/xml/transform/Source.html">Source</A>&nbsp;source,
int&nbsp;dtmIdentity,
<A HREF="../../../../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A>&nbsp;whiteSpaceFilter,
<A HREF="../../../../../../org/apache/xml/utils/XMLStringFactory.html">XMLStringFactory</A>&nbsp;xstringfactory,
boolean&nbsp;doIndexing)</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="getDocument()"><!-- --></A><H3>
getDocument</H3>
<PRE>
public int <B>getDocument</B>()</PRE>
<DL>
<DD>Given a DTM, find the owning document node. In the case of
SAX2RTFDTM, which may contain multiple documents, this returns
the <b>most recently started</b> document, or null if the DTM is
empty or no document is currently under construction.
%REVIEW% Should we continue to report the most recent after
construction has ended? I think not, given that it may have been
tail-pruned.<DD><DL>
<DT><B>Returns:</B><DD>int Node handle of Document node, or null if this DTM does not
contain an "active" document.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocument()">getDocument</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
</DD>
</DL>
<HR>
<A NAME="getDocumentRoot(int)"><!-- --></A><H3>
getDocumentRoot</H3>
<PRE>
public int <B>getDocumentRoot</B>(int&nbsp;nodeHandle)</PRE>
<DL>
<DD>Given a node handle, find the owning document node, using DTM semantics
(Document owns itself) rather than DOM semantics (Document has no owner).
(I'm counting on the fact that getOwnerDocument() is implemented on top
of this call, in the superclass, to avoid having to rewrite that one.
Be careful if that code changes!)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node.<DT><B>Returns:</B><DD>int Node handle of owning document<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentRoot(int)">getDocumentRoot</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</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 new RTF document.
%REVIEW% Y'know, this isn't all that much of a deoptimization. We
might want to consider folding the start/endDocument changes back
into the main SAX2DTM so we don't have to expose so many fields
(even as Protected) and carry the additional code.<DD><DL>
<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly
wrapping another exception.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startDocument()">startDocument</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html">SAX2DTM</A><DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#startDocument()"><CODE>ContentHandler.startDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Receive notification of the end of the document.
%REVIEW% Y'know, this isn't all that much of a deoptimization. We
might want to consider folding the start/endDocument changes back
into the main SAX2DTM so we don't have to expose so many fields
(even as Protected).<DD><DL>
<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly
wrapping another exception.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#endDocument()">endDocument</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html">SAX2DTM</A><DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#endDocument()"><CODE>ContentHandler.endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="pushRewindMark()"><!-- --></A><H3>
pushRewindMark</H3>
<PRE>
public void <B>pushRewindMark</B>()</PRE>
<DL>
<DD>"Tail-pruning" support for RTFs.
This function pushes information about the current size of the
DTM's data structures onto a stack, for use by popRewindMark()
(which see).
%REVIEW% I have no idea how to rewind m_elemIndexes. However,
RTFs will not be indexed, so I can simply panic if that case
arises. Hey, it works...</DL>
<HR>
<A NAME="popRewindMark()"><!-- --></A><H3>
popRewindMark</H3>
<PRE>
public boolean <B>popRewindMark</B>()</PRE>
<DL>
<DD>"Tail-pruning" support for RTFs.
This function pops the information previously saved by
pushRewindMark (which see) and uses it to discard all nodes added
to the DTM after that time. We expect that this will allow us to
reuse storage more effectively.
This is _not_ intended to be called while a document is still being
constructed -- only between endDocument and the next startDocument
%REVIEW% WARNING: This is the first use of some of the truncation
methods. If Xalan blows up after this is called, that's a likely
place to check.
%REVIEW% Our original design for DTMs permitted them to share
string pools. If there any risk that this might be happening, we
can _not_ rewind and recover the string storage. One solution
might to assert that DTMs used for RTFs Must Not take advantage
of that feature, but this seems excessively fragile. Another, much
less attractive, would be to just let them leak... Nah.<DD><DL>
<DT><B>Returns:</B><DD>true if and only if the pop completely emptied the
RTF. That response is used when determining how to unspool
RTF-started-while-RTF-open situations.</DL>
</DD>
</DL>
<HR>
<A NAME="isTreeIncomplete()"><!-- --></A><H3>
isTreeIncomplete</H3>
<PRE>
public boolean <B>isTreeIncomplete</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>true if a DTM tree is currently under construction.</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SAX2RTFDTM.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM2.TypedSingletonIterator.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="SAX2RTFDTM.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: &nbsp;<A HREF="#inner_classes_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBaseIterators">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBase">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright © 2006 Apache XML Project. All Rights Reserved.
</BODY>
</HTML>