<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:30 PDT 2012 --> | |
<TITLE> | |
DTMDefaultBase | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xml.dtm.ref.DTMDefaultBase class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="DTMDefaultBase"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<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/DTMDefaultBase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/DTMChildIterNodeList.html" title="class in org.apache.xml.dtm.ref"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.html" title="class in org.apache.xml.dtm.ref"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xml/dtm/ref/DTMDefaultBase.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DTMDefaultBase.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xml.dtm.ref</FONT> | |
<BR> | |
Class DTMDefaultBase</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xml.dtm.ref.DTMDefaultBase</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></DD> | |
</DL> | |
<DL> | |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseTraversers.html" title="class in org.apache.xml.dtm.ref">DTMDefaultBaseTraversers</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public abstract class <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.44"><B>DTMDefaultBase</B></A><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></DL> | |
</PRE> | |
<P> | |
The <code>DTMDefaultBase</code> class serves as a helper base for DTMs. | |
It sets up structures for navigation and type, while leaving data | |
management and construction to the derived classes. | |
<P> | |
<P> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#DEFAULT_BLOCKSIZE">DEFAULT_BLOCKSIZE</A></B></CODE> | |
<BR> | |
The default block size of the node arrays</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#DEFAULT_NUMBLOCKS">DEFAULT_NUMBLOCKS</A></B></CODE> | |
<BR> | |
The number of blocks for the node arrays</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#DEFAULT_NUMBLOCKS_SMALL">DEFAULT_NUMBLOCKS_SMALL</A></B></CODE> | |
<BR> | |
The number of blocks used for small documents & RTFs</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) static boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#JJK_DEBUG">JJK_DEBUG</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_documentBaseURI">m_documentBaseURI</A></B></CODE> | |
<BR> | |
The base URI for this document.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_dtmIdent">m_dtmIdent</A></B></CODE> | |
<BR> | |
The document identity number(s).</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int[][][]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_elemIndexes">m_elemIndexes</A></B></CODE> | |
<BR> | |
These hold indexes to elements based on namespace and local name.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html" title="class in org.apache.xml.dtm.ref">ExpandedNameTable</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_expandedNameTable">m_expandedNameTable</A></B></CODE> | |
<BR> | |
The table for exandedNameID lookups.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_exptype">m_exptype</A></B></CODE> | |
<BR> | |
The expanded names, one array element for each node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_firstch">m_firstch</A></B></CODE> | |
<BR> | |
First child values, one array element for each node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_indexing">m_indexing</A></B></CODE> | |
<BR> | |
true if indexing is turned on.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_mgr">m_mgr</A></B></CODE> | |
<BR> | |
The DTM manager who "owns" this DTM.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html" title="class in org.apache.xml.dtm.ref">DTMManagerDefault</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_mgrDefault">m_mgrDefault</A></B></CODE> | |
<BR> | |
m_mgr cast to DTMManagerDefault, or null if it isn't an instance | |
(Efficiency hook)</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_namespaceDeclSetElements">m_namespaceDeclSetElements</A></B></CODE> | |
<BR> | |
SuballocatedIntVector of elements at which corresponding | |
namespaceDeclSets were defined</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected java.util.Vector</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_namespaceDeclSets">m_namespaceDeclSets</A></B></CODE> | |
<BR> | |
Vector of SuballocatedIntVectors of NS decl sets</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.util.Vector</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_namespaceLists">m_namespaceLists</A></B></CODE> | |
<BR> | |
Lazily created namespace lists.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_nextsib">m_nextsib</A></B></CODE> | |
<BR> | |
Next sibling values, one array element for each node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_parent">m_parent</A></B></CODE> | |
<BR> | |
Previous sibling values, one array element for each node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_prevsib">m_prevsib</A></B></CODE> | |
<BR> | |
Previous sibling values, one array element for each node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/BoolStack.html" title="class in org.apache.xml.utils">BoolStack</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_shouldStripWhitespaceStack">m_shouldStripWhitespaceStack</A></B></CODE> | |
<BR> | |
Stack of flags indicating whether to strip whitespace nodes</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_shouldStripWS">m_shouldStripWS</A></B></CODE> | |
<BR> | |
Flag indicating whether to strip whitespace nodes</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_size">m_size</A></B></CODE> | |
<BR> | |
The number of nodes, which is also used to determine the next | |
node index.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/dtm/DTMAxisTraverser.html" title="class in org.apache.xml.dtm">DTMAxisTraverser</A>[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_traversers">m_traversers</A></B></CODE> | |
<BR> | |
Stateless axis traversers, lazely built.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/dtm/DTMWSFilter.html" title="interface in org.apache.xml.dtm">DTMWSFilter</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_wsfilter">m_wsfilter</A></B></CODE> | |
<BR> | |
The whitespace filter that enables elements to strip whitespace or not.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/XMLStringFactory.html" title="class in org.apache.xml.utils">XMLStringFactory</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#m_xstrf">m_xstrf</A></B></CODE> | |
<BR> | |
The XMLString factory for creating XMLStrings.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#NOTPROCESSED">NOTPROCESSED</A></B></CODE> | |
<BR> | |
The value to use when the information has not been built yet.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#ROOTNODE">ROOTNODE</A></B></CODE> | |
<BR> | |
The identity of the root node.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="fields_inherited_from_class_org.apache.xml.dtm.DTM"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Fields inherited from interface org.apache.xml.dtm.<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#ATTRIBUTE_NODE">ATTRIBUTE_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#CDATA_SECTION_NODE">CDATA_SECTION_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#COMMENT_NODE">COMMENT_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#DOCUMENT_FRAGMENT_NODE">DOCUMENT_FRAGMENT_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#DOCUMENT_NODE">DOCUMENT_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#DOCUMENT_TYPE_NODE">DOCUMENT_TYPE_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#ELEMENT_NODE">ELEMENT_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#ENTITY_NODE">ENTITY_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#ENTITY_REFERENCE_NODE">ENTITY_REFERENCE_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#NAMESPACE_NODE">NAMESPACE_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#NOTATION_NODE">NOTATION_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#NTYPES">NTYPES</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#NULL">NULL</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#PROCESSING_INSTRUCTION_NODE">PROCESSING_INSTRUCTION_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#ROOT_NODE">ROOT_NODE</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#TEXT_NODE">TEXT_NODE</A></CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#DTMDefaultBase(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean)">DTMDefaultBase</A></B>(<A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A> mgr, | |
javax.xml.transform.Source source, | |
int dtmIdentity, | |
<A HREF="../../../../../org/apache/xml/dtm/DTMWSFilter.html" title="interface in org.apache.xml.dtm">DTMWSFilter</A> whiteSpaceFilter, | |
<A HREF="../../../../../org/apache/xml/utils/XMLStringFactory.html" title="class in org.apache.xml.utils">XMLStringFactory</A> xstringfactory, | |
boolean doIndexing)</CODE> | |
<BR> | |
Construct a DTMDefaultBase object using the default block size.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#DTMDefaultBase(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean, int, boolean, boolean)">DTMDefaultBase</A></B>(<A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A> mgr, | |
javax.xml.transform.Source source, | |
int dtmIdentity, | |
<A HREF="../../../../../org/apache/xml/dtm/DTMWSFilter.html" title="interface in org.apache.xml.dtm">DTMWSFilter</A> whiteSpaceFilter, | |
<A HREF="../../../../../org/apache/xml/utils/XMLStringFactory.html" title="class in org.apache.xml.utils">XMLStringFactory</A> xstringfactory, | |
boolean doIndexing, | |
int blocksize, | |
boolean usePrevsib, | |
boolean newNameTable)</CODE> | |
<BR> | |
Construct a DTMDefaultBase object from a DOM node.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#_exptype(int)">_exptype</A></B>(int identity)</CODE> | |
<BR> | |
Get the expanded type ID for the given node identity.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#_firstch(int)">_firstch</A></B>(int identity)</CODE> | |
<BR> | |
Get the first child for the given node identity.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#_level(int)">_level</A></B>(int identity)</CODE> | |
<BR> | |
Get the level in the tree for the given node identity.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#_nextsib(int)">_nextsib</A></B>(int identity)</CODE> | |
<BR> | |
Get the next sibling for the given node identity.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#_parent(int)">_parent</A></B>(int identity)</CODE> | |
<BR> | |
Get the parent for the given node identity.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#_prevsib(int)">_prevsib</A></B>(int identity)</CODE> | |
<BR> | |
Get the previous sibling for the given node identity.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#_type(int)">_type</A></B>(int identity)</CODE> | |
<BR> | |
Get the simple type ID for the given node identity.</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/DTMDefaultBase.html#appendChild(int, boolean, boolean)">appendChild</A></B>(int newChild, | |
boolean clone, | |
boolean cloneDepth)</CODE> | |
<BR> | |
Append a child to 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/DTMDefaultBase.html#appendTextChild(java.lang.String)">appendTextChild</A></B>(java.lang.String str)</CODE> | |
<BR> | |
Append a text node child that will be constructed from a string, | |
to the end of the document.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#declareNamespaceInContext(int, int)">declareNamespaceInContext</A></B>(int elementNodeIndex, | |
int namespaceNodeIndex)</CODE> | |
<BR> | |
Build table of namespace declaration | |
locations during DTM construction.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#dispatchCharactersEvents(int, org.xml.sax.ContentHandler, boolean)">dispatchCharactersEvents</A></B>(int nodeHandle, | |
org.xml.sax.ContentHandler 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>abstract void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#dispatchToEvents(int, org.xml.sax.ContentHandler)">dispatchToEvents</A></B>(int nodeHandle, | |
org.xml.sax.ContentHandler 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/DTMDefaultBase.html#documentRegistration()">documentRegistration</A></B>()</CODE> | |
<BR> | |
A dummy routine to satisify the abstract interface.</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/DTMDefaultBase.html#documentRelease()">documentRelease</A></B>()</CODE> | |
<BR> | |
A dummy routine to satisify the abstract interface.</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/DTMDefaultBase.html#dumpDTM(java.io.OutputStream)">dumpDTM</A></B>(java.io.OutputStream os)</CODE> | |
<BR> | |
Diagnostics function to dump the DTM.</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/DTMDefaultBase.html#dumpNode(int)">dumpNode</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Diagnostics function to dump a single node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#ensureSizeOfIndex(int, int)">ensureSizeOfIndex</A></B>(int namespaceID, | |
int LocalNameID)</CODE> | |
<BR> | |
Ensure that the size of the element indexes can hold the information.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#error(java.lang.String)">error</A></B>(java.lang.String msg)</CODE> | |
<BR> | |
Simple error for asserts and the like.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#findElementFromIndex(int, int, int)">findElementFromIndex</A></B>(int nsIndex, | |
int lnIndex, | |
int firstPotential)</CODE> | |
<BR> | |
Find the first matching element from the index at or after the | |
given node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#findGTE(int[], int, int, int)">findGTE</A></B>(int[] list, | |
int start, | |
int len, | |
int value)</CODE> | |
<BR> | |
Find the first index that occurs in the list that is greater than or | |
equal to the given value.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#findInSortedSuballocatedIntVector(org.apache.xml.utils.SuballocatedIntVector, int)">findInSortedSuballocatedIntVector</A></B>(<A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> vector, | |
int lookfor)</CODE> | |
<BR> | |
Subroutine: Locate the specified node within | |
m_namespaceDeclSetElements, or the last element which | |
preceeds it in document order | |
%REVIEW% Inlne this into findNamespaceContext? Create SortedSuballocatedIntVector type?</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#findNamespaceContext(int)">findNamespaceContext</A></B>(int elementNodeIndex)</CODE> | |
<BR> | |
Retrieve list of namespace declaration locations | |
active at this node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocument()">getDocument</A></B>()</CODE> | |
<BR> | |
Find the Document node handle for the document currently under construction.</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/DTMDefaultBase.html#getDocumentAllDeclarationsProcessed()">getDocumentAllDeclarationsProcessed</A></B>()</CODE> | |
<BR> | |
Return an indication of | |
whether the processor has read the complete DTD.</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/DTMDefaultBase.html#getDocumentBaseURI()">getDocumentBaseURI</A></B>()</CODE> | |
<BR> | |
Return the base URI of the document entity.</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/DTMDefaultBase.html#getDocumentEncoding(int)">getDocumentEncoding</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Return the name of the character encoding scheme | |
in which the document entity is expressed.</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/DTMDefaultBase.html#getDocumentRoot(int)">getDocumentRoot</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, find the owning document node.</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/DTMDefaultBase.html#getDocumentStandalone(int)">getDocumentStandalone</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Return an indication of the standalone status of the document, | |
either "yes" or "no".</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/DTMDefaultBase.html#getDocumentSystemIdentifier(int)">getDocumentSystemIdentifier</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Return the system identifier of the document entity.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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> java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDocumentVersion(int)">getDocumentVersion</A></B>(int documentHandle)</CODE> | |
<BR> | |
Return a string representing the XML version of the document.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getDTMIDs()">getDTMIDs</A></B>()</CODE> | |
<BR> | |
Query which DTMIDs this DTM is currently using within the DTMManager.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getExpandedTypeID(int)">getExpandedTypeID</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, return an ID that represents the node's expanded name.</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/DTMDefaultBase.html#getExpandedTypeID(java.lang.String, java.lang.String, int)">getExpandedTypeID</A></B>(java.lang.String namespace, | |
java.lang.String localName, | |
int type)</CODE> | |
<BR> | |
Given an expanded name, return an ID.</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/DTMDefaultBase.html#getFirstAttribute(int)">getFirstAttribute</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, get the index of the node's first attribute.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getFirstAttributeIdentity(int)">getFirstAttributeIdentity</A></B>(int identity)</CODE> | |
<BR> | |
Given a node identity, get the index of the node's first attribute.</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/DTMDefaultBase.html#getFirstChild(int)">getFirstChild</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, get the handle of the node's first child.</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/DTMDefaultBase.html#getFirstNamespaceNode(int, boolean)">getFirstNamespaceNode</A></B>(int nodeHandle, | |
boolean inScope)</CODE> | |
<BR> | |
Given a node handle, get the index of the node's first child.</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/DTMDefaultBase.html#getLastChild(int)">getLastChild</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, advance to its last child.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getLevel(int)">getLevel</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Get the depth level of this node in the tree (equals 1 for | |
a parentless node).</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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/DTMDefaultBase.html#getLocalNameFromExpandedNameID(int)">getLocalNameFromExpandedNameID</A></B>(int expandedNameID)</CODE> | |
<BR> | |
Given an expanded-name ID, return the local name part.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getManager()">getManager</A></B>()</CODE> | |
<BR> | |
Query which DTMManager this DTM is currently being handled by.</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/DTMDefaultBase.html#getNamespaceFromExpandedNameID(int)">getNamespaceFromExpandedNameID</A></B>(int expandedNameID)</CODE> | |
<BR> | |
Given an expanded-name ID, return the namespace URI part.</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/DTMDefaultBase.html#getNamespaceType(int)">getNamespaceType</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Returns the namespace type of a specific node</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNextAttribute(int)">getNextAttribute</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, advance to the next attribute.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNextAttributeIdentity(int)">getNextAttributeIdentity</A></B>(int identity)</CODE> | |
<BR> | |
Given a node identity for an attribute, advance to the next attribute.</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/DTMDefaultBase.html#getNextNamespaceNode(int, int, boolean)">getNextNamespaceNode</A></B>(int baseHandle, | |
int nodeHandle, | |
boolean inScope)</CODE> | |
<BR> | |
Given a namespace handle, advance to the next namespace.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected abstract int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNextNodeIdentity(int)">getNextNodeIdentity</A></B>(int identity)</CODE> | |
<BR> | |
Get the next node identity value in the list, and call the iterator | |
if it hasn't been added yet.</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/DTMDefaultBase.html#getNextSibling(int)">getNextSibling</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, advance to its next sibling.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> org.w3c.dom.Node</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNode(int)">getNode</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Return an DOM node for the given node.</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/DTMDefaultBase.html#getNodeHandle(int)">getNodeHandle</A></B>(int nodeId)</CODE> | |
<BR> | |
Get the handle of this node in the tree</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/DTMDefaultBase.html#getNodeIdent(int)">getNodeIdent</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Get the identity of this node in the tree</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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/DTMDefaultBase.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> short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getNodeType(int)">getNodeType</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, return its DOM-style node type.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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>protected abstract int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getOwnerDocument(int)">getOwnerDocument</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, find the owning document node.</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/DTMDefaultBase.html#getParent(int)">getParent</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, find its parent node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getPreviousSibling(int)">getPreviousSibling</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, find its preceeding sibling.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getShouldStripWhitespace()">getShouldStripWhitespace</A></B>()</CODE> | |
<BR> | |
Find out whether or not to strip whispace nodes.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract <A HREF="../../../../../org/apache/xml/utils/XMLString.html" title="interface in org.apache.xml.utils">XMLString</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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> char[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getStringValueChunk(int, int, int[])">getStringValueChunk</A></B>(int nodeHandle, | |
int chunkIndex, | |
int[] startAndLen)</CODE> | |
<BR> | |
Get a character array chunk in the string-value of a node.</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/DTMDefaultBase.html#getStringValueChunkCount(int)">getStringValueChunkCount</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Get number of character array chunks in | |
the string-value of a node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#getTypedAttribute(int, int)">getTypedAttribute</A></B>(int nodeHandle, | |
int attType)</CODE> | |
<BR> | |
Given a node handle and an expanded type ID, get the index of the node's | |
attribute of that type, if any.</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/DTMDefaultBase.html#getTypedFirstChild(int, int)">getTypedFirstChild</A></B>(int nodeHandle, | |
int nodeType)</CODE> | |
<BR> | |
Given a node handle, get the handle of the node's first child.</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/DTMDefaultBase.html#getTypedNextSibling(int, int)">getTypedNextSibling</A></B>(int nodeHandle, | |
int nodeType)</CODE> | |
<BR> | |
Given a node handle, advance to its next sibling.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#hasChildNodes(int)">hasChildNodes</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, test if it has child nodes.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#indexNode(int, int)">indexNode</A></B>(int expandedTypeID, | |
int identity)</CODE> | |
<BR> | |
Add a node to the element indexes.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.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/DTMDefaultBase.html#isCharacterElementContentWhitespace(int)">isCharacterElementContentWhitespace</A></B>(int nodeHandle)</CODE> | |
<BR> | |
2.</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/DTMDefaultBase.html#isDocumentAllDeclarationsProcessed(int)">isDocumentAllDeclarationsProcessed</A></B>(int documentHandle)</CODE> | |
<BR> | |
10.</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/DTMDefaultBase.html#isNodeAfter(int, int)">isNodeAfter</A></B>(int nodeHandle1, | |
int nodeHandle2)</CODE> | |
<BR> | |
Figure out whether nodeHandle2 should be considered as being later | |
in the document than nodeHandle1, in Document Order as defined | |
by the XPath model.</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/DTMDefaultBase.html#isSupported(java.lang.String, java.lang.String)">isSupported</A></B>(java.lang.String feature, | |
java.lang.String version)</CODE> | |
<BR> | |
Tests whether DTM DOM implementation implements a specific feature and | |
that feature is supported by this node.</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/DTMDefaultBase.html#makeNodeHandle(int)">makeNodeHandle</A></B>(int nodeIdentity)</CODE> | |
<BR> | |
Given a node identity, return a node handle.</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/DTMDefaultBase.html#makeNodeIdentity(int)">makeNodeIdentity</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Given a node handle, return a node identity.</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/DTMDefaultBase.html#migrateTo(org.apache.xml.dtm.DTMManager)">migrateTo</A></B>(<A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A> mgr)</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>protected abstract boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#nextNode()">nextNode</A></B>()</CODE> | |
<BR> | |
This method should try and build one or more nodes in the table.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#popShouldStripWhitespace()">popShouldStripWhitespace</A></B>()</CODE> | |
<BR> | |
Set whether to strip whitespaces at this point by popping out | |
m_shouldStripWhitespaceStack.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#pushShouldStripWhitespace(boolean)">pushShouldStripWhitespace</A></B>(boolean shouldStrip)</CODE> | |
<BR> | |
Set whether to strip whitespaces and push in current value of | |
m_shouldStripWS in m_shouldStripWhitespaceStack.</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/DTMDefaultBase.html#setDocumentBaseURI(java.lang.String)">setDocumentBaseURI</A></B>(java.lang.String baseURI)</CODE> | |
<BR> | |
Set the base URI of the document 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/DTMDefaultBase.html#setFeature(java.lang.String, boolean)">setFeature</A></B>(java.lang.String featureId, | |
boolean state)</CODE> | |
<BR> | |
Set an implementation dependent feature.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBase.html#setShouldStripWhitespace(boolean)">setShouldStripWhitespace</A></B>(boolean shouldStrip)</CODE> | |
<BR> | |
Set whether to strip whitespaces and set the top of the stack to | |
the current value of m_shouldStripWS.</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/DTMDefaultBase.html#supportsPreStripping()">supportsPreStripping</A></B>()</CODE> | |
<BR> | |
Return true if the xsl:strip-space or xsl:preserve-space was processed | |
during construction of the DTM document.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_org.apache.xml.dtm.DTM"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from interface org.apache.xml.dtm.<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getAxisIterator(int)">getAxisIterator</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getAxisTraverser(int)">getAxisTraverser</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getContentHandler()">getContentHandler</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDeclHandler()">getDeclHandler</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDTDHandler()">getDTDHandler</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getEntityResolver()">getEntityResolver</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getErrorHandler()">getErrorHandler</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getLexicalHandler()">getLexicalHandler</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getSourceLocatorFor(int)">getSourceLocatorFor</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#getTypedAxisIterator(int, int)">getTypedAxisIterator</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#needsTwoThreads()">needsTwoThreads</A>, <A HREF="../../../../../org/apache/xml/dtm/DTM.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="JJK_DEBUG"><!-- --></A><H3> | |
JJK_DEBUG</H3> | |
<PRE> | |
static final boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.46"><B>JJK_DEBUG</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.DTMDefaultBase.JJK_DEBUG">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="ROOTNODE"><!-- --></A><H3> | |
ROOTNODE</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.52"><B>ROOTNODE</B></A></PRE> | |
<DL> | |
<DD>The identity of the root node. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.DTMDefaultBase.ROOTNODE">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="m_size"><!-- --></A><H3> | |
m_size</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.58"><B>m_size</B></A></PRE> | |
<DL> | |
<DD>The number of nodes, which is also used to determine the next | |
node index. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_exptype"><!-- --></A><H3> | |
m_exptype</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.61"><B>m_exptype</B></A></PRE> | |
<DL> | |
<DD>The expanded names, one array element for each node. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_firstch"><!-- --></A><H3> | |
m_firstch</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.64"><B>m_firstch</B></A></PRE> | |
<DL> | |
<DD>First child values, one array element for each node. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_nextsib"><!-- --></A><H3> | |
m_nextsib</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.67"><B>m_nextsib</B></A></PRE> | |
<DL> | |
<DD>Next sibling values, one array element for each node. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_prevsib"><!-- --></A><H3> | |
m_prevsib</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.70"><B>m_prevsib</B></A></PRE> | |
<DL> | |
<DD>Previous sibling values, one array element for each node. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_parent"><!-- --></A><H3> | |
m_parent</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.73"><B>m_parent</B></A></PRE> | |
<DL> | |
<DD>Previous sibling values, one array element for each node. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_namespaceDeclSets"><!-- --></A><H3> | |
m_namespaceDeclSets</H3> | |
<PRE> | |
protected java.util.Vector <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.76"><B>m_namespaceDeclSets</B></A></PRE> | |
<DL> | |
<DD>Vector of SuballocatedIntVectors of NS decl sets | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_namespaceDeclSetElements"><!-- --></A><H3> | |
m_namespaceDeclSetElements</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.80"><B>m_namespaceDeclSetElements</B></A></PRE> | |
<DL> | |
<DD>SuballocatedIntVector of elements at which corresponding | |
namespaceDeclSets were defined | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_elemIndexes"><!-- --></A><H3> | |
m_elemIndexes</H3> | |
<PRE> | |
protected int[][][] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.88"><B>m_elemIndexes</B></A></PRE> | |
<DL> | |
<DD>These hold indexes to elements based on namespace and local name. | |
The base lookup is the the namespace. The second lookup is the local | |
name, and the last array contains the the first free element | |
at the start, and the list of element handles following. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="DEFAULT_BLOCKSIZE"><!-- --></A><H3> | |
DEFAULT_BLOCKSIZE</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.91"><B>DEFAULT_BLOCKSIZE</B></A></PRE> | |
<DL> | |
<DD>The default block size of the node arrays | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.DTMDefaultBase.DEFAULT_BLOCKSIZE">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="DEFAULT_NUMBLOCKS"><!-- --></A><H3> | |
DEFAULT_NUMBLOCKS</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.94"><B>DEFAULT_NUMBLOCKS</B></A></PRE> | |
<DL> | |
<DD>The number of blocks for the node arrays | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.DTMDefaultBase.DEFAULT_NUMBLOCKS">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="DEFAULT_NUMBLOCKS_SMALL"><!-- --></A><H3> | |
DEFAULT_NUMBLOCKS_SMALL</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.97"><B>DEFAULT_NUMBLOCKS_SMALL</B></A></PRE> | |
<DL> | |
<DD>The number of blocks used for small documents & RTFs | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.DTMDefaultBase.DEFAULT_NUMBLOCKS_SMALL">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="NOTPROCESSED"><!-- --></A><H3> | |
NOTPROCESSED</H3> | |
<PRE> | |
protected static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.105"><B>NOTPROCESSED</B></A></PRE> | |
<DL> | |
<DD>The value to use when the information has not been built yet. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.DTMDefaultBase.NOTPROCESSED">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="m_mgr"><!-- --></A><H3> | |
m_mgr</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.111"><B>m_mgr</B></A></PRE> | |
<DL> | |
<DD>The DTM manager who "owns" this DTM. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_mgrDefault"><!-- --></A><H3> | |
m_mgrDefault</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html" title="class in org.apache.xml.dtm.ref">DTMManagerDefault</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.117"><B>m_mgrDefault</B></A></PRE> | |
<DL> | |
<DD>m_mgr cast to DTMManagerDefault, or null if it isn't an instance | |
(Efficiency hook) | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_dtmIdent"><!-- --></A><H3> | |
m_dtmIdent</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.122"><B>m_dtmIdent</B></A></PRE> | |
<DL> | |
<DD>The document identity number(s). If we have overflowed the addressing | |
range of the first that was assigned to us, we may add others. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_documentBaseURI"><!-- --></A><H3> | |
m_documentBaseURI</H3> | |
<PRE> | |
protected java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.130"><B>m_documentBaseURI</B></A></PRE> | |
<DL> | |
<DD>The base URI for this document. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_wsfilter"><!-- --></A><H3> | |
m_wsfilter</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/dtm/DTMWSFilter.html" title="interface in org.apache.xml.dtm">DTMWSFilter</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.135"><B>m_wsfilter</B></A></PRE> | |
<DL> | |
<DD>The whitespace filter that enables elements to strip whitespace or not. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_shouldStripWS"><!-- --></A><H3> | |
m_shouldStripWS</H3> | |
<PRE> | |
protected boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.138"><B>m_shouldStripWS</B></A></PRE> | |
<DL> | |
<DD>Flag indicating whether to strip whitespace nodes | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_shouldStripWhitespaceStack"><!-- --></A><H3> | |
m_shouldStripWhitespaceStack</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/BoolStack.html" title="class in org.apache.xml.utils">BoolStack</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.141"><B>m_shouldStripWhitespaceStack</B></A></PRE> | |
<DL> | |
<DD>Stack of flags indicating whether to strip whitespace nodes | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_xstrf"><!-- --></A><H3> | |
m_xstrf</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/XMLStringFactory.html" title="class in org.apache.xml.utils">XMLStringFactory</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.144"><B>m_xstrf</B></A></PRE> | |
<DL> | |
<DD>The XMLString factory for creating XMLStrings. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_expandedNameTable"><!-- --></A><H3> | |
m_expandedNameTable</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html" title="class in org.apache.xml.dtm.ref">ExpandedNameTable</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.150"><B>m_expandedNameTable</B></A></PRE> | |
<DL> | |
<DD>The table for exandedNameID lookups. This may or may not be the same | |
table as is contained in the DTMManagerDefault. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_indexing"><!-- --></A><H3> | |
m_indexing</H3> | |
<PRE> | |
protected boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.153"><B>m_indexing</B></A></PRE> | |
<DL> | |
<DD>true if indexing is turned on. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_traversers"><!-- --></A><H3> | |
m_traversers</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/dtm/DTMAxisTraverser.html" title="class in org.apache.xml.dtm">DTMAxisTraverser</A>[] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.438"><B>m_traversers</B></A></PRE> | |
<DL> | |
<DD>Stateless axis traversers, lazely built. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_namespaceLists"><!-- --></A><H3> | |
m_namespaceLists</H3> | |
<PRE> | |
private java.util.Vector <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1246"><B>m_namespaceLists</B></A></PRE> | |
<DL> | |
<DD>Lazily created namespace lists. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="DTMDefaultBase(org.apache.xml.dtm.DTMManager, javax.xml.transform.Source, int, org.apache.xml.dtm.DTMWSFilter, org.apache.xml.utils.XMLStringFactory, boolean)"><!-- --></A><H3> | |
DTMDefaultBase</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.167"><B>DTMDefaultBase</B></A>(<A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A> mgr, | |
javax.xml.transform.Source source, | |
int dtmIdentity, | |
<A HREF="../../../../../org/apache/xml/dtm/DTMWSFilter.html" title="interface in org.apache.xml.dtm">DTMWSFilter</A> whiteSpaceFilter, | |
<A HREF="../../../../../org/apache/xml/utils/XMLStringFactory.html" title="class in org.apache.xml.utils">XMLStringFactory</A> xstringfactory, | |
boolean doIndexing)</PRE> | |
<DL> | |
<DD>Construct a DTMDefaultBase object using the default block size. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>mgr</CODE> - The DTMManager who owns this DTM.<DD><CODE>source</CODE> - The object that is used to specify the construction source.<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> - The factory to use for creating XMLStrings.<DD><CODE>doIndexing</CODE> - true if the caller considers it worth it to use | |
indexing schemes.</DL> | |
</DL> | |
<HR> | |
<A NAME="DTMDefaultBase(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> | |
DTMDefaultBase</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.190"><B>DTMDefaultBase</B></A>(<A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A> mgr, | |
javax.xml.transform.Source source, | |
int dtmIdentity, | |
<A HREF="../../../../../org/apache/xml/dtm/DTMWSFilter.html" title="interface in org.apache.xml.dtm">DTMWSFilter</A> whiteSpaceFilter, | |
<A HREF="../../../../../org/apache/xml/utils/XMLStringFactory.html" title="class in org.apache.xml.utils">XMLStringFactory</A> xstringfactory, | |
boolean doIndexing, | |
int blocksize, | |
boolean usePrevsib, | |
boolean newNameTable)</PRE> | |
<DL> | |
<DD>Construct a DTMDefaultBase object from a DOM node. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>mgr</CODE> - The DTMManager who owns this DTM.<DD><CODE>source</CODE> - The object that is used to specify the construction source.<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> - The factory to use for creating XMLStrings.<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> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="ensureSizeOfIndex(int, int)"><!-- --></A><H3> | |
ensureSizeOfIndex</H3> | |
<PRE> | |
protected void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.256"><B>ensureSizeOfIndex</B></A>(int namespaceID, | |
int LocalNameID)</PRE> | |
<DL> | |
<DD>Ensure that the size of the element indexes can hold the information. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>namespaceID</CODE> - Namespace ID index.<DD><CODE>LocalNameID</CODE> - Local name ID.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="indexNode(int, int)"><!-- --></A><H3> | |
indexNode</H3> | |
<PRE> | |
protected void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.317"><B>indexNode</B></A>(int expandedTypeID, | |
int identity)</PRE> | |
<DL> | |
<DD>Add a node to the element indexes. The node will not be added unless | |
it's an element. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>expandedTypeID</CODE> - The expanded type ID of the node.<DD><CODE>identity</CODE> - The node identity index.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="findGTE(int[], int, int, int)"><!-- --></A><H3> | |
findGTE</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.351"><B>findGTE</B></A>(int[] list, | |
int start, | |
int len, | |
int value)</PRE> | |
<DL> | |
<DD>Find the first index that occurs in the list that is greater than or | |
equal to the given value. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>list</CODE> - A list of integers.<DD><CODE>start</CODE> - The start index to begin the search.<DD><CODE>len</CODE> - The number of items to search.<DD><CODE>value</CODE> - Find the slot that has a value that is greater than or | |
identical to this argument. | |
<DT><B>Returns:</B><DD>The index in the list of the slot that is higher or identical | |
to the identity argument, or -1 if no node is higher or equal.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="findElementFromIndex(int, int, int)"><!-- --></A><H3> | |
findElementFromIndex</H3> | |
<PRE> | |
int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.385"><B>findElementFromIndex</B></A>(int nsIndex, | |
int lnIndex, | |
int firstPotential)</PRE> | |
<DL> | |
<DD>Find the first matching element from the index at or after the | |
given node. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nsIndex</CODE> - The namespace index lookup.<DD><CODE>lnIndex</CODE> - The local name index lookup.<DD><CODE>firstPotential</CODE> - The first potential match that is worth looking at. | |
<DT><B>Returns:</B><DD>The first node that is greater than or equal to the | |
firstPotential argument, or DTM.NOTPROCESSED if not found.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNextNodeIdentity(int)"><!-- --></A><H3> | |
getNextNodeIdentity</H3> | |
<PRE> | |
protected abstract int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.420"><B>getNextNodeIdentity</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Get the next node identity value in the list, and call the iterator | |
if it hasn't been added yet. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - The node identity (index). | |
<DT><B>Returns:</B><DD>identity+1, or DTM.NULL.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="nextNode()"><!-- --></A><H3> | |
nextNode</H3> | |
<PRE> | |
protected abstract boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.428"><B>nextNode</B></A>()</PRE> | |
<DL> | |
<DD>This method should try and build one or more nodes in the table. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The true if a next node is found or false if | |
there are no more nodes.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNumberOfNodes()"><!-- --></A><H3> | |
getNumberOfNodes</H3> | |
<PRE> | |
protected abstract int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.435"><B>getNumberOfNodes</B></A>()</PRE> | |
<DL> | |
<DD>Get the number of nodes that have been added. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the number of nodes that have been mapped.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="_type(int)"><!-- --></A><H3> | |
_type</H3> | |
<PRE> | |
protected short <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.459"><B>_type</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Get the simple type ID for the given node identity. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - The node identity. | |
<DT><B>Returns:</B><DD>The simple type ID, or DTM.NULL.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="_exptype(int)"><!-- --></A><H3> | |
_exptype</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.477"><B>_exptype</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Get the expanded type ID for the given node identity. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - The node identity. | |
<DT><B>Returns:</B><DD>The expanded type ID, or DTM.NULL.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="_level(int)"><!-- --></A><H3> | |
_level</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.500"><B>_level</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Get the level in the tree for the given node identity. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - The node identity. | |
<DT><B>Returns:</B><DD>The tree level, or DTM.NULL.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="_firstch(int)"><!-- --></A><H3> | |
_firstch</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.522"><B>_firstch</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Get the first child for the given node identity. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - The node identity. | |
<DT><B>Returns:</B><DD>The first child identity, or DTM.NULL.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="_nextsib(int)"><!-- --></A><H3> | |
_nextsib</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.555"><B>_nextsib</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Get the next sibling for the given node identity. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - The node identity. | |
<DT><B>Returns:</B><DD>The next sibling identity, or DTM.NULL.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="_prevsib(int)"><!-- --></A><H3> | |
_prevsib</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.587"><B>_prevsib</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Get the previous sibling for the given node identity. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - The node identity. | |
<DT><B>Returns:</B><DD>The previous sibling identity, or DTM.NULL.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="_parent(int)"><!-- --></A><H3> | |
_parent</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.614"><B>_parent</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Get the parent for the given node identity. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - The node identity. | |
<DT><B>Returns:</B><DD>The parent identity, or DTM.NULL.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="dumpDTM(java.io.OutputStream)"><!-- --></A><H3> | |
dumpDTM</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.637"><B>dumpDTM</B></A>(java.io.OutputStream os)</PRE> | |
<DL> | |
<DD>Diagnostics function to dump the DTM. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="dumpNode(int)"><!-- --></A><H3> | |
dumpNode</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.790"><B>dumpNode</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Diagnostics function to dump a single node. | |
%REVIEW% KNOWN GLITCH: If you pass it a node index rather than a | |
node handle, it works just fine... but the displayed identity | |
number before the colon is different, which complicates comparing | |
it with nodes printed the other way. We could always OR the DTM ID | |
into the value, to suppress that distinction... | |
%REVIEW% This might want to be moved up to DTMDefaultBase, or possibly | |
DTM itself, since it's a useful diagnostic and uses only DTM's public | |
APIs. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setFeature(java.lang.String, boolean)"><!-- --></A><H3> | |
setFeature</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.863"><B>setFeature</B></A>(java.lang.String featureId, | |
boolean state)</PRE> | |
<DL> | |
<DD>Set an implementation dependent feature. | |
<p> | |
%REVIEW% Do we really expect to set features on DTMs? | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#setFeature(java.lang.String, boolean)">setFeature</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>featureId</CODE> - A feature URL.<DD><CODE>state</CODE> - true if this feature should be on, false otherwise.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="hasChildNodes(int)"><!-- --></A><H3> | |
hasChildNodes</H3> | |
<PRE> | |
public boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.879"><B>hasChildNodes</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, test if it has child nodes. | |
<p> %REVIEW% This is obviously useful at the DOM layer, where it | |
would permit testing this without having to create a proxy | |
node. It's less useful in the DTM API, where | |
(dtm.getFirstChild(nodeHandle)!=DTM.NULL) is just as fast and | |
almost as self-evident. But it's a convenience, and eases porting | |
of DOM code to DTM. </p> | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#hasChildNodes(int)">hasChildNodes</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node. | |
<DT><B>Returns:</B><DD>int true if the given node has child nodes.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="makeNodeHandle(int)"><!-- --></A><H3> | |
makeNodeHandle</H3> | |
<PRE> | |
public final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.902"><B>makeNodeHandle</B></A>(int nodeIdentity)</PRE> | |
<DL> | |
<DD>Given a node identity, return a node handle. If extended addressing | |
has been used (multiple DTM IDs), we need to map the high bits of the | |
identity into the proper DTM ID. | |
This has been made FINAL to facilitate inlining, since we do not expect | |
any subclass of DTMDefaultBase to ever change the algorithm. (I don't | |
really like doing so, and would love to have an excuse not to...) | |
%REVIEW% Is it worth trying to specialcase small documents? | |
%REVIEW% Should this be exposed at the package/public layers? | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeIdentity</CODE> - Internal offset to this node's records. | |
<DT><B>Returns:</B><DD>NodeHandle (external representation of node)</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="makeNodeIdentity(int)"><!-- --></A><H3> | |
makeNodeIdentity</H3> | |
<PRE> | |
public final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.929"><B>makeNodeIdentity</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, return a node identity. If extended addressing | |
has been used (multiple DTM IDs), we need to map the high bits of the | |
identity into the proper DTM ID and thence find the proper offset | |
to add to the low bits of the identity | |
This has been made FINAL to facilitate inlining, since we do not expect | |
any subclass of DTMDefaultBase to ever change the algorithm. (I don't | |
really like doing so, and would love to have an excuse not to...) | |
%OPT% Performance is critical for this operation. | |
%REVIEW% Should this be exposed at the package/public layers? | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - (external representation of node) | |
<DT><B>Returns:</B><DD>nodeIdentity Internal offset to this node's records.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFirstChild(int)"><!-- --></A><H3> | |
getFirstChild</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.969"><B>getFirstChild</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, get the handle of the node's first child. | |
If not yet resolved, waits for more nodes to be added to the document and | |
tries again. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getFirstChild(int)">getFirstChild</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node. | |
<DT><B>Returns:</B><DD>int DTM node-number of first child, or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getTypedFirstChild(int, int)"><!-- --></A><H3> | |
getTypedFirstChild</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.986"><B>getTypedFirstChild</B></A>(int nodeHandle, | |
int nodeType)</PRE> | |
<DL> | |
<DD>Given a node handle, get the handle of the node's first child. | |
If not yet resolved, waits for more nodes to be added to the document and | |
tries again. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node. | |
<DT><B>Returns:</B><DD>int DTM node-number of first child, or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLastChild(int)"><!-- --></A><H3> | |
getLastChild</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1022"><B>getLastChild</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, advance to its last child. | |
If not yet resolved, waits for more nodes to be added to the document and | |
tries again. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getLastChild(int)">getLastChild</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node. | |
<DT><B>Returns:</B><DD>int Node-number of last child, | |
or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getAttributeNode(int, java.lang.String, java.lang.String)"><!-- --></A><H3> | |
getAttributeNode</H3> | |
<PRE> | |
public abstract int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1050"><B>getAttributeNode</B></A>(int nodeHandle, | |
java.lang.String namespaceURI, | |
java.lang.String name)</PRE> | |
<DL> | |
<DD>Retrieves an attribute node by by qualified name and namespace URI. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getAttributeNode(int, java.lang.String, java.lang.String)">getAttributeNode</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFirstAttribute(int)"><!-- --></A><H3> | |
getFirstAttribute</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1059"><B>getFirstAttribute</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, get the index of the node's first attribute. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getFirstAttribute(int)">getFirstAttribute</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node. | |
<DT><B>Returns:</B><DD>Handle of first attribute, or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFirstAttributeIdentity(int)"><!-- --></A><H3> | |
getFirstAttributeIdentity</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1072"><B>getFirstAttributeIdentity</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Given a node identity, get the index of the node's first attribute. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - int identity of the node. | |
<DT><B>Returns:</B><DD>Identity of first attribute, or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getTypedAttribute(int, int)"><!-- --></A><H3> | |
getTypedAttribute</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1107"><B>getTypedAttribute</B></A>(int nodeHandle, | |
int attType)</PRE> | |
<DL> | |
<DD>Given a node handle and an expanded type ID, get the index of the node's | |
attribute of that type, if any. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node.<DD><CODE>attType</CODE> - int expanded type ID of the required attribute. | |
<DT><B>Returns:</B><DD>Handle of attribute of the required type, or DTM.NULL to indicate | |
none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNextSibling(int)"><!-- --></A><H3> | |
getNextSibling</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1138"><B>getNextSibling</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, advance to its next sibling. | |
If not yet resolved, waits for more nodes to be added to the document and | |
tries again. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNextSibling(int)">getNextSibling</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node. | |
<DT><B>Returns:</B><DD>int Node-number of next sibling, | |
or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getTypedNextSibling(int, int)"><!-- --></A><H3> | |
getTypedNextSibling</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1153"><B>getTypedNextSibling</B></A>(int nodeHandle, | |
int nodeType)</PRE> | |
<DL> | |
<DD>Given a node handle, advance to its next sibling. | |
If not yet resolved, waits for more nodes to be added to the document and | |
tries again. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node. | |
<DT><B>Returns:</B><DD>int Node-number of next sibling, | |
or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPreviousSibling(int)"><!-- --></A><H3> | |
getPreviousSibling</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1176"><B>getPreviousSibling</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, find its preceeding sibling. | |
WARNING: DTM is asymmetric; this operation is resolved by search, and is | |
relatively expensive. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getPreviousSibling(int)">getPreviousSibling</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node. | |
<DT><B>Returns:</B><DD>int Node-number of the previous sib, | |
or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNextAttribute(int)"><!-- --></A><H3> | |
getNextAttribute</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1210"><B>getNextAttribute</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, advance to the next attribute. | |
If an attr, we advance to | |
the next attr on the same node. If not an attribute, we return NULL. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNextAttribute(int)">getNextAttribute</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node. | |
<DT><B>Returns:</B><DD>int DTM node-number of the resolved attr, | |
or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNextAttributeIdentity(int)"><!-- --></A><H3> | |
getNextAttributeIdentity</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1230"><B>getNextAttributeIdentity</B></A>(int identity)</PRE> | |
<DL> | |
<DD>Given a node identity for an attribute, advance to the next attribute. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>identity</CODE> - int identity of the attribute node. This | |
<strong>must</strong> be an attribute node. | |
<DT><B>Returns:</B><DD>int DTM node-identity of the resolved attr, | |
or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="declareNamespaceInContext(int, int)"><!-- --></A><H3> | |
declareNamespaceInContext</H3> | |
<PRE> | |
protected void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1262"><B>declareNamespaceInContext</B></A>(int elementNodeIndex, | |
int namespaceNodeIndex)</PRE> | |
<DL> | |
<DD>Build table of namespace declaration | |
locations during DTM construction. Table is a Vector of | |
SuballocatedIntVectors containing the namespace node HANDLES declared at | |
that ID, plus an SuballocatedIntVector of the element node INDEXES at which | |
these declarations appeared. | |
NOTE: Since this occurs during model build, nodes will be encountered | |
in doucment order and thus the table will be ordered by element, | |
permitting binary-search as a possible retrieval optimization. | |
%REVIEW% Directly managed arrays rather than vectors? | |
%REVIEW% Handles or IDs? Given usage, I think handles. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="findNamespaceContext(int)"><!-- --></A><H3> | |
findNamespaceContext</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1339"><B>findNamespaceContext</B></A>(int elementNodeIndex)</PRE> | |
<DL> | |
<DD>Retrieve list of namespace declaration locations | |
active at this node. List is an SuballocatedIntVector whose | |
entries are the namespace node HANDLES declared at that ID. | |
%REVIEW% Directly managed arrays rather than vectors? | |
%REVIEW% Handles or IDs? Given usage, I think handles. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="findInSortedSuballocatedIntVector(org.apache.xml.utils.SuballocatedIntVector, int)"><!-- --></A><H3> | |
findInSortedSuballocatedIntVector</H3> | |
<PRE> | |
protected int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1415"><B>findInSortedSuballocatedIntVector</B></A>(<A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> vector, | |
int lookfor)</PRE> | |
<DL> | |
<DD>Subroutine: Locate the specified node within | |
m_namespaceDeclSetElements, or the last element which | |
preceeds it in document order | |
%REVIEW% Inlne this into findNamespaceContext? Create SortedSuballocatedIntVector type? | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>If positive or zero, the index of the found item. | |
If negative, index of the point at which it would have appeared, | |
encoded as -1-index and hence reconvertable by subtracting | |
it from -1. (Encoding because I don't want to recompare the strings | |
but don't want to burn bytes on a datatype to hold a flagged value.)</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFirstNamespaceNode(int, boolean)"><!-- --></A><H3> | |
getFirstNamespaceNode</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1459"><B>getFirstNamespaceNode</B></A>(int nodeHandle, | |
boolean inScope)</PRE> | |
<DL> | |
<DD>Given a node handle, get the index of the node's first child. | |
If not yet resolved, waits for more nodes to be added to the document and | |
tries again | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getFirstNamespaceNode(int, boolean)">getFirstNamespaceNode</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - handle to node, which should probably be an element | |
node, but need not be.<DD><CODE>inScope</CODE> - true if all namespaces in scope should be returned, | |
false if only the namespace declarations should be | |
returned. | |
<DT><B>Returns:</B><DD>handle of first namespace, or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNextNamespaceNode(int, int, boolean)"><!-- --></A><H3> | |
getNextNamespaceNode</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1511"><B>getNextNamespaceNode</B></A>(int baseHandle, | |
int nodeHandle, | |
boolean inScope)</PRE> | |
<DL> | |
<DD>Given a namespace handle, advance to the next namespace. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNextNamespaceNode(int, int, boolean)">getNextNamespaceNode</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>baseHandle</CODE> - handle to original node from where the first namespace | |
was relative to (needed to return nodes in document order).<DD><CODE>nodeHandle</CODE> - A namespace handle for which we will find the next node.<DD><CODE>inScope</CODE> - true if all namespaces that are in scope should be processed, | |
otherwise just process the nodes in the given element handle. | |
<DT><B>Returns:</B><DD>handle of next namespace, or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getParent(int)"><!-- --></A><H3> | |
getParent</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1558"><B>getParent</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, find its parent node. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getParent(int)">getParent</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node. | |
<DT><B>Returns:</B><DD>int Node-number of parent, | |
or DTM.NULL to indicate none exists.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocument()"><!-- --></A><H3> | |
getDocument</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1577"><B>getDocument</B></A>()</PRE> | |
<DL> | |
<DD>Find the Document node handle for the document currently under construction. | |
PLEASE NOTE that most people should use getOwnerDocument(nodeHandle) instead; | |
this version of the operation is primarily intended for use during negotiation | |
with the DTM Manager. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocument()">getDocument</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>int Node handle of document, which should always be valid.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getOwnerDocument(int)"><!-- --></A><H3> | |
getOwnerDocument</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1594"><B>getOwnerDocument</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, find the owning document node. This has the exact | |
same semantics as the DOM Document method of the same name, in that if | |
the nodeHandle is a document node, it will return NULL. | |
<p>%REVIEW% Since this is DOM-specific, it may belong at the DOM | |
binding layer. Included here as a convenience function and to | |
aid porting of DOM code to DTM.</p> | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getOwnerDocument(int)">getOwnerDocument</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node. | |
<DT><B>Returns:</B><DD>int Node handle of owning document, or -1 if the node was a Docment<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentRoot(int)"><CODE>DTM.getDocumentRoot(int nodeHandle)</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentRoot(int)"><!-- --></A><H3> | |
getDocumentRoot</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1611"><B>getDocumentRoot</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, find the owning document node. Unlike the DOM, | |
this considers the owningDocument of a Document to be itself. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentRoot(int)">getDocumentRoot</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node. | |
<DT><B>Returns:</B><DD>int Node handle of owning document, or the nodeHandle if it is | |
a Document.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getOwnerDocument(int)"><CODE>DTM.getOwnerDocument(int nodeHandle)</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getStringValue(int)"><!-- --></A><H3> | |
getStringValue</H3> | |
<PRE> | |
public abstract <A HREF="../../../../../org/apache/xml/utils/XMLString.html" title="interface in org.apache.xml.utils">XMLString</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1625"><B>getStringValue</B></A>(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). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getStringValue(int)">getStringValue</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getStringValueChunkCount(int)"><!-- --></A><H3> | |
getStringValueChunkCount</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1639"><B>getStringValueChunkCount</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Get number of character array chunks in | |
the string-value of a node. | |
(see http://www.w3.org/TR/xpath#data-model | |
for the definition of a node's string-value). | |
Note that a single text node may have multiple text chunks. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getStringValueChunkCount(int)">getStringValueChunkCount</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node ID. | |
<DT><B>Returns:</B><DD>number of character array chunks in | |
the string-value of a node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getStringValueChunk(int, int, int[])"><!-- --></A><H3> | |
getStringValueChunk</H3> | |
<PRE> | |
public char[] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1661"><B>getStringValueChunk</B></A>(int nodeHandle, | |
int chunkIndex, | |
int[] startAndLen)</PRE> | |
<DL> | |
<DD>Get a character array chunk in the string-value of a node. | |
(see http://www.w3.org/TR/xpath#data-model | |
for the definition of a node's string-value). | |
Note that a single text node may have multiple text chunks. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getStringValueChunk(int, int, int[])">getStringValueChunk</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node ID.<DD><CODE>chunkIndex</CODE> - Which chunk to get.<DD><CODE>startAndLen</CODE> - An array of 2 where the start position and length of | |
the chunk will be returned. | |
<DT><B>Returns:</B><DD>The character array reference where the chunk occurs.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getExpandedTypeID(int)"><!-- --></A><H3> | |
getExpandedTypeID</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1678"><B>getExpandedTypeID</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, return an ID that represents the node's expanded name. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getExpandedTypeID(int)">getExpandedTypeID</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The handle to the node in question. | |
<DT><B>Returns:</B><DD>the expanded-name id of the node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getExpandedTypeID(java.lang.String, java.lang.String, int)"><!-- --></A><H3> | |
getExpandedTypeID</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1704"><B>getExpandedTypeID</B></A>(java.lang.String namespace, | |
java.lang.String localName, | |
int type)</PRE> | |
<DL> | |
<DD>Given an expanded name, return an ID. If the expanded-name does not | |
exist in the internal tables, the entry will be created, and the ID will | |
be returned. Any additional nodes that are created that have this | |
expanded name will use this ID. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getExpandedTypeID(java.lang.String, java.lang.String, int)">getExpandedTypeID</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>type</CODE> - The simple type, i.e. one of ELEMENT, ATTRIBUTE, etc.<DD><CODE>namespace</CODE> - The namespace URI, which may be null, may be an empty | |
string (which will be the same as null), or may be a | |
namespace URI.<DD><CODE>localName</CODE> - The local name string, which must be a valid | |
<a href="http://www.w3.org/TR/REC-xml-names/">NCName</a>. | |
<DT><B>Returns:</B><DD>the expanded-name id of the node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLocalNameFromExpandedNameID(int)"><!-- --></A><H3> | |
getLocalNameFromExpandedNameID</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1718"><B>getLocalNameFromExpandedNameID</B></A>(int expandedNameID)</PRE> | |
<DL> | |
<DD>Given an expanded-name ID, return the local name part. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getLocalNameFromExpandedNameID(int)">getLocalNameFromExpandedNameID</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>expandedNameID</CODE> - an ID that represents an expanded-name. | |
<DT><B>Returns:</B><DD>String Local name of this node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNamespaceFromExpandedNameID(int)"><!-- --></A><H3> | |
getNamespaceFromExpandedNameID</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1730"><B>getNamespaceFromExpandedNameID</B></A>(int expandedNameID)</PRE> | |
<DL> | |
<DD>Given an expanded-name ID, return the namespace URI part. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNamespaceFromExpandedNameID(int)">getNamespaceFromExpandedNameID</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>expandedNameID</CODE> - an ID that represents an expanded-name. | |
<DT><B>Returns:</B><DD>String URI value of this node's namespace, or null if no | |
namespace was resolved.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNamespaceType(int)"><!-- --></A><H3> | |
getNamespaceType</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1740"><B>getNamespaceType</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Returns the namespace type of a specific node | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the id of the node. | |
<DT><B>Returns:</B><DD>the ID of the namespace.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNodeName(int)"><!-- --></A><H3> | |
getNodeName</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1758"><B>getNodeName</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, return its DOM-style node name. This will | |
include names such as #text or #document. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNodeName(int)">getNodeName</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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?</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNodeNameX(int)"><!-- --></A><H3> | |
getNodeNameX</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1768"><B>getNodeNameX</B></A>(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. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNodeNameX(int)">getNodeNameX</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLocalName(int)"><!-- --></A><H3> | |
getLocalName</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1785"><B>getLocalName</B></A>(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). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getLocalName(int)">getLocalName</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPrefix(int)"><!-- --></A><H3> | |
getPrefix</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1799"><B>getPrefix</B></A>(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> | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getPrefix(int)">getPrefix</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNamespaceURI(int)"><!-- --></A><H3> | |
getNamespaceURI</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1812"><B>getNamespaceURI</B></A>(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> | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNamespaceURI(int)">getNamespaceURI</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNodeValue(int)"><!-- --></A><H3> | |
getNodeValue</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1823"><B>getNodeValue</B></A>(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> | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNodeValue(int)">getNodeValue</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNodeType(int)"><!-- --></A><H3> | |
getNodeType</H3> | |
<PRE> | |
public short <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1834"><B>getNodeType</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Given a node handle, return its DOM-style node type. | |
<p> | |
%REVIEW% Generally, returning short is false economy. Return int? | |
%REVIEW% Make assumption that node has already arrived. Is OK? | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNodeType(int)">getNodeType</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node id. | |
<DT><B>Returns:</B><DD>int Node type, as per the DOM's Node._NODE constants.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLevel(int)"><!-- --></A><H3> | |
getLevel</H3> | |
<PRE> | |
public short <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1849"><B>getLevel</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Get the depth level of this node in the tree (equals 1 for | |
a parentless node). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getLevel(int)">getLevel</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node id. | |
<DT><B>Returns:</B><DD>the number of ancestors, plus one</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNodeIdent(int)"><!-- --></A><H3> | |
getNodeIdent</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1863"><B>getNodeIdent</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Get the identity of this node in the tree | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node handle. | |
<DT><B>Returns:</B><DD>the node identity</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNodeHandle(int)"><!-- --></A><H3> | |
getNodeHandle</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1880"><B>getNodeHandle</B></A>(int nodeId)</PRE> | |
<DL> | |
<DD>Get the handle of this node in the tree | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeId</CODE> - The node identity. | |
<DT><B>Returns:</B><DD>the node handle</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isSupported(java.lang.String, java.lang.String)"><!-- --></A><H3> | |
isSupported</H3> | |
<PRE> | |
public boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1904"><B>isSupported</B></A>(java.lang.String feature, | |
java.lang.String version)</PRE> | |
<DL> | |
<DD>Tests whether DTM DOM implementation implements a specific feature and | |
that feature is supported by this node. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#isSupported(java.lang.String, java.lang.String)">isSupported</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>feature</CODE> - The name of the feature to test.<DD><CODE>version</CODE> - This is the version number of the feature to test. | |
If the version is not | |
specified, supporting any version of the feature will cause the | |
method to return <code>true</code>. | |
<DT><B>Returns:</B><DD>Returns <code>true</code> if the specified feature is | |
supported on this node, <code>false</code> otherwise.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentBaseURI()"><!-- --></A><H3> | |
getDocumentBaseURI</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1918"><B>getDocumentBaseURI</B></A>()</PRE> | |
<DL> | |
<DD>Return the base URI of the document entity. If it is not known | |
(because the document was parsed from a socket connection or from | |
standard input, for example), the value of this property is unknown. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentBaseURI()">getDocumentBaseURI</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the document base URI String object or null if unknown.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setDocumentBaseURI(java.lang.String)"><!-- --></A><H3> | |
setDocumentBaseURI</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1928"><B>setDocumentBaseURI</B></A>(java.lang.String baseURI)</PRE> | |
<DL> | |
<DD>Set the base URI of the document entity. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#setDocumentBaseURI(java.lang.String)">setDocumentBaseURI</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>baseURI</CODE> - the document base URI String object or null if unknown.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentSystemIdentifier(int)"><!-- --></A><H3> | |
getDocumentSystemIdentifier</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1940"><B>getDocumentSystemIdentifier</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Return the system identifier of the document entity. If | |
it is not known, the value of this property is unknown. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentSystemIdentifier(int)">getDocumentSystemIdentifier</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node id, which can be any valid node handle. | |
<DT><B>Returns:</B><DD>the system identifier String object or null if unknown.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentEncoding(int)"><!-- --></A><H3> | |
getDocumentEncoding</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1955"><B>getDocumentEncoding</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Return the name of the character encoding scheme | |
in which the document entity is expressed. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentEncoding(int)">getDocumentEncoding</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node id, which can be any valid node handle. | |
<DT><B>Returns:</B><DD>the document encoding String object.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentStandalone(int)"><!-- --></A><H3> | |
getDocumentStandalone</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1972"><B>getDocumentStandalone</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Return an indication of the standalone status of the document, | |
either "yes" or "no". This property is derived from the optional | |
standalone document declaration in the XML declaration at the | |
beginning of the document entity, and has no value if there is no | |
standalone document declaration. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentStandalone(int)">getDocumentStandalone</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node id, which can be any valid node handle. | |
<DT><B>Returns:</B><DD>the document standalone String object, either "yes", "no", or null.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentVersion(int)"><!-- --></A><H3> | |
getDocumentVersion</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.1987"><B>getDocumentVersion</B></A>(int documentHandle)</PRE> | |
<DL> | |
<DD>Return a string representing the XML version of the document. This | |
property is derived from the XML declaration optionally present at the | |
beginning of the document entity, and has no value if there is no XML | |
declaration. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentVersion(int)">getDocumentVersion</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>documentHandle</CODE> - The document handle | |
<DT><B>Returns:</B><DD>the document version String object.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentAllDeclarationsProcessed()"><!-- --></A><H3> | |
getDocumentAllDeclarationsProcessed</H3> | |
<PRE> | |
public boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2002"><B>getDocumentAllDeclarationsProcessed</B></A>()</PRE> | |
<DL> | |
<DD>Return an indication of | |
whether the processor has read the complete DTD. Its value is a | |
boolean. If it is false, then certain properties (indicated in their | |
descriptions below) may be unknown. If it is true, those properties | |
are never unknown. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentAllDeclarationsProcessed()">getDocumentAllDeclarationsProcessed</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD><code>true</code> if all declarations were processed; | |
<code>false</code> otherwise.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentTypeDeclarationSystemIdentifier()"><!-- --></A><H3> | |
getDocumentTypeDeclarationSystemIdentifier</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2017"><B>getDocumentTypeDeclarationSystemIdentifier</B></A>()</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. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentTypeDeclarationSystemIdentifier()">getDocumentTypeDeclarationSystemIdentifier</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the system identifier String object, or null if there is none.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDocumentTypeDeclarationPublicIdentifier()"><!-- --></A><H3> | |
getDocumentTypeDeclarationPublicIdentifier</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2027"><B>getDocumentTypeDeclarationPublicIdentifier</B></A>()</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. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getDocumentTypeDeclarationPublicIdentifier()">getDocumentTypeDeclarationPublicIdentifier</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the public identifier String object, or null if there is none.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getElementById(java.lang.String)"><!-- --></A><H3> | |
getElementById</H3> | |
<PRE> | |
public abstract int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2046"><B>getElementById</B></A>(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> | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getElementById(java.lang.String)">getElementById</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getUnparsedEntityURI(java.lang.String)"><!-- --></A><H3> | |
getUnparsedEntityURI</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2082"><B>getUnparsedEntityURI</B></A>(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.) | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getUnparsedEntityURI(java.lang.String)">getUnparsedEntityURI</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="supportsPreStripping()"><!-- --></A><H3> | |
supportsPreStripping</H3> | |
<PRE> | |
public boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2092"><B>supportsPreStripping</B></A>()</PRE> | |
<DL> | |
<DD>Return true if the xsl:strip-space or xsl:preserve-space was processed | |
during construction of the DTM document. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#supportsPreStripping()">supportsPreStripping</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>true if this DTM supports prestripping.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isNodeAfter(int, int)"><!-- --></A><H3> | |
isNodeAfter</H3> | |
<PRE> | |
public boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2113"><B>isNodeAfter</B></A>(int nodeHandle1, | |
int nodeHandle2)</PRE> | |
<DL> | |
<DD>Figure out whether nodeHandle2 should be considered as being later | |
in the document than nodeHandle1, in Document Order as defined | |
by the XPath model. This may not agree with the ordering defined | |
by other XML applications. | |
<p> | |
There are some cases where ordering isn't defined, and neither are | |
the results of this function -- though we'll generally return false. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#isNodeAfter(int, int)">isNodeAfter</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle1</CODE> - Node handle to perform position comparison on.<DD><CODE>nodeHandle2</CODE> - Second Node handle to perform position comparison on . | |
<DT><B>Returns:</B><DD>true if node1 comes before node2, otherwise return false. | |
You can think of this as | |
<code>(node1.documentOrderPosition <= node2.documentOrderPosition)</code>.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isCharacterElementContentWhitespace(int)"><!-- --></A><H3> | |
isCharacterElementContentWhitespace</H3> | |
<PRE> | |
public boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2138"><B>isCharacterElementContentWhitespace</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>2. [element content whitespace] A boolean indicating whether the | |
character is white space appearing within element content (see [XML], | |
2.10 "White Space Handling"). Note that validating XML processors are | |
required by XML 1.0 to provide this information. If there is no | |
declaration for the containing element, this property has no value for | |
white space characters. If no declaration has been read, but the [all | |
declarations processed] property of the document information item is | |
false (so there may be an unread declaration), then the value of this | |
property is unknown for white space characters. It is always false for | |
characters that are not white space. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#isCharacterElementContentWhitespace(int)">isCharacterElementContentWhitespace</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the node ID. | |
<DT><B>Returns:</B><DD><code>true</code> if the character data is whitespace; | |
<code>false</code> otherwise.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isDocumentAllDeclarationsProcessed(int)"><!-- --></A><H3> | |
isDocumentAllDeclarationsProcessed</H3> | |
<PRE> | |
public boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2157"><B>isDocumentAllDeclarationsProcessed</B></A>(int documentHandle)</PRE> | |
<DL> | |
<DD>10. [all declarations processed] This property is not strictly speaking | |
part of the infoset of the document. Rather it is an indication of | |
whether the processor has read the complete DTD. Its value is a | |
boolean. If it is false, then certain properties (indicated in their | |
descriptions below) may be unknown. If it is true, those properties | |
are never unknown. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#isDocumentAllDeclarationsProcessed(int)">isDocumentAllDeclarationsProcessed</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>documentHandle</CODE> - A node handle that must identify a document. | |
<DT><B>Returns:</B><DD><code>true</code> if all declarations were processed; | |
<code>false</code> otherwise.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isAttributeSpecified(int)"><!-- --></A><H3> | |
isAttributeSpecified</H3> | |
<PRE> | |
public abstract boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2172"><B>isAttributeSpecified</B></A>(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. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#isAttributeSpecified(int)">isAttributeSpecified</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>attributeHandle</CODE> - The attribute handle in question. | |
<DT><B>Returns:</B><DD><code>true</code> if the attribute was specified; | |
<code>false</code> if it was defaulted.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="dispatchCharactersEvents(int, org.xml.sax.ContentHandler, boolean)"><!-- --></A><H3> | |
dispatchCharactersEvents</H3> | |
<PRE> | |
public abstract void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2193"><B>dispatchCharactersEvents</B></A>(int nodeHandle, | |
org.xml.sax.ContentHandler ch, | |
boolean normalize) | |
throws org.xml.sax.SAXException</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. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#dispatchCharactersEvents(int, org.xml.sax.ContentHandler, boolean)">dispatchCharactersEvents</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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><CODE>org.xml.sax.SAXException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="dispatchToEvents(int, org.xml.sax.ContentHandler)"><!-- --></A><H3> | |
dispatchToEvents</H3> | |
<PRE> | |
public abstract void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2205"><B>dispatchToEvents</B></A>(int nodeHandle, | |
org.xml.sax.ContentHandler ch) | |
throws org.xml.sax.SAXException</PRE> | |
<DL> | |
<DD>Directly create SAX parser events from a subtree. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#dispatchToEvents(int, org.xml.sax.ContentHandler)">dispatchToEvents</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<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><CODE>org.xml.sax.SAXException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNode(int)"><!-- --></A><H3> | |
getNode</H3> | |
<PRE> | |
public org.w3c.dom.Node <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2216"><B>getNode</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Return an DOM node for the given node. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#getNode(int)">getNode</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - The node ID. | |
<DT><B>Returns:</B><DD>A node representation of the DTM node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="appendChild(int, boolean, boolean)"><!-- --></A><H3> | |
appendChild</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2235"><B>appendChild</B></A>(int newChild, | |
boolean clone, | |
boolean cloneDepth)</PRE> | |
<DL> | |
<DD>Append a child to the end of the document. Please note that the node | |
is always cloned if it is owned by another document. | |
<p>%REVIEW% "End of the document" needs to be defined more clearly. | |
Does it become the last child of the Document? Of the root element?</p> | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#appendChild(int, boolean, boolean)">appendChild</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>newChild</CODE> - Must be a valid new node handle.<DD><CODE>clone</CODE> - true if the child should be cloned into the document.<DD><CODE>cloneDepth</CODE> - if the clone argument is true, specifies that the | |
clone should include all it's children.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="appendTextChild(java.lang.String)"><!-- --></A><H3> | |
appendTextChild</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2249"><B>appendTextChild</B></A>(java.lang.String str)</PRE> | |
<DL> | |
<DD>Append a text node child that will be constructed from a string, | |
to the end of the document. | |
<p>%REVIEW% "End of the document" needs to be defined more clearly. | |
Does it become the last child of the Document? Of the root element?</p> | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#appendTextChild(java.lang.String)">appendTextChild</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>str</CODE> - Non-null reverence to a string.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="error(java.lang.String)"><!-- --></A><H3> | |
error</H3> | |
<PRE> | |
protected void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2259"><B>error</B></A>(java.lang.String msg)</PRE> | |
<DL> | |
<DD>Simple error for asserts and the like. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - Error message to report.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getShouldStripWhitespace()"><!-- --></A><H3> | |
getShouldStripWhitespace</H3> | |
<PRE> | |
protected boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2270"><B>getShouldStripWhitespace</B></A>()</PRE> | |
<DL> | |
<DD>Find out whether or not to strip whispace nodes. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>whether or not to strip whispace nodes.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="pushShouldStripWhitespace(boolean)"><!-- --></A><H3> | |
pushShouldStripWhitespace</H3> | |
<PRE> | |
protected void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2281"><B>pushShouldStripWhitespace</B></A>(boolean shouldStrip)</PRE> | |
<DL> | |
<DD>Set whether to strip whitespaces and push in current value of | |
m_shouldStripWS in m_shouldStripWhitespaceStack. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>shouldStrip</CODE> - Flag indicating whether to strip whitespace nodes</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="popShouldStripWhitespace()"><!-- --></A><H3> | |
popShouldStripWhitespace</H3> | |
<PRE> | |
protected void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2295"><B>popShouldStripWhitespace</B></A>()</PRE> | |
<DL> | |
<DD>Set whether to strip whitespaces at this point by popping out | |
m_shouldStripWhitespaceStack. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setShouldStripWhitespace(boolean)"><!-- --></A><H3> | |
setShouldStripWhitespace</H3> | |
<PRE> | |
protected void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2308"><B>setShouldStripWhitespace</B></A>(boolean shouldStrip)</PRE> | |
<DL> | |
<DD>Set whether to strip whitespaces and set the top of the stack to | |
the current value of m_shouldStripWS. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>shouldStrip</CODE> - Flag indicating whether to strip whitespace nodes</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="documentRegistration()"><!-- --></A><H3> | |
documentRegistration</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2322"><B>documentRegistration</B></A>()</PRE> | |
<DL> | |
<DD>A dummy routine to satisify the abstract interface. If the DTM | |
implememtation that extends the default base requires notification | |
of registration, they can override this method. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#documentRegistration()">documentRegistration</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="documentRelease()"><!-- --></A><H3> | |
documentRelease</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2331"><B>documentRelease</B></A>()</PRE> | |
<DL> | |
<DD>A dummy routine to satisify the abstract interface. If the DTM | |
implememtation that extends the default base requires notification | |
when the document is being released, they can override this method | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#documentRelease()">documentRelease</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="migrateTo(org.apache.xml.dtm.DTMManager)"><!-- --></A><H3> | |
migrateTo</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2342"><B>migrateTo</B></A>(<A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A> mgr)</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. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html#migrateTo(org.apache.xml.dtm.DTMManager)">migrateTo</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>mgr</CODE> - the DTMManager</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getManager()"><!-- --></A><H3> | |
getManager</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2355"><B>getManager</B></A>()</PRE> | |
<DL> | |
<DD>Query which DTMManager this DTM is currently being handled by. | |
%REVEW% Should this become part of the base DTM API? | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>a DTMManager, or null if this is a "stand-alone" DTM.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDTMIDs()"><!-- --></A><H3> | |
getDTMIDs</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/utils/SuballocatedIntVector.html" title="class in org.apache.xml.utils">SuballocatedIntVector</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMDefaultBase.html#line.2366"><B>getDTMIDs</B></A>()</PRE> | |
<DL> | |
<DD>Query which DTMIDs this DTM is currently using within the DTMManager. | |
%REVEW% Should this become part of the base DTM API? | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>an IntVector, or null if this is a "stand-alone" DTM.</DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<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/DTMDefaultBase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/DTMChildIterNodeList.html" title="class in org.apache.xml.dtm.ref"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/DTMDefaultBaseIterators.html" title="class in org.apache.xml.dtm.ref"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xml/dtm/ref/DTMDefaultBase.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DTMDefaultBase.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |