<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc on Tue Sep 18 10:25:51 GMT+01:00 2001 --> <TITLE> : Class DocumentImpl </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> </HEAD> <BODY BGCOLOR="white"> <!-- ========== START OF NAVBAR ========== --> <A NAME="navbar_top"><!-- --></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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="../../../../com/icl/saxon/tree/AttributeCollection.html"><B>PREV CLASS</B></A> <A HREF="../../../../com/icl/saxon/tree/ElementImpl.html"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="DocumentImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <!-- =========== END OF NAVBAR =========== --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.icl.saxon.tree</FONT> <BR> Class DocumentImpl</H2> <PRE> java.lang.Object | +--<A HREF="../../../../com/icl/saxon/om/AbstractNode.html">com.icl.saxon.om.AbstractNode</A> | +--<A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">com.icl.saxon.tree.NodeImpl</A> | +--com.icl.saxon.tree.ParentNodeImpl | +--<B>com.icl.saxon.tree.DocumentImpl</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD>org.w3c.dom.Document, <A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A>, javax.xml.transform.dom.DOMLocator, org.w3c.dom.Node, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>, javax.xml.transform.Source, javax.xml.transform.SourceLocator</DD> </DL> <HR> <DL> <DT>public final class <B>DocumentImpl</B><DT>extends com.icl.saxon.tree.ParentNodeImpl<DT>implements <A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A>, org.w3c.dom.Document</DL> <P> A node in the XML parse tree representing the Document itself (or equivalently, the root node of the Document).<P> <P> <HR> <P> <!-- ======== INNER CLASS SUMMARY ======== --> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Field Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#sequence">sequence</A></B></CODE> <BR> </TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.icl.saxon.tree.NodeImpl"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Fields inherited from class com.icl.saxon.tree.<A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#emptyArray">emptyArray</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#index">index</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#parent">parent</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.icl.saxon.om.AbstractNode"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Fields inherited from class com.icl.saxon.om.<A HREF="../../../../com/icl/saxon/om/AbstractNode.html">AbstractNode</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/icl/saxon/om/AbstractNode.html#NODE_LETTER">NODE_LETTER</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.icl.saxon.om.NodeInfo"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Fields inherited from interface com.icl.saxon.om.<A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#ATTRIBUTE">ATTRIBUTE</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#COMMENT">COMMENT</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#ELEMENT">ELEMENT</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#NAMESPACE">NAMESPACE</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#NODE">NODE</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#NONE">NONE</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#NUMBER_OF_TYPES">NUMBER_OF_TYPES</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#PI">PI</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#ROOT">ROOT</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#TEXT">TEXT</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_org.w3c.dom.Node"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Fields inherited from interface org.w3c.dom.Node</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE</CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#DocumentImpl()">DocumentImpl</A></B>()</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#addChild(com.icl.saxon.tree.NodeImpl, int)">addChild</A></B>(<A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A> node, int index)</CODE> <BR> Add a child node to this node.</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="../../../../com/icl/saxon/tree/DocumentImpl.html#compact(int)">compact</A></B>(int size)</CODE> <BR> Compact the space used by this node</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="../../../../com/icl/saxon/tree/DocumentImpl.html#copy(com.icl.saxon.output.Outputter)">copy</A></B>(<A HREF="../../../../com/icl/saxon/output/Outputter.html">Outputter</A> out)</CODE> <BR> Copy this node to a given outputter</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="../../../../com/icl/saxon/tree/DocumentImpl.html#copyStringValue(com.icl.saxon.output.Outputter)">copyStringValue</A></B>(<A HREF="../../../../com/icl/saxon/output/Outputter.html">Outputter</A> out)</CODE> <BR> Copy the string-value of this node to a given outputter</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="../../../../com/icl/saxon/tree/DocumentImpl.html#dropChildren()">dropChildren</A></B>()</CODE> <BR> Drop a branch of the tree.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/icl/saxon/om/AxisEnumeration.html">AxisEnumeration</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#enumerateChildren(com.icl.saxon.pattern.NodeTest)">enumerateChildren</A></B>(<A HREF="../../../../com/icl/saxon/pattern/NodeTest.html">NodeTest</A> test)</CODE> <BR> Get an enumeration of the children of this 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="../../../../com/icl/saxon/tree/DocumentImpl.html#generateId()">generateId</A></B>()</CODE> <BR> Get a character string that uniquely identifies this node within the document</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../com/icl/saxon/om/AxisEnumeration.html">AxisEnumeration</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getAllElements(int)">getAllElements</A></B>(int fingerprint)</CODE> <BR> Get a list of all elements with a given name fingerprint</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getBaseURI()">getBaseURI</A></B>()</CODE> <BR> Get the base URI of this root node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.StringBuffer</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getCharacterBuffer()">getCharacterBuffer</A></B>()</CODE> <BR> Get the character buffer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.w3c.dom.NodeList</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getChildNodes()">getChildNodes</A></B>()</CODE> <BR> Return a <code>NodeList</code> that contains all children of this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.w3c.dom.Element</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getDocumentElement()">getDocumentElement</A></B>()</CODE> <BR> Get the root (outermost) element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getDocumentRoot()">getDocumentRoot</A></B>()</CODE> <BR> Get the root (document) node</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getFirstChild()">getFirstChild</A></B>()</CODE> <BR> Get the first child node of the element</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.Hashtable</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getKeyIndex(com.icl.saxon.KeyManager, int)">getKeyIndex</A></B>(<A HREF="../../../../com/icl/saxon/KeyManager.html">KeyManager</A> keymanager, int fingerprint)</CODE> <BR> Get the index for a given key</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getLastChild()">getLastChild</A></B>()</CODE> <BR> Get the last child node of the element</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getLineNumber()">getLineNumber</A></B>()</CODE> <BR> Get the line number of this root 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="../../../../com/icl/saxon/tree/DocumentImpl.html#getLineNumber(int)">getLineNumber</A></B>(int sequence)</CODE> <BR> Get the line number for an element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/icl/saxon/om/NamePool.html">NamePool</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getNamePool()">getNamePool</A></B>()</CODE> <BR> Get the name pool used for the names in this document</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getNextSibling()">getNextSibling</A></B>()</CODE> <BR> Get next sibling - always null</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/icl/saxon/tree/NodeFactory.html">NodeFactory</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getNodeFactory()">getNodeFactory</A></B>()</CODE> <BR> Get the node factory that was used to build this document</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getNodeType()">getNodeType</A></B>()</CODE> <BR> Return the type of 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="../../../../com/icl/saxon/tree/DocumentImpl.html#getNodeValue()">getNodeValue</A></B>()</CODE> <BR> Get the node value as defined in the DOM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getNthChild(int)">getNthChild</A></B>(int n)</CODE> <BR> Get the nth child node of the element (numbering from 0)</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getPreviousSibling()">getPreviousSibling</A></B>()</CODE> <BR> Get previous sibling - always null</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected long</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#getSequenceNumber()">getSequenceNumber</A></B>()</CODE> <BR> Get the node sequence number (in document order).</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getStringValue()">getStringValue</A></B>()</CODE> <BR> Return the string-value of the node, that is, the concatenation of the character content of all descendent elements and text nodes.</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getSystemId()">getSystemId</A></B>()</CODE> <BR> Get the system id of this root node</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getSystemId(int)">getSystemId</A></B>(int seq)</CODE> <BR> Get the system id of an element in the document</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="../../../../com/icl/saxon/tree/DocumentImpl.html#getUnparsedEntity(java.lang.String)">getUnparsedEntity</A></B>(java.lang.String name)</CODE> <BR> Get the unparsed entity with a given name</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="../../../../com/icl/saxon/tree/DocumentImpl.html#hasChildNodes()">hasChildNodes</A></B>()</CODE> <BR> Determine if the node has any children.</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="../../../../com/icl/saxon/tree/DocumentImpl.html#removeChild(int)">removeChild</A></B>(int index)</CODE> <BR> Remove node at given index.</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="../../../../com/icl/saxon/tree/DocumentImpl.html#renumberChildren()">renumberChildren</A></B>()</CODE> <BR> Renumber the children of a given parent node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#selectID(java.lang.String)">selectID</A></B>(java.lang.String id)</CODE> <BR> Get the element with a given ID.</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="../../../../com/icl/saxon/tree/DocumentImpl.html#setCharacterBuffer(java.lang.StringBuffer)">setCharacterBuffer</A></B>(java.lang.StringBuffer buffer)</CODE> <BR> Set the character buffer</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="../../../../com/icl/saxon/tree/DocumentImpl.html#setDocumentElement(com.icl.saxon.tree.ElementImpl)">setDocumentElement</A></B>(<A HREF="../../../../com/icl/saxon/tree/ElementImpl.html">ElementImpl</A> e)</CODE> <BR> Set the top-level element of the document (variously called the root element or the document element).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#setKeyIndex(com.icl.saxon.KeyManager, int, java.util.Hashtable)">setKeyIndex</A></B>(<A HREF="../../../../com/icl/saxon/KeyManager.html">KeyManager</A> keymanager, int fingerprint, java.util.Hashtable keyindex)</CODE> <BR> Set the index for a given key.</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="../../../../com/icl/saxon/tree/DocumentImpl.html#setLineNumber(int, int)">setLineNumber</A></B>(int sequence, int line)</CODE> <BR> Set the line number for an element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#setLineNumbering()">setLineNumbering</A></B>()</CODE> <BR> Set line numbering on</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="../../../../com/icl/saxon/tree/DocumentImpl.html#setNamePool(com.icl.saxon.om.NamePool)">setNamePool</A></B>(<A HREF="../../../../com/icl/saxon/om/NamePool.html">NamePool</A> pool)</CODE> <BR> Set the name pool used for all names in this 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="../../../../com/icl/saxon/tree/DocumentImpl.html#setNodeFactory(com.icl.saxon.tree.NodeFactory)">setNodeFactory</A></B>(<A HREF="../../../../com/icl/saxon/tree/NodeFactory.html">NodeFactory</A> factory)</CODE> <BR> Set the node factory that was used to build this 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="../../../../com/icl/saxon/tree/DocumentImpl.html#setSystemId(int, java.lang.String)">setSystemId</A></B>(int seq, java.lang.String uri)</CODE> <BR> Set the system id of an element in the document</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/icl/saxon/tree/DocumentImpl.html#setSystemId(java.lang.String)">setSystemId</A></B>(java.lang.String uri)</CODE> <BR> Set the system id of this 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="../../../../com/icl/saxon/tree/DocumentImpl.html#setUnparsedEntity(java.lang.String, java.lang.String)">setUnparsedEntity</A></B>(java.lang.String name, java.lang.String uri)</CODE> <BR> Set an unparsed entity URI associated with this 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="../../../../com/icl/saxon/tree/DocumentImpl.html#useChildrenArray(com.icl.saxon.tree.NodeImpl[])">useChildrenArray</A></B>(<A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A>[] array)</CODE> <BR> Supply an array to be used for the array of children.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.icl.saxon.tree.NodeImpl"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class com.icl.saxon.tree.<A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#compareOrder(com.icl.saxon.om.NodeInfo)">compareOrder</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getAttributes()">getAttributes</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getAttributeValue(int)">getAttributeValue</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getAttributeValue(java.lang.String, java.lang.String)">getAttributeValue</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getDisplayName()">getDisplayName</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getEnumeration(byte, com.icl.saxon.pattern.NodeTest)">getEnumeration</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getFingerprint()">getFingerprint</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getLocalName()">getLocalName</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getNameCode()">getNameCode</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getNextInDocument(com.icl.saxon.tree.NodeImpl)">getNextInDocument</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getOriginatingNode()">getOriginatingNode</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getParent()">getParent</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getPrefix()">getPrefix</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getPreviousInDocument()">getPreviousInDocument</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getURI()">getURI</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#hasAttributes()">hasAttributes</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#isSameNode(com.icl.saxon.om.NodeInfo)">isSameNode</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#outputNamespaceNodes(com.icl.saxon.output.Outputter, boolean)">outputNamespaceNodes</A>, <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#removeNode()">removeNode</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.icl.saxon.om.AbstractNode"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class com.icl.saxon.om.<A HREF="../../../../com/icl/saxon/om/AbstractNode.html">AbstractNode</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/icl/saxon/om/AbstractNode.html#appendChild(org.w3c.dom.Node)">appendChild</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#appendData(java.lang.String)">appendData</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#cloneNode(boolean)">cloneNode</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createAttribute(java.lang.String)">createAttribute</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createAttributeNS(java.lang.String, java.lang.String)">createAttributeNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createCDATASection(java.lang.String)">createCDATASection</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createComment(java.lang.String)">createComment</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createDocumentFragment()">createDocumentFragment</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createElement(java.lang.String)">createElement</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createElementNS(java.lang.String, java.lang.String)">createElementNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createEntityReference(java.lang.String)">createEntityReference</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createProcessingInstruction(java.lang.String, java.lang.String)">createProcessingInstruction</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#createTextNode(java.lang.String)">createTextNode</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#deleteData(int, int)">deleteData</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#disallowUpdate()">disallowUpdate</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getAttributeNode(java.lang.String)">getAttributeNode</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getAttributeNodeNS(java.lang.String, java.lang.String)">getAttributeNodeNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getAttributeNS(java.lang.String, java.lang.String)">getAttributeNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getColumnNumber()">getColumnNumber</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getData()">getData</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getDoctype()">getDoctype</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getElementById(java.lang.String)">getElementById</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getElementsByTagName(java.lang.String)">getElementsByTagName</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getElementsByTagNameNS(java.lang.String, java.lang.String)">getElementsByTagNameNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getImplementation()">getImplementation</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getLength()">getLength</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getName()">getName</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getNamespaceURI()">getNamespaceURI</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getNodeName()">getNodeName</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getOwnerDocument()">getOwnerDocument</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getOwnerElement()">getOwnerElement</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getParentNode()">getParentNode</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getPublicId()">getPublicId</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getSpecified()">getSpecified</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getTagName()">getTagName</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getValue()">getValue</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#hasAttribute(java.lang.String)">hasAttribute</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#hasAttributeNS(java.lang.String, java.lang.String)">hasAttributeNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#importNode(org.w3c.dom.Node, boolean)">importNode</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)">insertBefore</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#insertData(int, java.lang.String)">insertData</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#isSupported(java.lang.String, java.lang.String)">isSupported</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#normalize()">normalize</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#removeAttribute(java.lang.String)">removeAttribute</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#removeAttributeNode(org.w3c.dom.Attr)">removeAttributeNode</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#removeAttributeNS(java.lang.String, java.lang.String)">removeAttributeNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#removeChild(org.w3c.dom.Node)">removeChild</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)">replaceChild</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#replaceData(int, int, java.lang.String)">replaceData</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#setAttributeNode(org.w3c.dom.Attr)">setAttributeNode</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#setAttributeNodeNS(org.w3c.dom.Attr)">setAttributeNodeNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#setAttributeNS(java.lang.String, java.lang.String, java.lang.String)">setAttributeNS</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#setData(java.lang.String)">setData</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#setNodeValue(java.lang.String)">setNodeValue</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#setPrefix(java.lang.String)">setPrefix</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#setValue(java.lang.String)">setValue</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#splitText(int)">splitText</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#substringData(int, int)">substringData</A>, <A HREF="../../../../com/icl/saxon/om/AbstractNode.html#supports(java.lang.String, java.lang.String)">supports</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class java.lang.Object</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.icl.saxon.om.NodeInfo"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from interface com.icl.saxon.om.<A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#compareOrder(com.icl.saxon.om.NodeInfo)">compareOrder</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#copyStringValue(com.icl.saxon.output.Outputter)">copyStringValue</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getAttributeValue(int)">getAttributeValue</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getAttributeValue(java.lang.String, java.lang.String)">getAttributeValue</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getDisplayName()">getDisplayName</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getEnumeration(byte, com.icl.saxon.pattern.NodeTest)">getEnumeration</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getFingerprint()">getFingerprint</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getLocalName()">getLocalName</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getNameCode()">getNameCode</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getParent()">getParent</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getPrefix()">getPrefix</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getStringValue()">getStringValue</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getURI()">getURI</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#hasChildNodes()">hasChildNodes</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#isSameNode(com.icl.saxon.om.NodeInfo)">isSameNode</A>, <A HREF="../../../../com/icl/saxon/om/NodeInfo.html#outputNamespaceNodes(com.icl.saxon.output.Outputter, boolean)">outputNamespaceNodes</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_org.w3c.dom.Document"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from interface org.w3c.dom.Document</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_org.w3c.dom.Node"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from interface org.w3c.dom.Node</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix</CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Field Detail</B></FONT></TD> </TR> </TABLE> <A NAME="sequence"><!-- --></A><H3> sequence</H3> <PRE> protected int <B>sequence</B></PRE> <DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TD> </TR> </TABLE> <A NAME="DocumentImpl()"><!-- --></A><H3> DocumentImpl</H3> <PRE> public <B>DocumentImpl</B>()</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD> </TR> </TABLE> <A NAME="setCharacterBuffer(java.lang.StringBuffer)"><!-- --></A><H3> setCharacterBuffer</H3> <PRE> protected void <B>setCharacterBuffer</B>(java.lang.StringBuffer buffer)</PRE> <DL> <DD>Set the character buffer<DD><DL> </DL> </DD> </DL> <HR> <A NAME="getCharacterBuffer()"><!-- --></A><H3> getCharacterBuffer</H3> <PRE> public final java.lang.StringBuffer <B>getCharacterBuffer</B>()</PRE> <DL> <DD>Get the character buffer<DD><DL> </DL> </DD> </DL> <HR> <A NAME="setNamePool(com.icl.saxon.om.NamePool)"><!-- --></A><H3> setNamePool</H3> <PRE> public void <B>setNamePool</B>(<A HREF="../../../../com/icl/saxon/om/NamePool.html">NamePool</A> pool)</PRE> <DL> <DD>Set the name pool used for all names in this document<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html#setNamePool(com.icl.saxon.om.NamePool)">setNamePool</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A></CODE></DL> </DD> </DL> <HR> <A NAME="getNamePool()"><!-- --></A><H3> getNamePool</H3> <PRE> public <A HREF="../../../../com/icl/saxon/om/NamePool.html">NamePool</A> <B>getNamePool</B>()</PRE> <DL> <DD>Get the name pool used for the names in this document<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html#getNamePool()">getNamePool</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getNamePool()">getNamePool</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> </DL> <HR> <A NAME="setNodeFactory(com.icl.saxon.tree.NodeFactory)"><!-- --></A><H3> setNodeFactory</H3> <PRE> public void <B>setNodeFactory</B>(<A HREF="../../../../com/icl/saxon/tree/NodeFactory.html">NodeFactory</A> factory)</PRE> <DL> <DD>Set the node factory that was used to build this document<DD><DL> </DL> </DD> </DL> <HR> <A NAME="getNodeFactory()"><!-- --></A><H3> getNodeFactory</H3> <PRE> public <A HREF="../../../../com/icl/saxon/tree/NodeFactory.html">NodeFactory</A> <B>getNodeFactory</B>()</PRE> <DL> <DD>Get the node factory that was used to build this document<DD><DL> </DL> </DD> </DL> <HR> <A NAME="setDocumentElement(com.icl.saxon.tree.ElementImpl)"><!-- --></A><H3> setDocumentElement</H3> <PRE> protected void <B>setDocumentElement</B>(<A HREF="../../../../com/icl/saxon/tree/ElementImpl.html">ElementImpl</A> e)</PRE> <DL> <DD>Set the top-level element of the document (variously called the root element or the document element). Note that a DocumentImpl may represent the root of a result tree fragment, in which case there is no document element.<DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>e</CODE> - the top-level element</DL> </DD> </DL> <HR> <A NAME="setSystemId(java.lang.String)"><!-- --></A><H3> setSystemId</H3> <PRE> public void <B>setSystemId</B>(java.lang.String uri)</PRE> <DL> <DD>Set the system id of this node<DD><DL> <DT><B>Specified by: </B><DD><CODE>setSystemId</CODE> in interface <CODE>javax.xml.transform.Source</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#setSystemId(java.lang.String)">setSystemId</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> </DL> <HR> <A NAME="getSystemId()"><!-- --></A><H3> getSystemId</H3> <PRE> public java.lang.String <B>getSystemId</B>()</PRE> <DL> <DD>Get the system id of this root node<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getSystemId()">getSystemId</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getSystemId()">getSystemId</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD>Following copied from interface: <CODE>com.icl.saxon.om.NodeInfo</CODE></DD> <DD><DL> <DT><B>Returns:</B><DD>the System Identifier of the entity in the source document containing the node, or null if not known. Note this is not the same as the base URI: the base URI can be modified by xml:base, but the system ID cannot.</DL> </DD> </DL> <HR> <A NAME="getBaseURI()"><!-- --></A><H3> getBaseURI</H3> <PRE> public java.lang.String <B>getBaseURI</B>()</PRE> <DL> <DD>Get the base URI of this root node. For a root node the base URI is the same as the System ID.<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getBaseURI()">getBaseURI</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getBaseURI()">getBaseURI</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> </DL> <HR> <A NAME="setSystemId(int, java.lang.String)"><!-- --></A><H3> setSystemId</H3> <PRE> protected void <B>setSystemId</B>(int seq, java.lang.String uri)</PRE> <DL> <DD>Set the system id of an element in the document<DD><DL> </DL> </DD> </DL> <HR> <A NAME="getSystemId(int)"><!-- --></A><H3> getSystemId</H3> <PRE> protected java.lang.String <B>getSystemId</B>(int seq)</PRE> <DL> <DD>Get the system id of an element in the document<DD><DL> </DL> </DD> </DL> <HR> <A NAME="setLineNumbering()"><!-- --></A><H3> setLineNumbering</H3> <PRE> public void <B>setLineNumbering</B>()</PRE> <DL> <DD>Set line numbering on<DD><DL> </DL> </DD> </DL> <HR> <A NAME="setLineNumber(int, int)"><!-- --></A><H3> setLineNumber</H3> <PRE> protected void <B>setLineNumber</B>(int sequence, int line)</PRE> <DL> <DD>Set the line number for an element. Ignored if line numbering is off.<DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLineNumber(int)"><!-- --></A><H3> getLineNumber</H3> <PRE> protected int <B>getLineNumber</B>(int sequence)</PRE> <DL> <DD>Get the line number for an element. Return -1 if line numbering is off.<DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLineNumber()"><!-- --></A><H3> getLineNumber</H3> <PRE> public int <B>getLineNumber</B>()</PRE> <DL> <DD>Get the line number of this root node.<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getLineNumber()">getLineNumber</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getLineNumber()">getLineNumber</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>0 always</DL> </DD> </DL> <HR> <A NAME="getNodeType()"><!-- --></A><H3> getNodeType</H3> <PRE> public final short <B>getNodeType</B>()</PRE> <DL> <DD>Return the type of node.<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getNodeType()">getNodeType</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>NodeInfo.ROOT (always)</DL> </DD> </DL> <HR> <A NAME="getNextSibling()"><!-- --></A><H3> getNextSibling</H3> <PRE> public final org.w3c.dom.Node <B>getNextSibling</B>()</PRE> <DL> <DD>Get next sibling - always null<DD><DL> <DT><B>Specified by: </B><DD><CODE>getNextSibling</CODE> in interface <CODE>org.w3c.dom.Node</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getNextSibling()">getNextSibling</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>null</DL> </DD> </DL> <HR> <A NAME="getPreviousSibling()"><!-- --></A><H3> getPreviousSibling</H3> <PRE> public final org.w3c.dom.Node <B>getPreviousSibling</B>()</PRE> <DL> <DD>Get previous sibling - always null<DD><DL> <DT><B>Specified by: </B><DD><CODE>getPreviousSibling</CODE> in interface <CODE>org.w3c.dom.Node</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getPreviousSibling()">getPreviousSibling</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>null</DL> </DD> </DL> <HR> <A NAME="getDocumentElement()"><!-- --></A><H3> getDocumentElement</H3> <PRE> public org.w3c.dom.Element <B>getDocumentElement</B>()</PRE> <DL> <DD>Get the root (outermost) element.<DD><DL> <DT><B>Specified by: </B><DD><CODE>getDocumentElement</CODE> in interface <CODE>org.w3c.dom.Document</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getDocumentElement()">getDocumentElement</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the Element node for the outermost element of the document.</DL> </DD> </DL> <HR> <A NAME="getDocumentRoot()"><!-- --></A><H3> getDocumentRoot</H3> <PRE> public <A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A> <B>getDocumentRoot</B>()</PRE> <DL> <DD>Get the root (document) node<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#getDocumentRoot()">getDocumentRoot</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getDocumentRoot()">getDocumentRoot</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the DocumentInfo representing this document</DL> </DD> </DL> <HR> <A NAME="generateId()"><!-- --></A><H3> generateId</H3> <PRE> public java.lang.String <B>generateId</B>()</PRE> <DL> <DD>Get a character string that uniquely identifies this node within the document<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#generateId()">generateId</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#generateId()">generateId</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the empty string</DL> </DD> </DL> <HR> <A NAME="getAllElements(int)"><!-- --></A><H3> getAllElements</H3> <PRE> protected <A HREF="../../../../com/icl/saxon/om/AxisEnumeration.html">AxisEnumeration</A> <B>getAllElements</B>(int fingerprint)</PRE> <DL> <DD>Get a list of all elements with a given name fingerprint<DD><DL> </DL> </DD> </DL> <HR> <A NAME="selectID(java.lang.String)"><!-- --></A><H3> selectID</H3> <PRE> public <A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A> <B>selectID</B>(java.lang.String id)</PRE> <DL> <DD>Get the element with a given ID.<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html#selectID(java.lang.String)">selectID</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>id</CODE> - The unique ID of the required element, previously registered using registerID()<DT><B>Returns:</B><DD>The NodeInfo for the given ID if one has been registered, otherwise null.</DL> </DD> </DL> <HR> <A NAME="getKeyIndex(com.icl.saxon.KeyManager, int)"><!-- --></A><H3> getKeyIndex</H3> <PRE> public java.util.Hashtable <B>getKeyIndex</B>(<A HREF="../../../../com/icl/saxon/KeyManager.html">KeyManager</A> keymanager, int fingerprint)</PRE> <DL> <DD>Get the index for a given key<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html#getKeyIndex(com.icl.saxon.KeyManager, int)">getKeyIndex</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>keymanager</CODE> - The key manager managing this key<DD><CODE>fingerprint</CODE> - The fingerprint of the name of the key (unique with the key manager)<DT><B>Returns:</B><DD>The index, if one has been built, in the form of a Hashtable that maps the key value to a Vector of nodes having that key value. If no index has been built, returns null.</DL> </DD> </DL> <HR> <A NAME="setKeyIndex(com.icl.saxon.KeyManager, int, java.util.Hashtable)"><!-- --></A><H3> setKeyIndex</H3> <PRE> public void <B>setKeyIndex</B>(<A HREF="../../../../com/icl/saxon/KeyManager.html">KeyManager</A> keymanager, int fingerprint, java.util.Hashtable keyindex)</PRE> <DL> <DD>Set the index for a given key. The method is synchronized because the same document can be used by several stylesheets at the same time.<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html#setKeyIndex(com.icl.saxon.KeyManager, int, java.util.Hashtable)">setKeyIndex</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>keymanager</CODE> - The key manager managing this key<DD><CODE>fingerprint</CODE> - The fingerprint of the name of the key (unique with the key manager)<DD><CODE>keyindex</CODE> - the index, in the form of a Hashtable that maps the key value to a Vector of nodes having that key value. Or the String "under construction", indicating that the index is being built.</DL> </DD> </DL> <HR> <A NAME="setUnparsedEntity(java.lang.String, java.lang.String)"><!-- --></A><H3> setUnparsedEntity</H3> <PRE> protected void <B>setUnparsedEntity</B>(java.lang.String name, java.lang.String uri)</PRE> <DL> <DD>Set an unparsed entity URI associated with this document. For system use only, while building the document.<DD><DL> </DL> </DD> </DL> <HR> <A NAME="getUnparsedEntity(java.lang.String)"><!-- --></A><H3> getUnparsedEntity</H3> <PRE> public java.lang.String <B>getUnparsedEntity</B>(java.lang.String name)</PRE> <DL> <DD>Get the unparsed entity with a given name<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html#getUnparsedEntity(java.lang.String)">getUnparsedEntity</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/DocumentInfo.html">DocumentInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the entity<DT><B>Returns:</B><DD>the URI of the entity if there is one, or empty string if not</DL> </DD> </DL> <HR> <A NAME="copy(com.icl.saxon.output.Outputter)"><!-- --></A><H3> copy</H3> <PRE> public void <B>copy</B>(<A HREF="../../../../com/icl/saxon/output/Outputter.html">Outputter</A> out) throws javax.xml.transform.TransformerException</PRE> <DL> <DD>Copy this node to a given outputter<DD><DL> <DT><B>Specified by: </B><DD><CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html#copy(com.icl.saxon.output.Outputter)">copy</A></CODE> in interface <CODE><A HREF="../../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE></DL> </DD> </DL> <HR> <A NAME="getSequenceNumber()"><!-- --></A><H3> getSequenceNumber</H3> <PRE> protected final long <B>getSequenceNumber</B>()</PRE> <DL> <DD>Get the node sequence number (in document order). Sequence numbers are monotonic but not consecutive. In the current implementation, parent nodes (elements and roots) have a zero least-significant word, while namespaces, attributes, text nodes, comments, and PIs have the top word the same as their owner and the bottom half reflecting their relative position.<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getSequenceNumber()">getSequenceNumber</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> </DL> <HR> <A NAME="hasChildNodes()"><!-- --></A><H3> hasChildNodes</H3> <PRE> public final boolean <B>hasChildNodes</B>()</PRE> <DL> <DD>Determine if the node has any children.<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#hasChildNodes()">hasChildNodes</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD>Following copied from class: <CODE>com.icl.saxon.tree.NodeImpl</CODE></DD> <DD><DL> <DT><B>Returns:</B><DD><code>true</code> if the node has any children, <code>false</code> if the node has no children.</DL> </DD> </DL> <HR> <A NAME="enumerateChildren(com.icl.saxon.pattern.NodeTest)"><!-- --></A><H3> enumerateChildren</H3> <PRE> public final <A HREF="../../../../com/icl/saxon/om/AxisEnumeration.html">AxisEnumeration</A> <B>enumerateChildren</B>(<A HREF="../../../../com/icl/saxon/pattern/NodeTest.html">NodeTest</A> test)</PRE> <DL> <DD>Get an enumeration of the children of this node</DL> <HR> <A NAME="getFirstChild()"><!-- --></A><H3> getFirstChild</H3> <PRE> public final org.w3c.dom.Node <B>getFirstChild</B>()</PRE> <DL> <DD>Get the first child node of the element<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getFirstChild()">getFirstChild</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the first child node of the required type, or null if there are no children</DL> </DD> </DL> <HR> <A NAME="getLastChild()"><!-- --></A><H3> getLastChild</H3> <PRE> public final org.w3c.dom.Node <B>getLastChild</B>()</PRE> <DL> <DD>Get the last child node of the element<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getLastChild()">getLastChild</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the last child of the element, or null if there are no children</DL> </DD> </DL> <HR> <A NAME="getChildNodes()"><!-- --></A><H3> getChildNodes</H3> <PRE> public final org.w3c.dom.NodeList <B>getChildNodes</B>()</PRE> <DL> <DD>Return a <code>NodeList</code> that contains all children of this node. If there are no children, this is a <code>NodeList</code> containing no nodes.<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html#getChildNodes()">getChildNodes</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A></CODE></DL> </DD> </DL> <HR> <A NAME="getNthChild(int)"><!-- --></A><H3> getNthChild</H3> <PRE> protected final <A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A> <B>getNthChild</B>(int n)</PRE> <DL> <DD>Get the nth child node of the element (numbering from 0)<DD><DL> <DT><B>Returns:</B><DD>the last child of the element, or null if there is no n'th child</DL> </DD> </DL> <HR> <A NAME="getStringValue()"><!-- --></A><H3> getStringValue</H3> <PRE> public java.lang.String <B>getStringValue</B>()</PRE> <DL> <DD>Return the string-value of the node, that is, the concatenation of the character content of all descendent elements and text nodes.<DD><DL> <DT><B>Returns:</B><DD>the accumulated character content of the element, including descendant elements.</DL> </DD> </DL> <HR> <A NAME="copyStringValue(com.icl.saxon.output.Outputter)"><!-- --></A><H3> copyStringValue</H3> <PRE> public void <B>copyStringValue</B>(<A HREF="../../../../com/icl/saxon/output/Outputter.html">Outputter</A> out) throws javax.xml.transform.TransformerException</PRE> <DL> <DD>Copy the string-value of this node to a given outputter<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/om/AbstractNode.html#copyStringValue(com.icl.saxon.output.Outputter)">copyStringValue</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/om/AbstractNode.html">AbstractNode</A></CODE></DL> </DD> </DL> <HR> <A NAME="useChildrenArray(com.icl.saxon.tree.NodeImpl[])"><!-- --></A><H3> useChildrenArray</H3> <PRE> public void <B>useChildrenArray</B>(<A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A>[] array)</PRE> <DL> <DD>Supply an array to be used for the array of children. For system use only.</DL> <HR> <A NAME="addChild(com.icl.saxon.tree.NodeImpl, int)"><!-- --></A><H3> addChild</H3> <PRE> public void <B>addChild</B>(<A HREF="../../../../com/icl/saxon/tree/NodeImpl.html">NodeImpl</A> node, int index)</PRE> <DL> <DD>Add a child node to this node. For system use only. Note: normalizing adjacent text nodes is the responsibility of the caller.</DL> <HR> <A NAME="removeChild(int)"><!-- --></A><H3> removeChild</H3> <PRE> public void <B>removeChild</B>(int index)</PRE> <DL> <DD>Remove node at given index. Will always be followed by a renumberChildren().</DL> <HR> <A NAME="renumberChildren()"><!-- --></A><H3> renumberChildren</H3> <PRE> public void <B>renumberChildren</B>()</PRE> <DL> <DD>Renumber the children of a given parent node. For system use only</DL> <HR> <A NAME="dropChildren()"><!-- --></A><H3> dropChildren</H3> <PRE> public void <B>dropChildren</B>()</PRE> <DL> <DD>Drop a branch of the tree. The target element remains in the tree, but its children are disconnected from the parent. Unless there are other references to the children (e.g. in a variable) they will be deleted from memory next time the garbage collector comes round.</DL> <HR> <A NAME="compact(int)"><!-- --></A><H3> compact</H3> <PRE> public void <B>compact</B>(int size)</PRE> <DL> <DD>Compact the space used by this node</DL> <HR> <A NAME="getNodeValue()"><!-- --></A><H3> getNodeValue</H3> <PRE> public java.lang.String <B>getNodeValue</B>()</PRE> <DL> <DD>Get the node value as defined in the DOM. This is not the same as the XPath string-value.<DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/icl/saxon/om/AbstractNode.html#getNodeValue()">getNodeValue</A></CODE> in class <CODE><A HREF="../../../../com/icl/saxon/om/AbstractNode.html">AbstractNode</A></CODE></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ========== START OF NAVBAR ========== --> <A NAME="navbar_bottom"><!-- --></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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="../../../../com/icl/saxon/tree/AttributeCollection.html"><B>PREV CLASS</B></A> <A HREF="../../../../com/icl/saxon/tree/ElementImpl.html"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="DocumentImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <!-- =========== END OF NAVBAR =========== --> <HR> </BODY> </HTML>