<!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:32 PDT 2012 --> | |
<TITLE> | |
DTMManagerDefault | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xml.dtm.ref.DTMManagerDefault class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="DTMManagerDefault"; | |
} | |
</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/DTMManagerDefault.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/DTMDocumentImpl.html" title="class in org.apache.xml.dtm.ref"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/DTMNamedNodeMap.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/DTMManagerDefault.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DTMManagerDefault.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 DTMManagerDefault</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">org.apache.xml.dtm.DTMManager</A> | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xml.dtm.ref.DTMManagerDefault</B> | |
</PRE> | |
<DL> | |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/xalan/xsltc/dom/XSLTCDTMManager.html" title="class in org.apache.xalan.xsltc.dom">XSLTCDTMManager</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.73"><B>DTMManagerDefault</B></A><DT>extends <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></DL> | |
</PRE> | |
<P> | |
The default implementation for the DTMManager. | |
%REVIEW% There is currently a reentrancy issue, since the finalizer | |
for XRTreeFrag (which runs in the GC thread) wants to call | |
DTMManager.release(), and may do so at the same time that the main | |
transformation thread is accessing the manager. Our current solution is | |
to make most of the manager's methods <code>synchronized</code>. | |
Early tests suggest that doing so is not causing a significant | |
performance hit in Xalan. However, it should be noted that there | |
is a possible alternative solution: rewrite release() so it merely | |
posts a request for release onto a threadsafe queue, and explicitly | |
process that queue on an infrequent basis during main-thread | |
activity (eg, when getDTM() is invoked). The downside of that solution | |
would be a greater delay before the DTM's storage is actually released | |
for reuse. | |
<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>private static boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#DEBUG">DEBUG</A></B></CODE> | |
<BR> | |
Set this to true if you want a basic diagnostics.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#DUMPTREE">DUMPTREE</A></B></CODE> | |
<BR> | |
Set this to true if you want a dump of the DTM after creation.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected org.xml.sax.helpers.DefaultHandler</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#m_defaultHandler">m_defaultHandler</A></B></CODE> | |
<BR> | |
The default implementation of ContentHandler, DTDHandler and ErrorHandler.</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/DTMManagerDefault.html#m_dtm_offsets">m_dtm_offsets</A></B></CODE> | |
<BR> | |
Map from DTM identifier numbers to offsets.</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/DTM.html" title="interface in org.apache.xml.dtm">DTM</A>[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#m_dtms">m_dtms</A></B></CODE> | |
<BR> | |
Map from DTM identifier numbers to DTM objects that this manager manages.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <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/DTMManagerDefault.html#m_expandedNameTable">m_expandedNameTable</A></B></CODE> | |
<BR> | |
The default 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/XMLReaderManager.html" title="class in org.apache.xml.utils">XMLReaderManager</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#m_readerManager">m_readerManager</A></B></CODE> | |
<BR> | |
The cache for XMLReader objects to be used if the user did not | |
supply an XMLReader for a SAXSource or supplied a StreamSource.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="fields_inherited_from_class_org.apache.xml.dtm.DTMManager"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Fields inherited from class org.apache.xml.dtm.<A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#IDENT_DTM_DEFAULT">IDENT_DTM_DEFAULT</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#IDENT_DTM_NODE_BITS">IDENT_DTM_NODE_BITS</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#IDENT_MAX_DTMS">IDENT_MAX_DTMS</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#IDENT_NODE_DEFAULT">IDENT_NODE_DEFAULT</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#m_incremental">m_incremental</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#m_source_location">m_source_location</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#m_xsf">m_xsf</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/DTMManagerDefault.html#DTMManagerDefault()">DTMManagerDefault</A></B>()</CODE> | |
<BR> | |
Constructor DTMManagerDefault</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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#addDTM(org.apache.xml.dtm.DTM, int)">addDTM</A></B>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm, | |
int id)</CODE> | |
<BR> | |
Add a DTM to the DTM table.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#addDTM(org.apache.xml.dtm.DTM, int, int)">addDTM</A></B>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm, | |
int id, | |
int offset)</CODE> | |
<BR> | |
Add a DTM to the DTM table.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#createDocumentFragment()">createDocumentFragment</A></B>()</CODE> | |
<BR> | |
Method createDocumentFragment | |
NEEDSDOC (createDocumentFragment) @return</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#createDTMIterator(int)">createDTMIterator</A></B>(int node)</CODE> | |
<BR> | |
NEEDSDOC Method createDTMIterator | |
NEEDSDOC @param node | |
NEEDSDOC (createDTMIterator) @return</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#createDTMIterator(int, org.apache.xml.dtm.DTMFilter, boolean)">createDTMIterator</A></B>(int whatToShow, | |
<A HREF="../../../../../org/apache/xml/dtm/DTMFilter.html" title="interface in org.apache.xml.dtm">DTMFilter</A> filter, | |
boolean entityReferenceExpansion)</CODE> | |
<BR> | |
NEEDSDOC Method createDTMIterator | |
NEEDSDOC @param whatToShow | |
NEEDSDOC @param filter | |
NEEDSDOC @param entityReferenceExpansion | |
NEEDSDOC (createDTMIterator) @return</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#createDTMIterator(java.lang.Object, int)">createDTMIterator</A></B>(java.lang.Object xpathCompiler, | |
int pos)</CODE> | |
<BR> | |
NEEDSDOC Method createDTMIterator | |
NEEDSDOC @param xpathCompiler | |
NEEDSDOC @param pos | |
NEEDSDOC (createDTMIterator) @return</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#createDTMIterator(java.lang.String, org.apache.xml.utils.PrefixResolver)">createDTMIterator</A></B>(java.lang.String xpathString, | |
<A HREF="../../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A> presolver)</CODE> | |
<BR> | |
NEEDSDOC Method createDTMIterator | |
NEEDSDOC @param xpathString | |
NEEDSDOC @param presolver | |
NEEDSDOC (createDTMIterator) @return</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#getDTM(int)">getDTM</A></B>(int nodeHandle)</CODE> | |
<BR> | |
Return the DTM object containing a representation of this node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#getDTM(javax.xml.transform.Source, boolean, org.apache.xml.dtm.DTMWSFilter, boolean, boolean)">getDTM</A></B>(javax.xml.transform.Source source, | |
boolean unique, | |
<A HREF="../../../../../org/apache/xml/dtm/DTMWSFilter.html" title="interface in org.apache.xml.dtm">DTMWSFilter</A> whiteSpaceFilter, | |
boolean incremental, | |
boolean doIndexing)</CODE> | |
<BR> | |
Get an instance of a DTM, loaded with the content from the | |
specified source.</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/DTMManagerDefault.html#getDTMHandleFromNode(org.w3c.dom.Node)">getDTMHandleFromNode</A></B>(org.w3c.dom.Node node)</CODE> | |
<BR> | |
Given a W3C DOM node, try and return a DTM 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/DTMManagerDefault.html#getDTMIdentity(org.apache.xml.dtm.DTM)">getDTMIdentity</A></B>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm)</CODE> | |
<BR> | |
Given a DTM, find the ID number in the DTM tables which addresses | |
the start 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/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/DTMManagerDefault.html#getExpandedNameTable(org.apache.xml.dtm.DTM)">getExpandedNameTable</A></B>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm)</CODE> | |
<BR> | |
return the expanded name table.</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/DTMManagerDefault.html#getFirstFreeDTMID()">getFirstFreeDTMID</A></B>()</CODE> | |
<BR> | |
Get the first free DTM ID available.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> org.xml.sax.XMLReader</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/DTMManagerDefault.html#getXMLReader(javax.xml.transform.Source)">getXMLReader</A></B>(javax.xml.transform.Source inputSource)</CODE> | |
<BR> | |
This method returns the SAX2 parser to use with the InputSource | |
obtained from this URI.</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/DTMManagerDefault.html#release(org.apache.xml.dtm.DTM, boolean)">release</A></B>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm, | |
boolean shouldHardDelete)</CODE> | |
<BR> | |
Release the DTMManager's reference(s) to a DTM, making it unmanaged.</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/DTMManagerDefault.html#releaseXMLReader(org.xml.sax.XMLReader)">releaseXMLReader</A></B>(org.xml.sax.XMLReader reader)</CODE> | |
<BR> | |
Indicates that the XMLReader object is no longer in use for the transform.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_org.apache.xml.dtm.DTMManager"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class org.apache.xml.dtm.<A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getDTMIdentityMask()">getDTMIdentityMask</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getIncremental()">getIncremental</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getNodeIdentityMask()">getNodeIdentityMask</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getSource_location()">getSource_location</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getXMLStringFactory()">getXMLStringFactory</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#newInstance(org.apache.xml.utils.XMLStringFactory)">newInstance</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#setIncremental(boolean)">setIncremental</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#setSource_location(boolean)">setSource_location</A>, <A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#setXMLStringFactory(org.apache.xml.utils.XMLStringFactory)">setXMLStringFactory</A></CODE></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> | |
| |
<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="DUMPTREE"><!-- --></A><H3> | |
DUMPTREE</H3> | |
<PRE> | |
private static final boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.78"><B>DUMPTREE</B></A></PRE> | |
<DL> | |
<DD>Set this to true if you want a dump of the DTM after creation. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.DTMManagerDefault.DUMPTREE">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="DEBUG"><!-- --></A><H3> | |
DEBUG</H3> | |
<PRE> | |
private static final boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.81"><B>DEBUG</B></A></PRE> | |
<DL> | |
<DD>Set this to true if you want a basic diagnostics. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.DTMManagerDefault.DEBUG">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="m_dtms"><!-- --></A><H3> | |
m_dtms</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A>[] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.94"><B>m_dtms</B></A></PRE> | |
<DL> | |
<DD>Map from DTM identifier numbers to DTM objects that this manager manages. | |
One DTM may have several prefix numbers, if extended node indexing | |
is in use; in that case, m_dtm_offsets[] will used to control which | |
prefix maps to which section of the DTM. | |
This array grows as necessary; see addDTM(). | |
This array grows as necessary; see addDTM(). Growth is uncommon... but | |
access needs to be blindingly fast since it's used in node addressing. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_dtm_offsets"><!-- --></A><H3> | |
m_dtm_offsets</H3> | |
<PRE> | |
int[] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.109"><B>m_dtm_offsets</B></A></PRE> | |
<DL> | |
<DD>Map from DTM identifier numbers to offsets. For small DTMs with a | |
single identifier, this will always be 0. In overflow addressing, where | |
additional identifiers are allocated to access nodes beyond the range of | |
a single Node Handle, this table is used to map the handle's node field | |
into the actual node identifier. | |
This array grows as necessary; see addDTM(). | |
This array grows as necessary; see addDTM(). Growth is uncommon... but | |
access needs to be blindingly fast since it's used in node addressing. | |
(And at the moment, that includes accessing it from DTMDefaultBase, | |
which is why this is not Protected or Private.) | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_readerManager"><!-- --></A><H3> | |
m_readerManager</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xml/utils/XMLReaderManager.html" title="class in org.apache.xml.utils">XMLReaderManager</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.115"><B>m_readerManager</B></A></PRE> | |
<DL> | |
<DD>The cache for XMLReader objects to be used if the user did not | |
supply an XMLReader for a SAXSource or supplied a StreamSource. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_defaultHandler"><!-- --></A><H3> | |
m_defaultHandler</H3> | |
<PRE> | |
protected org.xml.sax.helpers.DefaultHandler <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.120"><B>m_defaultHandler</B></A></PRE> | |
<DL> | |
<DD>The default implementation of ContentHandler, DTDHandler and ErrorHandler. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_expandedNameTable"><!-- --></A><H3> | |
m_expandedNameTable</H3> | |
<PRE> | |
private <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/DTMManagerDefault.html#line.200"><B>m_expandedNameTable</B></A></PRE> | |
<DL> | |
<DD>The default table for exandedNameID lookups. | |
<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="DTMManagerDefault()"><!-- --></A><H3> | |
DTMManagerDefault</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.207"><B>DTMManagerDefault</B></A>()</PRE> | |
<DL> | |
<DD>Constructor DTMManagerDefault | |
<P> | |
</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="addDTM(org.apache.xml.dtm.DTM, int)"><!-- --></A><H3> | |
addDTM</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.130"><B>addDTM</B></A>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm, | |
int id)</PRE> | |
<DL> | |
<DD>Add a DTM to the DTM table. This convenience call adds it as the | |
"base DTM ID", with offset 0. The other version of addDTM should | |
be used if you want to add "extended" DTM IDs with nonzero offsets. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>dtm</CODE> - Should be a valid reference to a DTM.<DD><CODE>id</CODE> - Integer DTM ID to be bound to this DTM</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="addDTM(org.apache.xml.dtm.DTM, int, int)"><!-- --></A><H3> | |
addDTM</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.143"><B>addDTM</B></A>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm, | |
int id, | |
int offset)</PRE> | |
<DL> | |
<DD>Add a DTM to the DTM table. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>dtm</CODE> - Should be a valid reference to a DTM.<DD><CODE>id</CODE> - Integer DTM ID to be bound to this DTM.<DD><CODE>offset</CODE> - Integer addressing offset. The internal DTM Node ID is | |
obtained by adding this offset to the node-number field of the | |
public DTM Handle. For the first DTM ID accessing each DTM, this is 0; | |
for overflow addressing it will be a multiple of 1<<IDENT_DTM_NODE_BITS.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getFirstFreeDTMID()"><!-- --></A><H3> | |
getFirstFreeDTMID</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.184"><B>getFirstFreeDTMID</B></A>()</PRE> | |
<DL> | |
<DD>Get the first free DTM ID available. %OPT% Linear search is inefficient! | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDTM(javax.xml.transform.Source, boolean, org.apache.xml.dtm.DTMWSFilter, boolean, boolean)"><!-- --></A><H3> | |
getDTM</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.236"><B>getDTM</B></A>(javax.xml.transform.Source source, | |
boolean unique, | |
<A HREF="../../../../../org/apache/xml/dtm/DTMWSFilter.html" title="interface in org.apache.xml.dtm">DTMWSFilter</A> whiteSpaceFilter, | |
boolean incremental, | |
boolean doIndexing)</PRE> | |
<DL> | |
<DD>Get an instance of a DTM, loaded with the content from the | |
specified source. If the unique flag is true, a new instance will | |
always be returned. Otherwise it is up to the DTMManager to return a | |
new instance or an instance that it already created and may be being used | |
by someone else. | |
A bit of magic in this implementation: If the source is null, unique is true, | |
and incremental and doIndexing are both false, we return an instance of | |
SAX2RTFDTM, which see. | |
(I think more parameters will need to be added for error handling, and entity | |
resolution, and more explicit control of the RTF situation). | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getDTM(javax.xml.transform.Source, boolean, org.apache.xml.dtm.DTMWSFilter, boolean, boolean)">getDTM</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>source</CODE> - the specification of the source object.<DD><CODE>unique</CODE> - true if the returned DTM must be unique, probably because it | |
is going to be mutated.<DD><CODE>whiteSpaceFilter</CODE> - Enables filtering of whitespace nodes, and may | |
be null.<DD><CODE>incremental</CODE> - true if the DTM should be built incrementally, if | |
possible.<DD><CODE>doIndexing</CODE> - true if the caller considers it worth it to use | |
indexing schemes. | |
<DT><B>Returns:</B><DD>a non-null DTM reference.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDTMHandleFromNode(org.w3c.dom.Node)"><!-- --></A><H3> | |
getDTMHandleFromNode</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.491"><B>getDTMHandleFromNode</B></A>(org.w3c.dom.Node node)</PRE> | |
<DL> | |
<DD>Given a W3C DOM node, try and return a DTM handle. | |
Note: calling this may be non-optimal, and there is no guarantee that | |
the node will be found in any particular DTM. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getDTMHandleFromNode(org.w3c.dom.Node)">getDTMHandleFromNode</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>node</CODE> - Non-null reference to a DOM node. | |
<DT><B>Returns:</B><DD>a valid DTM handle.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getXMLReader(javax.xml.transform.Source)"><!-- --></A><H3> | |
getXMLReader</H3> | |
<PRE> | |
public org.xml.sax.XMLReader <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.596"><B>getXMLReader</B></A>(javax.xml.transform.Source inputSource)</PRE> | |
<DL> | |
<DD>This method returns the SAX2 parser to use with the InputSource | |
obtained from this URI. | |
It may return null if any SAX2-conformant XML parser can be used, | |
or if getInputSource() will also return null. The parser must | |
be free for use (i.e., not currently in use for another parse(). | |
After use of the parser is completed, the releaseXMLReader(XMLReader) | |
must be called. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>inputSource</CODE> - The value returned from the URIResolver. | |
<DT><B>Returns:</B><DD>a SAX2 XMLReader to use to resolve the inputSource argument.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="releaseXMLReader(org.xml.sax.XMLReader)"><!-- --></A><H3> | |
releaseXMLReader</H3> | |
<PRE> | |
public void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.630"><B>releaseXMLReader</B></A>(org.xml.sax.XMLReader reader)</PRE> | |
<DL> | |
<DD>Indicates that the XMLReader object is no longer in use for the transform. | |
Note that the getXMLReader method may return an XMLReader that was | |
specified on the SAXSource object by the application code. Such a | |
reader should still be passed to releaseXMLReader, but the reader manager | |
will only re-use XMLReaders that it created. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The XMLReader to be released.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDTM(int)"><!-- --></A><H3> | |
getDTM</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.643"><B>getDTM</B></A>(int nodeHandle)</PRE> | |
<DL> | |
<DD>Return the DTM object containing a representation of this node. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getDTM(int)">getDTM</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - DTM Handle indicating which node to retrieve | |
<DT><B>Returns:</B><DD>a reference to the DTM object containing this node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDTMIdentity(org.apache.xml.dtm.DTM)"><!-- --></A><H3> | |
getDTMIdentity</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.669"><B>getDTMIdentity</B></A>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm)</PRE> | |
<DL> | |
<DD>Given a DTM, find the ID number in the DTM tables which addresses | |
the start of the document. If overflow addressing is in use, other | |
DTM IDs may also be assigned to this DTM. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#getDTMIdentity(org.apache.xml.dtm.DTM)">getDTMIdentity</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>dtm</CODE> - The DTM which (hopefully) contains this node. | |
<DT><B>Returns:</B><DD>The DTM ID (as the high bits of a NodeHandle, not as our | |
internal index), or -1 if the DTM doesn't belong to this manager.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="release(org.apache.xml.dtm.DTM, boolean)"><!-- --></A><H3> | |
release</H3> | |
<PRE> | |
public boolean <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.710"><B>release</B></A>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm, | |
boolean shouldHardDelete)</PRE> | |
<DL> | |
<DD>Release the DTMManager's reference(s) to a DTM, making it unmanaged. | |
This is typically done as part of returning the DTM to the heap after | |
we're done with it. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#release(org.apache.xml.dtm.DTM, boolean)">release</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>dtm</CODE> - the DTM to be released.<DD><CODE>shouldHardDelete</CODE> - If false, this call is a suggestion rather than an | |
order, and we may not actually release the DTM. This is intended to | |
support intelligent caching of documents... which is not implemented | |
in this version of the DTM manager. | |
<DT><B>Returns:</B><DD>true if the DTM was released, false if shouldHardDelete was set | |
and we decided not to.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="createDocumentFragment()"><!-- --></A><H3> | |
createDocumentFragment</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.761"><B>createDocumentFragment</B></A>()</PRE> | |
<DL> | |
<DD>Method createDocumentFragment | |
NEEDSDOC (createDocumentFragment) @return | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#createDocumentFragment()">createDocumentFragment</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>a non-null DTM reference.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="createDTMIterator(int, org.apache.xml.dtm.DTMFilter, boolean)"><!-- --></A><H3> | |
createDTMIterator</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.792"><B>createDTMIterator</B></A>(int whatToShow, | |
<A HREF="../../../../../org/apache/xml/dtm/DTMFilter.html" title="interface in org.apache.xml.dtm">DTMFilter</A> filter, | |
boolean entityReferenceExpansion)</PRE> | |
<DL> | |
<DD>NEEDSDOC Method createDTMIterator | |
NEEDSDOC @param whatToShow | |
NEEDSDOC @param filter | |
NEEDSDOC @param entityReferenceExpansion | |
NEEDSDOC (createDTMIterator) @return | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#createDTMIterator(int, org.apache.xml.dtm.DTMFilter, boolean)">createDTMIterator</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>whatToShow</CODE> - This flag specifies which node types may appear in | |
the logical view of the tree presented by the iterator. See the | |
description of <code>NodeFilter</code> for the set of possible | |
<code>SHOW_</code> values.These flags can be combined using | |
<code>OR</code>.<DD><CODE>filter</CODE> - The <code>NodeFilter</code> to be used with this | |
<code>DTMFilter</code>, or <code>null</code> to indicate no filter.<DD><CODE>entityReferenceExpansion</CODE> - The value of this flag determines | |
whether entity reference nodes are expanded. | |
<DT><B>Returns:</B><DD>The newly created <code>DTMIterator</code>.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="createDTMIterator(java.lang.String, org.apache.xml.utils.PrefixResolver)"><!-- --></A><H3> | |
createDTMIterator</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.809"><B>createDTMIterator</B></A>(java.lang.String xpathString, | |
<A HREF="../../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A> presolver)</PRE> | |
<DL> | |
<DD>NEEDSDOC Method createDTMIterator | |
NEEDSDOC @param xpathString | |
NEEDSDOC @param presolver | |
NEEDSDOC (createDTMIterator) @return | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#createDTMIterator(java.lang.String, org.apache.xml.utils.PrefixResolver)">createDTMIterator</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>xpathString</CODE> - Must be a valid string expressing a | |
<a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or | |
a <a href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>.<DD><CODE>presolver</CODE> - An object that can resolve prefixes to namespace URLs. | |
<DT><B>Returns:</B><DD>The newly created <code>DTMIterator</code>.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="createDTMIterator(int)"><!-- --></A><H3> | |
createDTMIterator</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.825"><B>createDTMIterator</B></A>(int node)</PRE> | |
<DL> | |
<DD>NEEDSDOC Method createDTMIterator | |
NEEDSDOC @param node | |
NEEDSDOC (createDTMIterator) @return | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#createDTMIterator(int)">createDTMIterator</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>node</CODE> - The node handle that the DTMIterator will iterate to. | |
<DT><B>Returns:</B><DD>The newly created <code>DTMIterator</code>.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="createDTMIterator(java.lang.Object, int)"><!-- --></A><H3> | |
createDTMIterator</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html" title="interface in org.apache.xml.dtm">DTMIterator</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/DTMManagerDefault.html#line.841"><B>createDTMIterator</B></A>(java.lang.Object xpathCompiler, | |
int pos)</PRE> | |
<DL> | |
<DD>NEEDSDOC Method createDTMIterator | |
NEEDSDOC @param xpathCompiler | |
NEEDSDOC @param pos | |
NEEDSDOC (createDTMIterator) @return | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html#createDTMIterator(java.lang.Object, int)">createDTMIterator</A></CODE> in class <CODE><A HREF="../../../../../org/apache/xml/dtm/DTMManager.html" title="class in org.apache.xml.dtm">DTMManager</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>xpathCompiler</CODE> - ??? Somehow we need to pass in a subpart of the | |
expression. I hate to do this with strings, since the larger expression | |
has already been parsed.<DD><CODE>pos</CODE> - The position in the expression. | |
<DT><B>Returns:</B><DD>The newly created <code>DTMIterator</code>.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getExpandedNameTable(org.apache.xml.dtm.DTM)"><!-- --></A><H3> | |
getExpandedNameTable</H3> | |
<PRE> | |
public <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/DTMManagerDefault.html#line.855"><B>getExpandedNameTable</B></A>(<A HREF="../../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm)</PRE> | |
<DL> | |
<DD>return the expanded name table. | |
NEEDSDOC @param dtm | |
NEEDSDOC ($objectName$) @return | |
<P> | |
<DD><DL> | |
</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/DTMManagerDefault.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/DTMDocumentImpl.html" title="class in org.apache.xml.dtm.ref"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/DTMNamedNodeMap.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/DTMManagerDefault.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="DTMManagerDefault.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> |