| <!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 SAX2DTM
|
| </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/SAX2DTM.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">
|
| PREV CLASS
|
| <A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM2.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="SAX2DTM.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: <A HREF="#inner_classes_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBaseIterators">INNER</A> | <A HREF="#fields_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBase">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.apache.xml.dtm.ref.sax2dtm</FONT>
|
| <BR>
|
| Class SAX2DTM</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>
|
| |
|
| +--<B>org.apache.xml.dtm.ref.sax2dtm.SAX2DTM</B>
|
| </PRE>
|
| <DL>
|
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM2.html">SAX2DTM2</A>, <A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2RTFDTM.html">SAX2RTFDTM</A></DD>
|
| </DL>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>SAX2DTM</B><DT>extends <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.html">DTMDefaultBaseIterators</A><DT>implements <A HREF="../../../../../../org/xml/sax/EntityResolver.html">EntityResolver</A>, <A HREF="../../../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A HREF="../../../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A HREF="../../../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A>, <A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A>, <A HREF="../../../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></DL>
|
|
|
| <P>
|
| This class implements a DTM that tends to be optimized more for speed than |
| for compactness, that is constructed via SAX2 ContentHandler events.
|
| <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>
|
|
|
| <!-- =========== 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>
|
|
|
| <!-- ======== 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/SAX2DTM.html#SAX2DTM(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean)">SAX2DTM</A></B>(<A HREF="../../../../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A> mgr, |
| <A HREF="../../../../../../javax/xml/transform/Source.html">Source</A> source, |
| int dtmIdentity, |
| <A HREF="../../../../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A> whiteSpaceFilter, |
| <A HREF="../../../../../../org/apache/xml/utils/XMLStringFactory.html">XMLStringFactory</A> xstringfactory, |
| boolean doIndexing)</CODE>
|
|
|
| <BR>
|
| Construct a SAX2DTM object using the default block size.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#SAX2DTM(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean, int, boolean, boolean)">SAX2DTM</A></B>(<A HREF="../../../../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A> mgr, |
| <A HREF="../../../../../../javax/xml/transform/Source.html">Source</A> source, |
| int dtmIdentity, |
| <A HREF="../../../../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A> whiteSpaceFilter, |
| <A HREF="../../../../../../org/apache/xml/utils/XMLStringFactory.html">XMLStringFactory</A> xstringfactory, |
| boolean doIndexing, |
| int blocksize, |
| boolean usePrevsib, |
| boolean newNameTable)</CODE>
|
|
|
| <BR>
|
| Construct a SAX2DTM object ready to be constructed from SAX2 |
| ContentHandler events.</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/dtm/ref/sax2dtm/SAX2DTM.html#attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">attributeDecl</A></B>(java.lang.String eName, |
| java.lang.String aName, |
| java.lang.String type, |
| java.lang.String valueDefault, |
| java.lang.String value)</CODE>
|
|
|
| <BR>
|
| Report an attribute type declaration.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#characters(char[], int, int)">characters</A></B>(char[] ch, |
| int start, |
| int length)</CODE>
|
|
|
| <BR>
|
| Receive notification of character data inside an element.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#clearCoRoutine()">clearCoRoutine</A></B>()</CODE>
|
|
|
| <BR>
|
| Ask the CoRoutine parser to doTerminate and clear the reference.</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/dtm/ref/sax2dtm/SAX2DTM.html#clearCoRoutine(boolean)">clearCoRoutine</A></B>(boolean callDoTerminate)</CODE>
|
|
|
| <BR>
|
| Ask the CoRoutine parser to doTerminate and clear the reference.</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/dtm/ref/sax2dtm/SAX2DTM.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/dtm/ref/sax2dtm/SAX2DTM.html#dispatchCharactersEvents(int, org.xml.sax.ContentHandler, boolean)">dispatchCharactersEvents</A></B>(int nodeHandle, |
| <A HREF="../../../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> ch, |
| boolean normalize)</CODE>
|
|
|
| <BR>
|
| Directly call the |
| characters method on the passed ContentHandler for the |
| string-value of the given node (see http://www.w3.org/TR/xpath#data-model |
| for the definition of a node's string-value).</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/dtm/ref/sax2dtm/SAX2DTM.html#dispatchToEvents(int, org.xml.sax.ContentHandler)">dispatchToEvents</A></B>(int nodeHandle, |
| <A HREF="../../../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> ch)</CODE>
|
|
|
| <BR>
|
| Directly create SAX parser events from a subtree.</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/dtm/ref/sax2dtm/SAX2DTM.html#elementDecl(java.lang.String, java.lang.String)">elementDecl</A></B>(java.lang.String name, |
| java.lang.String model)</CODE>
|
|
|
| <BR>
|
| Report an element type declaration.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.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/dtm/ref/sax2dtm/SAX2DTM.html#endDocument()">endDocument</A></B>()</CODE>
|
|
|
| <BR>
|
| Receive notification of the end of the document.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.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/dtm/ref/sax2dtm/SAX2DTM.html#endElement(java.lang.String, java.lang.String, java.lang.String)">endElement</A></B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String qName)</CODE>
|
|
|
| <BR>
|
| Receive notification of the end of an element.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.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/dtm/ref/sax2dtm/SAX2DTM.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></B>(java.lang.String prefix)</CODE>
|
|
|
| <BR>
|
| Receive notification of the end of a Namespace mapping.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#error(org.xml.sax.SAXParseException)">error</A></B>(<A HREF="../../../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
|
|
|
| <BR>
|
| Receive notification of a recoverable parser error.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)">externalEntityDecl</A></B>(java.lang.String name, |
| java.lang.String publicId, |
| java.lang.String systemId)</CODE>
|
|
|
| <BR>
|
| Report a parsed external entity declaration.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></B>(<A HREF="../../../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
|
|
|
| <BR>
|
| Report a fatal XML parsing error.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getAttributeNode(int, java.lang.String, java.lang.String)">getAttributeNode</A></B>(int nodeHandle, |
| java.lang.String namespaceURI, |
| java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Retrieves an attribute node by by qualified name and namespace URI.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getContentHandler()">getContentHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| getContentHandler returns "our SAX builder" -- the thing that |
| someone else should send SAX events to in order to extend this |
| DTM model.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getDeclHandler()">getDeclHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Return this DTM's DeclHandler.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getDocumentTypeDeclarationPublicIdentifier()">getDocumentTypeDeclarationPublicIdentifier</A></B>()</CODE>
|
|
|
| <BR>
|
| Return the public identifier of the external subset, |
| normalized as described in 4.2.2 External Entities [XML].</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getDocumentTypeDeclarationSystemIdentifier()">getDocumentTypeDeclarationSystemIdentifier</A></B>()</CODE>
|
|
|
| <BR>
|
| A document type declaration information item has the following properties: |
| |
| 1.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getDTDHandler()">getDTDHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Return this DTM's DTDHandler.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getElementById(java.lang.String)">getElementById</A></B>(java.lang.String elementId)</CODE>
|
|
|
| <BR>
|
| Returns the <code>Element</code> whose <code>ID</code> is given by |
| <code>elementId</code>.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../org/xml/sax/EntityResolver.html">EntityResolver</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getEntityResolver()">getEntityResolver</A></B>()</CODE>
|
|
|
| <BR>
|
| Return this DTM's EntityResolver.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getErrorHandler()">getErrorHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Return this DTM's ErrorHandler.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getFixedNames(int)">getFixedNames</A></B>(int type)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getIdForNamespace(java.lang.String)">getIdForNamespace</A></B>(java.lang.String uri)</CODE>
|
|
|
| <BR>
|
| Get a prefix either from the uri mapping, or just make |
| one up!</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getLexicalHandler()">getLexicalHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Return this DTM's lexical handler.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getLocalName(int)">getLocalName</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Given a node handle, return its XPath-style localname.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNamespaceURI(int)">getNamespaceURI</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Given a node handle, return its DOM-style namespace URI |
| (As defined in Namespaces, this is the declared URI which this node's |
| prefix -- or default in lieu thereof -- was mapped to.) |
| |
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNamespaceURI(java.lang.String)">getNamespaceURI</A></B>(java.lang.String prefix)</CODE>
|
|
|
| <BR>
|
| Get a prefix either from the qname or from the uri mapping, or just make |
| one up!</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNodeName(int)">getNodeName</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Given a node handle, return its DOM-style node name.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNodeNameX(int)">getNodeNameX</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Given a node handle, return the XPath node name.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNodeValue(int)">getNodeValue</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Given a node handle, return its node value.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getNumberOfNodes()">getNumberOfNodes</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the number of nodes that have been added.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getPrefix(int)">getPrefix</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Given a namespace handle, return the prefix that the namespace decl is |
| mapping.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getPrefix(java.lang.String, java.lang.String)">getPrefix</A></B>(java.lang.String qname, |
| java.lang.String uri)</CODE>
|
|
|
| <BR>
|
| Get a prefix either from the qname or from the uri mapping, or just make |
| one up!</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../javax/xml/transform/SourceLocator.html">SourceLocator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getSourceLocatorFor(int)">getSourceLocatorFor</A></B>(int node)</CODE>
|
|
|
| <BR>
|
| Retrieve the SourceLocator associated with a specific node.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../org/apache/xml/utils/XMLString.html">XMLString</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getStringValue(int)">getStringValue</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Get the string-value of a node as a String object |
| (see http://www.w3.org/TR/xpath#data-model |
| for the definition of a node's string-value).</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#getUnparsedEntityURI(java.lang.String)">getUnparsedEntityURI</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| The getUnparsedEntityURI function returns the URI of the unparsed |
| entity with the specified name in the same document as the context |
| node (see [3.3 Unparsed Entities]).</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/dtm/ref/sax2dtm/SAX2DTM.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/dtm/ref/sax2dtm/SAX2DTM.html#internalEntityDecl(java.lang.String, java.lang.String)">internalEntityDecl</A></B>(java.lang.String name, |
| java.lang.String value)</CODE>
|
|
|
| <BR>
|
| Report an internal entity declaration.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#isAttributeSpecified(int)">isAttributeSpecified</A></B>(int attributeHandle)</CODE>
|
|
|
| <BR>
|
| 5.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#isWhitespace(int)">isWhitespace</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Determine if the string-value of a node is whitespace</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/dtm/ref/sax2dtm/SAX2DTM.html#migrateTo(org.apache.xml.dtm.DTMManager)">migrateTo</A></B>(<A HREF="../../../../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A> manager)</CODE>
|
|
|
| <BR>
|
| Migrate a DTM built with an old DTMManager to a new DTMManager.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#needsTwoThreads()">needsTwoThreads</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#notationDecl(java.lang.String, java.lang.String, java.lang.String)">notationDecl</A></B>(java.lang.String name, |
| java.lang.String publicId, |
| java.lang.String systemId)</CODE>
|
|
|
| <BR>
|
| Receive notification of a notation declaration.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#processingInstruction(java.lang.String, java.lang.String)">processingInstruction</A></B>(java.lang.String target, |
| java.lang.String data)</CODE>
|
|
|
| <BR>
|
| Receive notification of a processing instruction.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../../org/xml/sax/InputSource.html">InputSource</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#resolveEntity(java.lang.String, java.lang.String)">resolveEntity</A></B>(java.lang.String publicId, |
| java.lang.String systemId)</CODE>
|
|
|
| <BR>
|
| Resolve an external entity.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A HREF="../../../../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
|
|
|
| <BR>
|
| Receive a Locator object for document events.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#setIDAttribute(java.lang.String, int)">setIDAttribute</A></B>(java.lang.String id, |
| int 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/dtm/ref/sax2dtm/SAX2DTM.html#setIncrementalSAXSource(org.apache.xml.dtm.ref.IncrementalSAXSource)">setIncrementalSAXSource</A></B>(<A HREF="../../../../../../org/apache/xml/dtm/ref/IncrementalSAXSource.html">IncrementalSAXSource</A> incrementalSAXSource)</CODE>
|
|
|
| <BR>
|
| Bind a IncrementalSAXSource to this DTM.</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/dtm/ref/sax2dtm/SAX2DTM.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></B>(java.lang.String property, |
| java.lang.Object value)</CODE>
|
|
|
| <BR>
|
| Set a run time property for this DTM instance.</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/dtm/ref/sax2dtm/SAX2DTM.html#setUseSourceLocation(boolean)">setUseSourceLocation</A></B>(boolean useSourceLocation)</CODE>
|
|
|
| <BR>
|
| Set whether information about document source location |
| should be maintained or not.</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/dtm/ref/sax2dtm/SAX2DTM.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/dtm/ref/sax2dtm/SAX2DTM.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/dtm/ref/sax2dtm/SAX2DTM.html#startDocument()">startDocument</A></B>()</CODE>
|
|
|
| <BR>
|
| Receive notification of the beginning of the document.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.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/dtm/ref/sax2dtm/SAX2DTM.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</A></B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String qName, |
| <A HREF="../../../../../../org/xml/sax/Attributes.html">Attributes</A> attributes)</CODE>
|
|
|
| <BR>
|
| Receive notification of the start of an element.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startEntity(java.lang.String)">startEntity</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Report the beginning of an entity in 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/dtm/ref/sax2dtm/SAX2DTM.html#startPrefixMapping(java.lang.String, java.lang.String)">startPrefixMapping</A></B>(java.lang.String prefix, |
| java.lang.String uri)</CODE>
|
|
|
| <BR>
|
| Receive notification of the start of a Namespace mapping.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">unparsedEntityDecl</A></B>(java.lang.String name, |
| java.lang.String publicId, |
| java.lang.String systemId, |
| java.lang.String notationName)</CODE>
|
|
|
| <BR>
|
| Receive notification of an unparsed entity declaration.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#warning(org.xml.sax.SAXParseException)">warning</A></B>(<A HREF="../../../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e)</CODE>
|
|
|
| <BR>
|
| Receive notification of a parser warning.</TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_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>
|
| <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>
|
| <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#getDocument()">getDocument</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#getDocumentRoot(int)">getDocumentRoot</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>
|
| <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 =========== -->
|
|
|
|
|
| <!-- ========= 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="SAX2DTM(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean)"><!-- --></A><H3>
|
| SAX2DTM</H3>
|
| <PRE>
|
| public <B>SAX2DTM</B>(<A HREF="../../../../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A> mgr, |
| <A HREF="../../../../../../javax/xml/transform/Source.html">Source</A> source, |
| int dtmIdentity, |
| <A HREF="../../../../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A> whiteSpaceFilter, |
| <A HREF="../../../../../../org/apache/xml/utils/XMLStringFactory.html">XMLStringFactory</A> xstringfactory, |
| boolean doIndexing)</PRE>
|
| <DL>
|
| <DD>Construct a SAX2DTM object using the default block size.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>mgr</CODE> - The DTMManager who owns this DTM.<DD><CODE>source</CODE> - the JAXP 1.1 Source object for this DTM.<DD><CODE>dtmIdentity</CODE> - The DTM identity ID for this DTM.<DD><CODE>whiteSpaceFilter</CODE> - The white space filter for this DTM, which may |
| be null.<DD><CODE>xstringfactory</CODE> - XMLString factory for creating character content.<DD><CODE>doIndexing</CODE> - true if the caller considers it worth it to use |
| indexing schemes.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="SAX2DTM(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean, int, boolean, boolean)"><!-- --></A><H3>
|
| SAX2DTM</H3>
|
| <PRE>
|
| public <B>SAX2DTM</B>(<A HREF="../../../../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A> mgr, |
| <A HREF="../../../../../../javax/xml/transform/Source.html">Source</A> source, |
| int dtmIdentity, |
| <A HREF="../../../../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A> whiteSpaceFilter, |
| <A HREF="../../../../../../org/apache/xml/utils/XMLStringFactory.html">XMLStringFactory</A> xstringfactory, |
| boolean doIndexing, |
| int blocksize, |
| boolean usePrevsib, |
| boolean newNameTable)</PRE>
|
| <DL>
|
| <DD>Construct a SAX2DTM object ready to be constructed from SAX2 |
| ContentHandler events.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>mgr</CODE> - The DTMManager who owns this DTM.<DD><CODE>source</CODE> - the JAXP 1.1 Source object for this DTM.<DD><CODE>dtmIdentity</CODE> - The DTM identity ID for this DTM.<DD><CODE>whiteSpaceFilter</CODE> - The white space filter for this DTM, which may |
| be null.<DD><CODE>xstringfactory</CODE> - XMLString factory for creating character content.<DD><CODE>doIndexing</CODE> - true if the caller considers it worth it to use |
| indexing schemes.<DD><CODE>blocksize</CODE> - The block size of the DTM.<DD><CODE>usePrevsib</CODE> - true if we want to build the previous sibling node array.<DD><CODE>newNameTable</CODE> - true if we want to use a new ExpandedNameTable for this DTM.</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="setUseSourceLocation(boolean)"><!-- --></A><H3>
|
| setUseSourceLocation</H3>
|
| <PRE>
|
| public void <B>setUseSourceLocation</B>(boolean useSourceLocation)</PRE>
|
| <DL>
|
| <DD>Set whether information about document source location |
| should be maintained or not.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="clearCoRoutine()"><!-- --></A><H3>
|
| clearCoRoutine</H3>
|
| <PRE>
|
| public void <B>clearCoRoutine</B>()</PRE>
|
| <DL>
|
| <DD>Ask the CoRoutine parser to doTerminate and clear the reference.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="clearCoRoutine(boolean)"><!-- --></A><H3>
|
| clearCoRoutine</H3>
|
| <PRE>
|
| public void <B>clearCoRoutine</B>(boolean callDoTerminate)</PRE>
|
| <DL>
|
| <DD>Ask the CoRoutine parser to doTerminate and clear the reference. If |
| the CoRoutine parser has already been cleared, this will have no effect.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>callDoTerminate</CODE> - true of doTerminate should be called on the |
| coRoutine parser.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setIncrementalSAXSource(org.apache.xml.dtm.ref.IncrementalSAXSource)"><!-- --></A><H3>
|
| setIncrementalSAXSource</H3>
|
| <PRE>
|
| public void <B>setIncrementalSAXSource</B>(<A HREF="../../../../../../org/apache/xml/dtm/ref/IncrementalSAXSource.html">IncrementalSAXSource</A> incrementalSAXSource)</PRE>
|
| <DL>
|
| <DD>Bind a IncrementalSAXSource to this DTM. If we discover we need nodes |
| that have not yet been built, we will ask this object to send us more |
| events, and it will manage interactions with its data sources. |
| |
| Note that we do not actually build the IncrementalSAXSource, since we don't |
| know what source it's reading from, what thread that source will run in, |
| or when it will run.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>incrementalSAXSource</CODE> - The parser that we want to recieve events from |
| on demand.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getContentHandler()"><!-- --></A><H3>
|
| getContentHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> <B>getContentHandler</B>()</PRE>
|
| <DL>
|
| <DD>getContentHandler returns "our SAX builder" -- the thing that |
| someone else should send SAX events to in order to extend this |
| DTM model. |
| |
| %REVIEW% Should this return null if constrution already done/begun?<DD><DL>
|
| <DT><B>Returns:</B><DD>null if this model doesn't respond to SAX events, |
| "this" if the DTM object has a built-in SAX ContentHandler, |
| the IncrementalSAXSource if we're bound to one and should receive |
| the SAX stream via it for incremental build purposes...</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getLexicalHandler()"><!-- --></A><H3>
|
| getLexicalHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A> <B>getLexicalHandler</B>()</PRE>
|
| <DL>
|
| <DD>Return this DTM's lexical handler. |
| |
| %REVIEW% Should this return null if constrution already done/begun?<DD><DL>
|
| <DT><B>Returns:</B><DD>null if this model doesn't respond to lexical SAX events, |
| "this" if the DTM object has a built-in SAX ContentHandler, |
| the IncrementalSAXSource if we're bound to one and should receive |
| the SAX stream via it for incremental build purposes...</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getEntityResolver()"><!-- --></A><H3>
|
| getEntityResolver</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../org/xml/sax/EntityResolver.html">EntityResolver</A> <B>getEntityResolver</B>()</PRE>
|
| <DL>
|
| <DD>Return this DTM's EntityResolver.<DD><DL>
|
| <DT><B>Returns:</B><DD>null if this model doesn't respond to SAX entity ref events.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDTDHandler()"><!-- --></A><H3>
|
| getDTDHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../org/xml/sax/DTDHandler.html">DTDHandler</A> <B>getDTDHandler</B>()</PRE>
|
| <DL>
|
| <DD>Return this DTM's DTDHandler.<DD><DL>
|
| <DT><B>Returns:</B><DD>null if this model doesn't respond to SAX dtd events.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getErrorHandler()"><!-- --></A><H3>
|
| getErrorHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> <B>getErrorHandler</B>()</PRE>
|
| <DL>
|
| <DD>Return this DTM's ErrorHandler.<DD><DL>
|
| <DT><B>Returns:</B><DD>null if this model doesn't respond to SAX error events.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDeclHandler()"><!-- --></A><H3>
|
| getDeclHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A> <B>getDeclHandler</B>()</PRE>
|
| <DL>
|
| <DD>Return this DTM's DeclHandler.<DD><DL>
|
| <DT><B>Returns:</B><DD>null if this model doesn't respond to SAX Decl events.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="needsTwoThreads()"><!-- --></A><H3>
|
| needsTwoThreads</H3>
|
| <PRE>
|
| public boolean <B>needsTwoThreads</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Returns:</B><DD>true iff we're building this model incrementally (eg |
| we're partnered with a IncrementalSAXSource) and thus require that the |
| transformation and the parse run simultaneously. Guidance to the |
| DTMManager.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="dispatchCharactersEvents(int, org.xml.sax.ContentHandler, boolean)"><!-- --></A><H3>
|
| dispatchCharactersEvents</H3>
|
| <PRE>
|
| public void <B>dispatchCharactersEvents</B>(int nodeHandle, |
| <A HREF="../../../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> ch, |
| boolean normalize) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Directly call the |
| characters method on the passed ContentHandler for the |
| string-value of the given node (see http://www.w3.org/TR/xpath#data-model |
| for the definition of a node's string-value). Multiple calls to the |
| ContentHandler's characters methods may well occur for a single call to |
| this method.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node ID.<DD><CODE>ch</CODE> - A non-null reference to a ContentHandler.<DD><CODE>normalize</CODE> - true if the content should be normalized according to |
| the rules for the XPath |
| <a href="http://www.w3.org/TR/xpath#function-normalize-space">normalize-space</a> |
| function.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - <DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#dispatchCharactersEvents(int, org.xml.sax.ContentHandler, boolean)">dispatchCharactersEvents</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNodeName(int)"><!-- --></A><H3>
|
| getNodeName</H3>
|
| <PRE>
|
| public java.lang.String <B>getNodeName</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Given a node handle, return its DOM-style node name. This will |
| include names such as #text or #document.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node.<DT><B>Returns:</B><DD>String Name of this node, which may be an empty string. |
| %REVIEW% Document when empty string is possible... |
| %REVIEW-COMMENT% It should never be empty, should it?<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNodeName(int)">getNodeName</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNodeNameX(int)"><!-- --></A><H3>
|
| getNodeNameX</H3>
|
| <PRE>
|
| public java.lang.String <B>getNodeNameX</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Given a node handle, return the XPath node name. This should be |
| the name as described by the XPath data model, NOT the DOM-style |
| name.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node.<DT><B>Returns:</B><DD>String Name of this node, which may be an empty string.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNodeNameX(int)">getNodeNameX</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isAttributeSpecified(int)"><!-- --></A><H3>
|
| isAttributeSpecified</H3>
|
| <PRE>
|
| public boolean <B>isAttributeSpecified</B>(int attributeHandle)</PRE>
|
| <DL>
|
| <DD>5. [specified] A flag indicating whether this attribute was actually |
| specified in the start-tag of its element, or was defaulted from the |
| DTD.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>attributeHandle</CODE> - Must be a valid handle to an attribute node.<DT><B>Returns:</B><DD><code>true</code> if the attribute was specified; |
| <code>false</code> if it was defaulted.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#isAttributeSpecified(int)">isAttributeSpecified</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDocumentTypeDeclarationSystemIdentifier()"><!-- --></A><H3>
|
| getDocumentTypeDeclarationSystemIdentifier</H3>
|
| <PRE>
|
| public java.lang.String <B>getDocumentTypeDeclarationSystemIdentifier</B>()</PRE>
|
| <DL>
|
| <DD>A document type declaration information item has the following properties: |
| |
| 1. [system identifier] The system identifier of the external subset, if |
| it exists. Otherwise this property has no value.<DD><DL>
|
| <DT><B>Returns:</B><DD>the system identifier String object, or null if there is none.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentTypeDeclarationSystemIdentifier()">getDocumentTypeDeclarationSystemIdentifier</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="dispatchToEvents(int, org.xml.sax.ContentHandler)"><!-- --></A><H3>
|
| dispatchToEvents</H3>
|
| <PRE>
|
| public void <B>dispatchToEvents</B>(int nodeHandle, |
| <A HREF="../../../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> ch) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Directly create SAX parser events from a subtree.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node ID.<DD><CODE>ch</CODE> - A non-null reference to a ContentHandler.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - <DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#dispatchToEvents(int, org.xml.sax.ContentHandler)">dispatchToEvents</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNumberOfNodes()"><!-- --></A><H3>
|
| getNumberOfNodes</H3>
|
| <PRE>
|
| public int <B>getNumberOfNodes</B>()</PRE>
|
| <DL>
|
| <DD>Get the number of nodes that have been added.<DD><DL>
|
| <DT><B>Returns:</B><DD>The number of that are currently in the tree.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="migrateTo(org.apache.xml.dtm.DTMManager)"><!-- --></A><H3>
|
| migrateTo</H3>
|
| <PRE>
|
| public void <B>migrateTo</B>(<A HREF="../../../../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A> manager)</PRE>
|
| <DL>
|
| <DD>Migrate a DTM built with an old DTMManager to a new DTMManager. |
| After the migration, the new DTMManager will treat the DTM as |
| one that is built by itself. |
| This is used to support DTM sharing between multiple transformations.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>manager</CODE> - the DTMManager<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#migrateTo(org.apache.xml.dtm.DTMManager)">migrateTo</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNodeValue(int)"><!-- --></A><H3>
|
| getNodeValue</H3>
|
| <PRE>
|
| public java.lang.String <B>getNodeValue</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Given a node handle, return its node value. This is mostly |
| as defined by the DOM, but may ignore some conveniences. |
| <p><DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node id.<DT><B>Returns:</B><DD>String Value of this node, or null if not |
| meaningful for this node type.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNodeValue(int)">getNodeValue</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getLocalName(int)"><!-- --></A><H3>
|
| getLocalName</H3>
|
| <PRE>
|
| public java.lang.String <B>getLocalName</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Given a node handle, return its XPath-style localname. |
| (As defined in Namespaces, this is the portion of the name after any |
| colon character).<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node.<DT><B>Returns:</B><DD>String Local name of this node.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getLocalName(int)">getLocalName</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getUnparsedEntityURI(java.lang.String)"><!-- --></A><H3>
|
| getUnparsedEntityURI</H3>
|
| <PRE>
|
| public java.lang.String <B>getUnparsedEntityURI</B>(java.lang.String name)</PRE>
|
| <DL>
|
| <DD>The getUnparsedEntityURI function returns the URI of the unparsed |
| entity with the specified name in the same document as the context |
| node (see [3.3 Unparsed Entities]). It returns the empty string if |
| there is no such entity. |
| <p> |
| XML processors may choose to use the System Identifier (if one |
| is provided) to resolve the entity, rather than the URI in the |
| Public Identifier. The details are dependent on the processor, and |
| we would have to support some form of plug-in resolver to handle |
| this properly. Currently, we simply return the System Identifier if |
| present, and hope that it a usable URI or that our caller can |
| map it to one. |
| TODO: Resolve Public Identifiers... or consider changing function name. |
| <p> |
| If we find a relative URI |
| reference, XML expects it to be resolved in terms of the base URI |
| of the document. The DOM doesn't do that for us, and it isn't |
| entirely clear whether that should be done here; currently that's |
| pushed up to a higher level of our application. (Note that DOM Level |
| 1 didn't store the document's base URI.) |
| TODO: Consider resolving Relative URIs. |
| <p> |
| (The DOM's statement that "An XML processor may choose to |
| completely expand entities before the structure model is passed |
| to the DOM" refers only to parsed entities, not unparsed, and hence |
| doesn't affect this function.)<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - A string containing the Entity Name of the unparsed |
| entity.<DT><B>Returns:</B><DD>String containing the URI of the Unparsed Entity, or an |
| empty string if no such entity exists.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getUnparsedEntityURI(java.lang.String)">getUnparsedEntityURI</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getPrefix(int)"><!-- --></A><H3>
|
| getPrefix</H3>
|
| <PRE>
|
| public java.lang.String <B>getPrefix</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Given a namespace handle, return the prefix that the namespace decl is |
| mapping. |
| Given a node handle, return the prefix used to map to the namespace. |
| |
| <p> %REVIEW% Are you sure you want "" for no prefix? </p> |
| <p> %REVIEW-COMMENT% I think so... not totally sure. -sb </p><DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node.<DT><B>Returns:</B><DD>String prefix of this node's name, or "" if no explicit |
| namespace prefix was given.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getPrefix(int)">getPrefix</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getAttributeNode(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| getAttributeNode</H3>
|
| <PRE>
|
| public int <B>getAttributeNode</B>(int nodeHandle, |
| java.lang.String namespaceURI, |
| java.lang.String name)</PRE>
|
| <DL>
|
| <DD>Retrieves an attribute node by by qualified name and namespace URI.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node upon which to look up this attribute..<DD><CODE>namespaceURI</CODE> - The namespace URI of the attribute to |
| retrieve, or null.<DD><CODE>name</CODE> - The local name of the attribute to |
| retrieve.<DT><B>Returns:</B><DD>The attribute node handle with the specified name ( |
| <code>nodeName</code>) or <code>DTM.NULL</code> if there is no such |
| attribute.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getAttributeNode(int, java.lang.String, java.lang.String)">getAttributeNode</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDocumentTypeDeclarationPublicIdentifier()"><!-- --></A><H3>
|
| getDocumentTypeDeclarationPublicIdentifier</H3>
|
| <PRE>
|
| public java.lang.String <B>getDocumentTypeDeclarationPublicIdentifier</B>()</PRE>
|
| <DL>
|
| <DD>Return the public identifier of the external subset, |
| normalized as described in 4.2.2 External Entities [XML]. If there is |
| no external subset or if it has no public identifier, this property |
| has no value.<DD><DL>
|
| <DT><B>Returns:</B><DD>the public identifier String object, or null if there is none.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentTypeDeclarationPublicIdentifier()">getDocumentTypeDeclarationPublicIdentifier</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNamespaceURI(int)"><!-- --></A><H3>
|
| getNamespaceURI</H3>
|
| <PRE>
|
| public java.lang.String <B>getNamespaceURI</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Given a node handle, return its DOM-style namespace URI |
| (As defined in Namespaces, this is the declared URI which this node's |
| prefix -- or default in lieu thereof -- was mapped to.) |
| |
| <p>%REVIEW% Null or ""? -sb</p><DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node.<DT><B>Returns:</B><DD>String URI value of this node's namespace, or null if no |
| namespace was resolved.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNamespaceURI(int)">getNamespaceURI</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getStringValue(int)"><!-- --></A><H3>
|
| getStringValue</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../org/apache/xml/utils/XMLString.html">XMLString</A> <B>getStringValue</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Get the string-value of a node as a String object |
| (see http://www.w3.org/TR/xpath#data-model |
| for the definition of a node's string-value).<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node ID.<DT><B>Returns:</B><DD>A string object that represents the string-value of the given node.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getStringValue(int)">getStringValue</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isWhitespace(int)"><!-- --></A><H3>
|
| isWhitespace</H3>
|
| <PRE>
|
| public boolean <B>isWhitespace</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Determine if the string-value of a node is whitespace<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node Handle.<DT><B>Returns:</B><DD>Return true if the given node is whitespace.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getElementById(java.lang.String)"><!-- --></A><H3>
|
| getElementById</H3>
|
| <PRE>
|
| public int <B>getElementById</B>(java.lang.String elementId)</PRE>
|
| <DL>
|
| <DD>Returns the <code>Element</code> whose <code>ID</code> is given by |
| <code>elementId</code>. If no such element exists, returns |
| <code>DTM.NULL</code>. Behavior is not defined if more than one element |
| has this <code>ID</code>. Attributes (including those |
| with the name "ID") are not of type ID unless so defined by DTD/Schema |
| information available to the DTM implementation. |
| Implementations that do not know whether attributes are of type ID or |
| not are expected to return <code>DTM.NULL</code>. |
| |
| <p>%REVIEW% Presumably IDs are still scoped to a single document, |
| and this operation searches only within a single document, right? |
| Wouldn't want collisions between DTMs in the same process.</p><DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>elementId</CODE> - The unique <code>id</code> value for an element.<DT><B>Returns:</B><DD>The handle of the matching element.<DT><B>Overrides:</B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getElementById(java.lang.String)">getElementById</A> in class <A HREF="../../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html">DTMDefaultBase</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getPrefix(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| getPrefix</H3>
|
| <PRE>
|
| public java.lang.String <B>getPrefix</B>(java.lang.String qname, |
| java.lang.String uri)</PRE>
|
| <DL>
|
| <DD>Get a prefix either from the qname or from the uri mapping, or just make |
| one up!<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>qname</CODE> - The qualified name, which may be null.<DD><CODE>uri</CODE> - The namespace URI, which may be null.<DT><B>Returns:</B><DD>The prefix if there is one, or null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getIdForNamespace(java.lang.String)"><!-- --></A><H3>
|
| getIdForNamespace</H3>
|
| <PRE>
|
| public int <B>getIdForNamespace</B>(java.lang.String uri)</PRE>
|
| <DL>
|
| <DD>Get a prefix either from the uri mapping, or just make |
| one up!<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>uri</CODE> - The namespace URI, which may be null.<DT><B>Returns:</B><DD>The prefix if there is one, or null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNamespaceURI(java.lang.String)"><!-- --></A><H3>
|
| getNamespaceURI</H3>
|
| <PRE>
|
| public java.lang.String <B>getNamespaceURI</B>(java.lang.String prefix)</PRE>
|
| <DL>
|
| <DD>Get a prefix either from the qname or from the uri mapping, or just make |
| one up!<DD><DL>
|
| <DT><B>Returns:</B><DD>The prefix if there is one, or null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setIDAttribute(java.lang.String, int)"><!-- --></A><H3>
|
| setIDAttribute</H3>
|
| <PRE>
|
| public void <B>setIDAttribute</B>(java.lang.String id, |
| int 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 element handle.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| resolveEntity</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../org/xml/sax/InputSource.html">InputSource</A> <B>resolveEntity</B>(java.lang.String publicId, |
| java.lang.String systemId) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Resolve an external entity. |
| |
| <p>Always return null, so that the parser will use the system |
| identifier provided in the XML document. This method implements |
| the SAX default behaviour: application writers can override it |
| in a subclass to do special translations such as catalog lookups |
| or URI redirection.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String, java.lang.String)">resolveEntity</A> in interface <A HREF="../../../../../../org/xml/sax/EntityResolver.html">EntityResolver</A><DT><B>Parameters:</B><DD><CODE>publicId</CODE> - The public identifer, or null if none is |
| available.<DD><CODE>systemId</CODE> - The system identifier provided in the XML |
| document.<DT><B>Returns:</B><DD>The new input source, or null to require the |
| default behaviour.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - <DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/EntityResolver.html#resolveEntity(java.lang.String, java.lang.String)"><CODE>EntityResolver.resolveEntity(java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="notationDecl(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| notationDecl</H3>
|
| <PRE>
|
| public void <B>notationDecl</B>(java.lang.String name, |
| java.lang.String publicId, |
| java.lang.String systemId) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of a notation declaration. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass if they wish to keep track of the notations |
| declared in a document.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String, java.lang.String, java.lang.String)">notationDecl</A> in interface <A HREF="../../../../../../org/xml/sax/DTDHandler.html">DTDHandler</A><DT><B>Parameters:</B><DD><CODE>name</CODE> - The notation name.<DD><CODE>publicId</CODE> - The notation public identifier, or null if not |
| available.<DD><CODE>systemId</CODE> - The notation system identifier.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - <DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String, java.lang.String, java.lang.String)"><CODE>DTDHandler.notationDecl(java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| unparsedEntityDecl</H3>
|
| <PRE>
|
| public void <B>unparsedEntityDecl</B>(java.lang.String name, |
| java.lang.String publicId, |
| java.lang.String systemId, |
| java.lang.String notationName) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of an unparsed entity declaration. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass to keep track of the unparsed entities |
| declared in a document.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">unparsedEntityDecl</A> in interface <A HREF="../../../../../../org/xml/sax/DTDHandler.html">DTDHandler</A><DT><B>Parameters:</B><DD><CODE>name</CODE> - The entity name.<DD><CODE>publicId</CODE> - The entity public identifier, or null if not |
| available.<DD><CODE>systemId</CODE> - The entity system identifier.<DD><CODE>notationName</CODE> - The name of the associated notation.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - <DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
|
| setDocumentLocator</H3>
|
| <PRE>
|
| public void <B>setDocumentLocator</B>(<A HREF="../../../../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
|
| <DL>
|
| <DD>Receive a Locator object for document events. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass if they wish to store the locator for use |
| with other document events.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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> - A locator for all SAX document events.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>ContentHandler.setDocumentLocator(org.xml.sax.Locator)</CODE></A>,
|
| <A HREF="../../../../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="startDocument()"><!-- --></A><H3>
|
| startDocument</H3>
|
| <PRE>
|
| public void <B>startDocument</B>() |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of the beginning of the document.<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><DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#startDocument()"><CODE>ContentHandler.startDocument()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="endDocument()"><!-- --></A><H3>
|
| endDocument</H3>
|
| <PRE>
|
| public void <B>endDocument</B>() |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of the end of the document.<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><DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#endDocument()"><CODE>ContentHandler.endDocument()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="startPrefixMapping(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| startPrefixMapping</H3>
|
| <PRE>
|
| public void <B>startPrefixMapping</B>(java.lang.String prefix, |
| java.lang.String uri) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of the start of a Namespace mapping. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass to take specific actions at the start of |
| each Namespace prefix scope (such as storing the prefix mapping).</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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 mapped to the prefix.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String, java.lang.String)"><CODE>ContentHandler.startPrefixMapping(java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="endPrefixMapping(java.lang.String)"><!-- --></A><H3>
|
| endPrefixMapping</H3>
|
| <PRE>
|
| public void <B>endPrefixMapping</B>(java.lang.String prefix) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of the end of a Namespace mapping. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass to take specific actions at the end of |
| each prefix mapping.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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 Namespace prefix being declared.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>ContentHandler.endPrefixMapping(java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)"><!-- --></A><H3>
|
| startElement</H3>
|
| <PRE>
|
| public void <B>startElement</B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String qName, |
| <A HREF="../../../../../../org/xml/sax/Attributes.html">Attributes</A> attributes) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of the start of an element. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass to take specific actions at the start of |
| each element (such as allocating a new tree node or writing |
| output to a file).</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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>uri</CODE> - The Namespace URI, or the empty string if the |
| element has no Namespace URI or if Namespace |
| processing is not being performed.<DD><CODE>localName</CODE> - The local name (without prefix), or the |
| empty string if Namespace processing is not being |
| performed.<DD><CODE>qName</CODE> - The qualified name (with prefix), or the |
| empty string if qualified names are not available.<DD><CODE>attributes</CODE> - The specified or defaulted attributes.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)"><CODE>ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="endElement(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| endElement</H3>
|
| <PRE>
|
| public void <B>endElement</B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String qName) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of the end of an element. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass to take specific actions at the end of |
| each element (such as finalising a tree node or writing |
| output to a file).</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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>uri</CODE> - The Namespace URI, or the empty string if the |
| element has no Namespace URI or if Namespace |
| processing is not being performed.<DD><CODE>localName</CODE> - The local name (without prefix), or the |
| empty string if Namespace processing is not being |
| performed.<DD><CODE>qName</CODE> - The qualified XML 1.0 name (with prefix), or the |
| empty string if qualified names are not available.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String, java.lang.String, java.lang.String)"><CODE>ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="characters(char[], int, int)"><!-- --></A><H3>
|
| characters</H3>
|
| <PRE>
|
| public void <B>characters</B>(char[] ch, |
| int start, |
| int length) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of character data inside an element. |
| |
| <p>By default, do nothing. Application writers may override this |
| method to take specific actions for each chunk of character data |
| (such as adding the data to a node or buffer, or printing it to |
| a file).</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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.<DD><CODE>start</CODE> - The start position in the character array.<DD><CODE>length</CODE> - The number of characters to use from the |
| character array.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#characters(char[], int, int)"><CODE>ContentHandler.characters(char[], int, int)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
|
| ignorableWhitespace</H3>
|
| <PRE>
|
| public void <B>ignorableWhitespace</B>(char[] ch, |
| int start, |
| int length) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of ignorable whitespace in element content. |
| |
| <p>By default, do nothing. Application writers may override this |
| method to take specific actions for each chunk of ignorable |
| whitespace (such as adding data to a node or buffer, or printing |
| it to a file).</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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 whitespace characters.<DD><CODE>start</CODE> - The start position in the character array.<DD><CODE>length</CODE> - The number of characters to use from the |
| character array.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[], int, int)"><CODE>ContentHandler.ignorableWhitespace(char[], int, int)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="processingInstruction(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| processingInstruction</H3>
|
| <PRE>
|
| public void <B>processingInstruction</B>(java.lang.String target, |
| java.lang.String data) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of a processing instruction. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass to take specific actions for each |
| processing instruction, such as setting status variables or |
| invoking other methods.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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 is supplied.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String, java.lang.String)"><CODE>ContentHandler.processingInstruction(java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="skippedEntity(java.lang.String)"><!-- --></A><H3>
|
| skippedEntity</H3>
|
| <PRE>
|
| public void <B>skippedEntity</B>(java.lang.String name) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of a skipped entity. |
| |
| <p>By default, do nothing. Application writers may override this |
| method in a subclass to take specific actions for each |
| processing instruction, such as setting status variables or |
| invoking other methods.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><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.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String, java.lang.String)"><CODE>ContentHandler.processingInstruction(java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="warning(org.xml.sax.SAXParseException)"><!-- --></A><H3>
|
| warning</H3>
|
| <PRE>
|
| public void <B>warning</B>(<A HREF="../../../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of a parser warning. |
| |
| <p>The default implementation does nothing. Application writers |
| may override this method in a subclass to take specific actions |
| for each warning, such as inserting the message in a log file or |
| printing it to the console.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)">warning</A> in interface <A HREF="../../../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A><DT><B>Parameters:</B><DD><CODE>e</CODE> - The warning information encoded as an exception.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.warning(org.xml.sax.SAXParseException)</CODE></A>,
|
| <A HREF="../../../../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="error(org.xml.sax.SAXParseException)"><!-- --></A><H3>
|
| error</H3>
|
| <PRE>
|
| public void <B>error</B>(<A HREF="../../../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of a recoverable parser error. |
| |
| <p>The default implementation does nothing. Application writers |
| may override this method in a subclass to take specific actions |
| for each error, such as inserting the message in a log file or |
| printing it to the console.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/ErrorHandler.html#error(org.xml.sax.SAXParseException)">error</A> in interface <A HREF="../../../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A><DT><B>Parameters:</B><DD><CODE>e</CODE> - The warning information encoded as an exception.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.warning(org.xml.sax.SAXParseException)</CODE></A>,
|
| <A HREF="../../../../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fatalError(org.xml.sax.SAXParseException)"><!-- --></A><H3>
|
| fatalError</H3>
|
| <PRE>
|
| public void <B>fatalError</B>(<A HREF="../../../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> e) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report a fatal XML parsing error. |
| |
| <p>The default implementation throws a SAXParseException. |
| Application writers may override this method in a subclass if |
| they need to take specific actions for each fatal error (such as |
| collecting all of the errors into a single report): in any case, |
| the application must stop all regular processing when this |
| method is invoked, since the document is no longer reliable, and |
| the parser may no longer report parsing events.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A> in interface <A HREF="../../../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A><DT><B>Parameters:</B><DD><CODE>e</CODE> - The error information encoded as an exception.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.fatalError(org.xml.sax.SAXParseException)</CODE></A>,
|
| <A HREF="../../../../../../org/xml/sax/SAXParseException.html"><CODE>SAXParseException</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="elementDecl(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| elementDecl</H3>
|
| <PRE>
|
| public void <B>elementDecl</B>(java.lang.String name, |
| java.lang.String model) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report an element type declaration. |
| |
| <p>The content model will consist of the string "EMPTY", the |
| string "ANY", or a parenthesised group, optionally followed |
| by an occurrence indicator. The model will be normalized so |
| that all whitespace is removed,and will include the enclosing |
| parentheses.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html#elementDecl(java.lang.String, java.lang.String)">elementDecl</A> in interface <A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A><DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type name.<DD><CODE>model</CODE> - The content model as a normalized string.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| attributeDecl</H3>
|
| <PRE>
|
| public void <B>attributeDecl</B>(java.lang.String eName, |
| java.lang.String aName, |
| java.lang.String type, |
| java.lang.String valueDefault, |
| java.lang.String value) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report an attribute type declaration. |
| |
| <p>Only the effective (first) declaration for an attribute will |
| be reported. The type will be one of the strings "CDATA", |
| "ID", "IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY", |
| "ENTITIES", or "NOTATION", or a parenthesized token group with |
| the separator "|" and all whitespace removed.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html#attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">attributeDecl</A> in interface <A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A><DT><B>Parameters:</B><DD><CODE>eName</CODE> - The name of the associated element.<DD><CODE>aName</CODE> - The name of the attribute.<DD><CODE>type</CODE> - A string representing the attribute type.<DD><CODE>valueDefault</CODE> - A string representing the attribute default |
| ("#IMPLIED", "#REQUIRED", or "#FIXED") or null if |
| none of these applies.<DD><CODE>value</CODE> - A string representing the attribute's default value, |
| or null if there is none.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="internalEntityDecl(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| internalEntityDecl</H3>
|
| <PRE>
|
| public void <B>internalEntityDecl</B>(java.lang.String name, |
| java.lang.String value) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report an internal entity declaration. |
| |
| <p>Only the effective (first) declaration for each entity |
| will be reported.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html#internalEntityDecl(java.lang.String, java.lang.String)">internalEntityDecl</A> in interface <A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</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 '%'.<DD><CODE>value</CODE> - The replacement text of the entity.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)"><CODE>externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)</CODE></A>,
|
| <A HREF="../../../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| externalEntityDecl</H3>
|
| <PRE>
|
| public void <B>externalEntityDecl</B>(java.lang.String name, |
| java.lang.String publicId, |
| java.lang.String systemId) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report a parsed external entity declaration. |
| |
| <p>Only the effective (first) declaration for each entity |
| will be reported.</p><DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html#externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)">externalEntityDecl</A> in interface <A HREF="../../../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</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 '%'.<DD><CODE>publicId</CODE> - The declared public identifier of the entity, or |
| null if none was declared.<DD><CODE>systemId</CODE> - The declared system identifier of the entity.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#internalEntityDecl(java.lang.String, java.lang.String)"><CODE>internalEntityDecl(java.lang.String, java.lang.String)</CODE></A>,
|
| <A HREF="../../../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <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. |
| |
| <p>Any declarations are assumed to be in the internal subset |
| unless otherwise indicated by a <A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startEntity(java.lang.String)">startEntity</A> |
| event.</p> |
| |
| <p>Note that the start/endDTD events will appear within |
| the start/endDocument events from ContentHandler and |
| before the first startElement event.</p><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>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an |
| exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#endDTD()"><CODE>endDTD()</CODE></A>,
|
| <A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.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>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startDTD(java.lang.String, java.lang.String, java.lang.String)"><CODE>startDTD(java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="startEntity(java.lang.String)"><!-- --></A><H3>
|
| startEntity</H3>
|
| <PRE>
|
| public void <B>startEntity</B>(java.lang.String name) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report the beginning of an entity in content. |
| |
| <p><strong>NOTE:</entity> entity references in attribute |
| values -- and the start and end of the document entity -- |
| are never reported.</p> |
| |
| <p>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.</p> |
| |
| <p>Note that skipped entities will be reported through the |
| <A HREF="../../../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)">skippedEntity</A> |
| event, which is part of the ContentHandler interface.</p><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>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.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>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startEntity(java.lang.String)"><CODE>startEntity(java.lang.String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="startCDATA()"><!-- --></A><H3>
|
| startCDATA</H3>
|
| <PRE>
|
| public void <B>startCDATA</B>() |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report the start of a CDATA section. |
| |
| <p>The contents of the CDATA section will be reported through |
| the regular <A HREF="../../../../../../org/xml/sax/ContentHandler.html#characters(char[], int, int)">characters</A> event.</p><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>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.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>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.<DT><B>See Also: </B><DD><A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.html#startCDATA()"><CODE>startCDATA()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="comment(char[], int, int)"><!-- --></A><H3>
|
| comment</H3>
|
| <PRE>
|
| public void <B>comment</B>(char[] ch, |
| int start, |
| int length) |
| throws <A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report an XML comment anywhere in the document. |
| |
| <p>This callback will be used for comments inside or outside the |
| document element, including comments in the external DTD |
| subset (if read).</p><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.<DT><B>Throws:</B><DD><A HREF="../../../../../../org/xml/sax/SAXException.html">SAXException</A> - The application may raise an exception.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>
|
| setProperty</H3>
|
| <PRE>
|
| public void <B>setProperty</B>(java.lang.String property, |
| java.lang.Object value)</PRE>
|
| <DL>
|
| <DD>Set a run time property for this DTM instance. |
| |
| %REVIEW% Now that we no longer use this method to support |
| getSourceLocatorFor, can we remove it?<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>property</CODE> - a <code>String</code> value<DD><CODE>value</CODE> - an <code>Object</code> value</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSourceLocatorFor(int)"><!-- --></A><H3>
|
| getSourceLocatorFor</H3>
|
| <PRE>
|
| public <A HREF="../../../../../../javax/xml/transform/SourceLocator.html">SourceLocator</A> <B>getSourceLocatorFor</B>(int node)</PRE>
|
| <DL>
|
| <DD>Retrieve the SourceLocator associated with a specific node. |
| This is only meaningful if the XalanProperties.SOURCE_LOCATION flag was |
| set True using setProperty; if it was never set, or was set false, we |
| will return null. |
| |
| (We _could_ return a locator with the document's base URI and bogus |
| line/column information. Trying that; see the else clause.)<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getFixedNames(int)"><!-- --></A><H3>
|
| getFixedNames</H3>
|
| <PRE>
|
| public java.lang.String <B>getFixedNames</B>(int type)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </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/SAX2DTM.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">
|
| PREV CLASS
|
| <A HREF="../../../../../../org/apache/xml/dtm/ref/sax2dtm/SAX2DTM2.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="SAX2DTM.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: <A HREF="#inner_classes_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBaseIterators">INNER</A> | <A HREF="#fields_inherited_from_class_org.apache.xml.dtm.ref.DTMDefaultBase">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: FIELD | <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>
|