<!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.6.0_18) on Fri Dec 09 20:48:39 GMT 2011 --> <TITLE> NodeImpl </TITLE> <META NAME="date" CONTENT="2011-12-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="NodeImpl"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= 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="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="../../../../../net/sf/saxon/tree/linked/NodeFactory.html" title="interface in net.sf.saxon.tree.linked"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/saxon/tree/linked/SystemIdMap.html" title="class in net.sf.saxon.tree.linked"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?net/sf/saxon/tree/linked/NodeImpl.html" target="_top"><B>FRAMES</B></A> <A HREF="NodeImpl.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"> net.sf.saxon.tree.linked</FONT> <BR> Class NodeImpl</H2> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.saxon.tree.linked.NodeImpl</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A>, <A HREF="../../../../../net/sf/saxon/evpull/PullEvent.html" title="interface in net.sf.saxon.evpull">PullEvent</A>, <A HREF="../../../../../net/sf/saxon/om/FingerprintedNode.html" title="interface in net.sf.saxon.om">FingerprintedNode</A>, <A HREF="../../../../../net/sf/saxon/om/Item.html" title="interface in net.sf.saxon.om">Item</A><<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>>, <A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A>, <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>, <A HREF="../../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A><<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>>, <A HREF="../../../../../net/sf/saxon/tree/wrapper/SiblingCountingNode.html" title="interface in net.sf.saxon.tree.wrapper">SiblingCountingNode</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../net/sf/saxon/tree/linked/DocumentImpl.html" title="class in net.sf.saxon.tree.linked">DocumentImpl</A>, <A HREF="../../../../../net/sf/saxon/tree/linked/ElementImpl.html" title="class in net.sf.saxon.tree.linked">ElementImpl</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>NodeImpl</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A>, <A HREF="../../../../../net/sf/saxon/om/FingerprintedNode.html" title="interface in net.sf.saxon.om">FingerprintedNode</A>, <A HREF="../../../../../net/sf/saxon/tree/wrapper/SiblingCountingNode.html" title="interface in net.sf.saxon.tree.wrapper">SiblingCountingNode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A></DL> </PRE> <P> A node in the "linked" tree representing any kind of node except a namespace node. Specific node kinds are represented by concrete subclasses. <P> <P> <DL> <DT><B>Author:</B></DT> <DD>Michael H. Kay</DD> </DL> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static char[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#NODE_LETTER">NODE_LETTER</A></B></CODE> <BR> Chararacteristic letters to identify each type of node, indexed using the node type values.</TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.om.NodeInfo"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface net.sf.saxon.om.<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#ALL_NAMESPACES">ALL_NAMESPACES</A>, <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#IS_DTD_TYPE">IS_DTD_TYPE</A>, <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#IS_NILLED">IS_NILLED</A>, <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#LOCAL_NAMESPACES">LOCAL_NAMESPACES</A>, <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#NO_NAMESPACES">NO_NAMESPACES</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#NodeImpl()">NodeImpl</A></B>()</CODE> <BR> </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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#addAttribute(net.sf.saxon.om.NodeName, net.sf.saxon.type.SimpleType, java.lang.CharSequence, int)">addAttribute</A></B>(<A HREF="../../../../../net/sf/saxon/om/NodeName.html" title="interface in net.sf.saxon.om">NodeName</A> name, <A HREF="../../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A> attType, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> value, int properties)</CODE> <BR> Add an attribute to this element 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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#addNamespace(net.sf.saxon.om.NamespaceBinding, boolean)">addNamespace</A></B>(<A HREF="../../../../../net/sf/saxon/om/NamespaceBinding.html" title="class in net.sf.saxon.om">NamespaceBinding</A> nscode, boolean inherit)</CODE> <BR> Add a namespace binding (that is, a namespace node) to this element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#atomize()">atomize</A></B>()</CODE> <BR> Get the typed value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#compareOrder(net.sf.saxon.om.NodeInfo)">compareOrder</A></B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> other)</CODE> <BR> Determine the relative position of this node and another node, in document order.</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#delete()">delete</A></B>()</CODE> <BR> Delete this node (that is, detach it from its parent)</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</CODE> <BR> The equals() method compares nodes for identity.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#generateId(net.sf.saxon.tree.util.FastStringBuffer)">generateId</A></B>(<A HREF="../../../../../net/sf/saxon/tree/util/FastStringBuffer.html" title="class in net.sf.saxon.tree.util">FastStringBuffer</A> buffer)</CODE> <BR> Get a character string that uniquely identifies this node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getAttributeValue(int)">getAttributeValue</A></B>(int fingerprint)</CODE> <BR> Get the value of a given attribute of this node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getAttributeValue(java.lang.String, java.lang.String)">getAttributeValue</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> uri, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> localName)</CODE> <BR> Find the value of a given attribute of this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getBaseURI()">getBaseURI</A></B>()</CODE> <BR> Get the base URI for the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getColumnNumber()">getColumnNumber</A></B>()</CODE> <BR> Get the column number of the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getConfiguration()">getConfiguration</A></B>()</CODE> <BR> Get the configuration</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NamespaceBinding.html" title="class in net.sf.saxon.om">NamespaceBinding</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getDeclaredNamespaces(net.sf.saxon.om.NamespaceBinding[])">getDeclaredNamespaces</A></B>(<A HREF="../../../../../net/sf/saxon/om/NamespaceBinding.html" title="class in net.sf.saxon.om">NamespaceBinding</A>[] buffer)</CODE> <BR> Get all namespace undeclarations and undeclarations defined on this element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getDisplayName()">getDisplayName</A></B>()</CODE> <BR> Get the display name of this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getDocumentNumber()">getDocumentNumber</A></B>()</CODE> <BR> Get the document number of the document containing this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getFingerprint()">getFingerprint</A></B>()</CODE> <BR> Get the fingerprint of the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getFirstChild()">getFirstChild</A></B>()</CODE> <BR> Get first child - default implementation used for leaf nodes</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getLastChild()">getLastChild</A></B>()</CODE> <BR> Get last child - default implementation used for leaf nodes</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getLineNumber()">getLineNumber</A></B>()</CODE> <BR> Get the line number of the node within its source document entity</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getLocalPart()">getLocalPart</A></B>()</CODE> <BR> Get the local name of this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getNameCode()">getNameCode</A></B>()</CODE> <BR> Get the nameCode of the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NamePool.html" title="class in net.sf.saxon.om">NamePool</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getNamePool()">getNamePool</A></B>()</CODE> <BR> Get the NamePool</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getNextInDocument(net.sf.saxon.tree.linked.NodeImpl)">getNextInDocument</A></B>(<A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A> anchor)</CODE> <BR> Get the next node in document order</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getNextSibling()">getNextSibling</A></B>()</CODE> <BR> Get next sibling node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getParent()">getParent</A></B>()</CODE> <BR> Find the parent node of this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/tree/linked/DocumentImpl.html" title="class in net.sf.saxon.tree.linked">DocumentImpl</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPhysicalRoot()">getPhysicalRoot</A></B>()</CODE> <BR> Get the physical root of the tree.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPrefix()">getPrefix</A></B>()</CODE> <BR> Get the prefix part of the name of this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPreviousInDocument()">getPreviousInDocument</A></B>()</CODE> <BR> Get the previous node in document order</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPreviousSibling()">getPreviousSibling</A></B>()</CODE> <BR> Get the previous sibling of the node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPublicId()">getPublicId</A></B>()</CODE> <BR> Get the public identifier of the document entity containing this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected net.sf.saxon.tree.linked.ParentNodeImpl</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getRawParent()">getRawParent</A></B>()</CODE> <BR> Get the raw value of the parent pointer.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getRoot()">getRoot</A></B>()</CODE> <BR> Get the root node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getSchemaType()">getSchemaType</A></B>()</CODE> <BR> Get the type annotation</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getSiblingPosition()">getSiblingPosition</A></B>()</CODE> <BR> Get the index position of this node among its siblings (starting from 0)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getStringValueCS()">getStringValueCS</A></B>()</CODE> <BR> Get the value of the item as a CharSequence.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getSystemId()">getSystemId</A></B>()</CODE> <BR> Get the system ID for the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getTypeAnnotation()">getTypeAnnotation</A></B>()</CODE> <BR> Get the type annotation of this node, if any</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A><? extends <A HREF="../../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getTypedValue()">getTypedValue</A></B>()</CODE> <BR> Get the typed value of this node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#getURI()">getURI</A></B>()</CODE> <BR> Get the URI part of the name of this node.</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#hasChildNodes()">hasChildNodes</A></B>()</CODE> <BR> Determine whether 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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#insertChildren(net.sf.saxon.om.NodeInfo[], boolean, boolean)">insertChildren</A></B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[] source, boolean atStart, boolean inherit)</CODE> <BR> Insert a sequence of nodes as children of 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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#insertSiblings(net.sf.saxon.om.NodeInfo[], boolean, boolean)">insertSiblings</A></B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[] source, boolean before, boolean inherit)</CODE> <BR> Insert copies of a sequence of nodes as siblings of this node.</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#isDeleted()">isDeleted</A></B>()</CODE> <BR> Test whether this MutableNodeInfo object represents a node that has been deleted.</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#isId()">isId</A></B>()</CODE> <BR> Determine whether this node has the is-id property</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#isIdref()">isIdref</A></B>()</CODE> <BR> Determine whether this node has the is-idref property</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#isNilled()">isNilled</A></B>()</CODE> <BR> Determine whether the node has the is-nilled property</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#isSameNodeInfo(net.sf.saxon.om.NodeInfo)">isSameNodeInfo</A></B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> other)</CODE> <BR> Determine whether this is the same node as another node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/tree/iter/AxisIterator.html" title="interface in net.sf.saxon.tree.iter">AxisIterator</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#iterateAxis(byte)">iterateAxis</A></B>(byte axisNumber)</CODE> <BR> Return an enumeration over the nodes reached by the given axis from this node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/tree/iter/AxisIterator.html" title="interface in net.sf.saxon.tree.iter">AxisIterator</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#iterateAxis(byte, net.sf.saxon.pattern.NodeTest)">iterateAxis</A></B>(byte axisNumber, <A HREF="../../../../../net/sf/saxon/pattern/NodeTest.html" title="class in net.sf.saxon.pattern">NodeTest</A> nodeTest)</CODE> <BR> Return an enumeration over the nodes reached by the given axis from this node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/event/Builder.html" title="class in net.sf.saxon.event">Builder</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#newBuilder()">newBuilder</A></B>()</CODE> <BR> Get a Builder suitable for building nodes that can be attached to 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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#removeAttribute(net.sf.saxon.om.NodeInfo)">removeAttribute</A></B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> attribute)</CODE> <BR> Remove an attribute from this element 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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#removeTypeAnnotation()">removeTypeAnnotation</A></B>()</CODE> <BR> Remove type information from this node (and its ancestors, recursively).</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#rename(net.sf.saxon.om.NodeName)">rename</A></B>(<A HREF="../../../../../net/sf/saxon/om/NodeName.html" title="interface in net.sf.saxon.om">NodeName</A> newNameCode)</CODE> <BR> Rename 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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#replace(net.sf.saxon.om.NodeInfo[], boolean)">replace</A></B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[] replacement, boolean inherit)</CODE> <BR> Replace this node with a given sequence of nodes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#setRawParent(net.sf.saxon.tree.linked.ParentNodeImpl)">setRawParent</A></B>(net.sf.saxon.tree.linked.ParentNodeImpl parent)</CODE> <BR> Set the raw parent pointer</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#setSiblingPosition(int)">setSiblingPosition</A></B>(int index)</CODE> <BR> Set the index position.</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="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#setSystemId(java.lang.String)">setSystemId</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#setTypeAnnotation(int)">setTypeAnnotation</A></B>(int typeCode)</CODE> <BR> Set the type annotation on a node.</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.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.om.MutableNodeInfo"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.om.<A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#replaceStringValue(java.lang.CharSequence)">replaceStringValue</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.om.NodeInfo"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.om.<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#copy(net.sf.saxon.event.Receiver, int, int)">copy</A>, <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getNodeKind()">getNodeKind</A>, <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getStringValue()">getStringValue</A>, <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#hashCode()">hashCode</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="NODE_LETTER"><!-- --></A><H3> NODE_LETTER</H3> <PRE> public static final char[] <B>NODE_LETTER</B></PRE> <DL> <DD>Chararacteristic letters to identify each type of node, indexed using the node type values. These are used as the initial letter of the result of generate-id() <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="NodeImpl()"><!-- --></A><H3> NodeImpl</H3> <PRE> public <B>NodeImpl</B>()</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="getStringValueCS()"><!-- --></A><H3> getStringValueCS</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> <B>getStringValueCS</B>()</PRE> <DL> <DD>Get the value of the item as a CharSequence. This is in some cases more efficient than the version of the method that returns a String. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/Item.html#getStringValueCS()">getStringValueCS</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/Item.html" title="interface in net.sf.saxon.om">Item</A><<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/ValueRepresentation.html#getStringValueCS()">getStringValueCS</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A><<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the string value of the item<DT><B>See Also:</B><DD><A HREF="../../../../../net/sf/saxon/om/Item.html#getStringValue()"><CODE>Item.getStringValue()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getTypeAnnotation()"><!-- --></A><H3> getTypeAnnotation</H3> <PRE> public int <B>getTypeAnnotation</B>()</PRE> <DL> <DD>Get the type annotation of this node, if any <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getTypeAnnotation()">getTypeAnnotation</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the type annotation, as the integer name code of the type name</DL> </DD> </DL> <HR> <A NAME="getSchemaType()"><!-- --></A><H3> getSchemaType</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> <B>getSchemaType</B>()</PRE> <DL> <DD>Get the type annotation <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getSchemaType()">getSchemaType</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the type annotation of the base node</DL> </DD> </DL> <HR> <A NAME="getColumnNumber()"><!-- --></A><H3> getColumnNumber</H3> <PRE> public int <B>getColumnNumber</B>()</PRE> <DL> <DD>Get the column number of the node. The default implementation returns -1, meaning unknown <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true#getColumnNumber()" title="class or interface in javax.xml.transform">getColumnNumber</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getColumnNumber()">getColumnNumber</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the column number of the node in its original source document; or -1 if not available</DL> </DD> </DL> <HR> <A NAME="getPublicId()"><!-- --></A><H3> getPublicId</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getPublicId</B>()</PRE> <DL> <DD>Get the public identifier of the document entity containing this node. The default implementation returns null, meaning unknown <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true#getPublicId()" title="class or interface in javax.xml.transform">getPublicId</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getDocumentNumber()"><!-- --></A><H3> getDocumentNumber</H3> <PRE> public long <B>getDocumentNumber</B>()</PRE> <DL> <DD>Get the document number of the document containing this node. For a free-standing orphan node, just return the hashcode. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getDocumentNumber()">getDocumentNumber</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the document number of the document containing this node</DL> </DD> </DL> <HR> <A NAME="getSiblingPosition()"><!-- --></A><H3> getSiblingPosition</H3> <PRE> public final int <B>getSiblingPosition</B>()</PRE> <DL> <DD>Get the index position of this node among its siblings (starting from 0) <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/tree/wrapper/SiblingCountingNode.html#getSiblingPosition()">getSiblingPosition</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/tree/wrapper/SiblingCountingNode.html" title="interface in net.sf.saxon.tree.wrapper">SiblingCountingNode</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>0 for the first child, 1 for the second child, etc. Returns -1 for a node that has been deleted.</DL> </DD> </DL> <HR> <A NAME="setSiblingPosition(int)"><!-- --></A><H3> setSiblingPosition</H3> <PRE> protected final void <B>setSiblingPosition</B>(int index)</PRE> <DL> <DD>Set the index position. For internal use only <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the node among its siblings, counting from zero.</DL> </DD> </DL> <HR> <A NAME="getTypedValue()"><!-- --></A><H3> getTypedValue</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A><? extends <A HREF="../../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A>> <B>getTypedValue</B>() throws <A HREF="../../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Get the typed value of this node. If there is no type annotation, we return the string value, as an instance of xs:untypedAtomic <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/Item.html#getTypedValue()">getTypedValue</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/Item.html" title="interface in net.sf.saxon.om">Item</A><<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an iterator over the items in the typed value of the node or atomic value. The items returned by this iterator will always be atomic values. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - where no typed value is available, for example in the case of an element with complex content</DL> </DD> </DL> <HR> <A NAME="atomize()"><!-- --></A><H3> atomize</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A> <B>atomize</B>() throws <A HREF="../../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Get the typed value. The result of this method will always be consistent with the method <A HREF="../../../../../net/sf/saxon/om/Item.html#getTypedValue()"><CODE>Item.getTypedValue()</CODE></A>. However, this method is often more convenient and may be more efficient, especially in the common case where the value is expected to be a singleton. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#atomize()">atomize</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the typed value. If requireSingleton is set to true, the result will always be an AtomicValue. In other cases it may be a Value representing a sequence whose items are atomic values. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if the node has no typed value, for example if it is an element node with element-only content<DT><B>Since:</B></DT> <DD>8.5</DD> </DL> </DD> </DL> <HR> <A NAME="setSystemId(java.lang.String)"><!-- --></A><H3> setSystemId</H3> <PRE> public void <B>setSystemId</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> uri)</PRE> <DL> <DD>Set the system ID of this node. This method is provided so that a NodeInfo implements the javax.xml.transform.Source interface, allowing a node to be used directly as the Source of a transformation <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html?is-external=true#setSystemId(java.lang.String)" title="class or interface in javax.xml.transform">setSystemId</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isSameNodeInfo(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3> isSameNodeInfo</H3> <PRE> public boolean <B>isSameNodeInfo</B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> other)</PRE> <DL> <DD>Determine whether this is the same node as another node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#isSameNodeInfo(net.sf.saxon.om.NodeInfo)">isSameNodeInfo</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>other</CODE> - the node to be compared with this node <DT><B>Returns:</B><DD>true if this Node object and the supplied Node object represent the same node in the tree.</DL> </DD> </DL> <HR> <A NAME="equals(java.lang.Object)"><!-- --></A><H3> equals</H3> <PRE> public boolean <B>equals</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</PRE> <DL> <DD>The equals() method compares nodes for identity. It is defined to give the same result as isSameNodeInfo(). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#equals(java.lang.Object)">equals</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>other</CODE> - the node to be compared with this node <DT><B>Returns:</B><DD>true if this NodeInfo object and the supplied NodeInfo object represent the same node in the tree.<DT><B>Since:</B></DT> <DD>8.7 Previously, the effect of the equals() method was not defined. Callers should therefore be aware that third party implementations of the NodeInfo interface may not implement the correct semantics. It is safer to use isSameNodeInfo() for this reason. The equals() method has been defined because it is useful in contexts such as a Java Set or HashMap.</DD> </DL> </DD> </DL> <HR> <A NAME="getNameCode()"><!-- --></A><H3> getNameCode</H3> <PRE> public int <B>getNameCode</B>()</PRE> <DL> <DD>Get the nameCode of the node. This is used to locate the name in the NamePool <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getNameCode()">getNameCode</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an integer name code, which may be used to obtain the actual node name from the name pool. For unnamed nodes (text nodes, comments, document nodes, and namespace nodes for the default namespace), returns -1.<DT><B>See Also:</B><DD><A HREF="../../../../../net/sf/saxon/om/NamePool.html#allocate(java.lang.String, java.lang.String, java.lang.String)"><CODE>allocate</CODE></A>, <A HREF="../../../../../net/sf/saxon/om/NamePool.html#getFingerprint(java.lang.String, java.lang.String)"><CODE>getFingerprint</CODE></A></DL> </DD> </DL> <HR> <A NAME="getFingerprint()"><!-- --></A><H3> getFingerprint</H3> <PRE> public int <B>getFingerprint</B>()</PRE> <DL> <DD>Get the fingerprint of the node. This is used to compare whether two nodes have equivalent names. Return -1 for a node with no name. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getFingerprint()">getFingerprint</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an integer fingerprint; two nodes with the same fingerprint have the same expanded QName. For unnamed nodes (text nodes, comments, document nodes, and namespace nodes for the default namespace), returns -1.</DL> </DD> </DL> <HR> <A NAME="generateId(net.sf.saxon.tree.util.FastStringBuffer)"><!-- --></A><H3> generateId</H3> <PRE> public void <B>generateId</B>(<A HREF="../../../../../net/sf/saxon/tree/util/FastStringBuffer.html" title="class in net.sf.saxon.tree.util">FastStringBuffer</A> buffer)</PRE> <DL> <DD>Get a character string that uniquely identifies this node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#generateId(net.sf.saxon.tree.util.FastStringBuffer)">generateId</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buffer</CODE> - a buffer which will be updated to hold a string that uniquely identifies this node, across all documents.</DL> </DD> </DL> <HR> <A NAME="getSystemId()"><!-- --></A><H3> getSystemId</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSystemId</B>()</PRE> <DL> <DD>Get the system ID for the node. Default implementation for child nodes. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html?is-external=true#getSystemId()" title="class or interface in javax.xml.transform">getSystemId</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true#getSystemId()" title="class or interface in javax.xml.transform">getSystemId</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getSystemId()">getSystemId</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </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 or not applicable.</DL> </DD> </DL> <HR> <A NAME="getBaseURI()"><!-- --></A><H3> getBaseURI</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getBaseURI</B>()</PRE> <DL> <DD>Get the base URI for the node. Default implementation for child nodes. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getBaseURI()">getBaseURI</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the base URI of the node. This may be null if the base URI is unknown, including the case where the node has no parent.</DL> </DD> </DL> <HR> <A NAME="getSequenceNumber()"><!-- --></A><H3> getSequenceNumber</H3> <PRE> protected 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. This is the default implementation for child nodes. For nodes added by XQuery Update, the sequence number is -1L <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the sequence number if there is one, or -1L otherwise.</DL> </DD> </DL> <HR> <A NAME="compareOrder(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3> compareOrder</H3> <PRE> public final int <B>compareOrder</B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> other)</PRE> <DL> <DD>Determine the relative position of this node and another node, in document order. The other node will always be in the same document. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#compareOrder(net.sf.saxon.om.NodeInfo)">compareOrder</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>other</CODE> - The other node, whose position is to be compared with this node <DT><B>Returns:</B><DD>-1 if this node precedes the other node, +1 if it follows the other node, or 0 if they are the same node. (In this case, isSameNode() will always return true, and the two nodes will produce the same result for generateId())</DL> </DD> </DL> <HR> <A NAME="getConfiguration()"><!-- --></A><H3> getConfiguration</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> <B>getConfiguration</B>()</PRE> <DL> <DD>Get the configuration <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getConfiguration()">getConfiguration</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the Configuration</DL> </DD> </DL> <HR> <A NAME="getNamePool()"><!-- --></A><H3> getNamePool</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/NamePool.html" title="class in net.sf.saxon.om">NamePool</A> <B>getNamePool</B>()</PRE> <DL> <DD>Get the NamePool <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getNamePool()">getNamePool</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the namepool</DL> </DD> </DL> <HR> <A NAME="getPrefix()"><!-- --></A><H3> getPrefix</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getPrefix</B>()</PRE> <DL> <DD>Get the prefix part of the name of this node. This is the name before the ":" if any. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getPrefix()">getPrefix</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the prefix part of the name. For an unnamed node, return an empty string.</DL> </DD> </DL> <HR> <A NAME="getURI()"><!-- --></A><H3> getURI</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getURI</B>()</PRE> <DL> <DD>Get the URI part of the name of this node. This is the URI corresponding to the prefix, or the URI of the default namespace if appropriate. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getURI()">getURI</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The URI of the namespace of this node. For the null namespace, return an empty string. For an unnamed node, return the empty string.</DL> </DD> </DL> <HR> <A NAME="getDisplayName()"><!-- --></A><H3> getDisplayName</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDisplayName</B>()</PRE> <DL> <DD>Get the display name of this node. For elements and attributes this is [prefix:]localname. For unnamed nodes, it is an empty string. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getDisplayName()">getDisplayName</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The display name of this node. For a node with no name, return an empty string.</DL> </DD> </DL> <HR> <A NAME="getLocalPart()"><!-- --></A><H3> getLocalPart</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getLocalPart</B>()</PRE> <DL> <DD>Get the local name of this node. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getLocalPart()">getLocalPart</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The local name of this node. For a node with no name, return "",.</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 the node within its source document entity <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true#getLineNumber()" title="class or interface in javax.xml.transform">getLineNumber</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getLineNumber()">getLineNumber</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the line number of the node in its original source document; or -1 if not available</DL> </DD> </DL> <HR> <A NAME="getParent()"><!-- --></A><H3> getParent</H3> <PRE> public final <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>getParent</B>()</PRE> <DL> <DD>Find the parent node of this node. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getParent()">getParent</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The Node object describing the containing element or root node.</DL> </DD> </DL> <HR> <A NAME="getRawParent()"><!-- --></A><H3> getRawParent</H3> <PRE> protected final net.sf.saxon.tree.linked.ParentNodeImpl <B>getRawParent</B>()</PRE> <DL> <DD>Get the raw value of the parent pointer. This will usually be the same as the parent node in the XDM model, but in the case of a parentless element it will be a pointer to the "imaginary" document node which is not properly part of the tree. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>either the real parent of this node, or the "imaginary" parent present in the tree implementation to provide a root object for the tree</DL> </DD> </DL> <HR> <A NAME="setRawParent(net.sf.saxon.tree.linked.ParentNodeImpl)"><!-- --></A><H3> setRawParent</H3> <PRE> protected final void <B>setRawParent</B>(net.sf.saxon.tree.linked.ParentNodeImpl parent)</PRE> <DL> <DD>Set the raw parent pointer <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the "raw" parent pointer: either the real parent, or a dummy parent added to ensure that the tree is properly rooted.</DL> </DD> </DL> <HR> <A NAME="getPreviousSibling()"><!-- --></A><H3> getPreviousSibling</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>getPreviousSibling</B>()</PRE> <DL> <DD>Get the previous sibling of the node <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The previous sibling node. Returns null if the current node is the first child of its parent.</DL> </DD> </DL> <HR> <A NAME="getNextSibling()"><!-- --></A><H3> getNextSibling</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>getNextSibling</B>()</PRE> <DL> <DD>Get next sibling node <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The next sibling node of the required type. Returns null if the current node is the last child of its parent.</DL> </DD> </DL> <HR> <A NAME="getFirstChild()"><!-- --></A><H3> getFirstChild</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>getFirstChild</B>()</PRE> <DL> <DD>Get first child - default implementation used for leaf nodes <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>null</DL> </DD> </DL> <HR> <A NAME="getLastChild()"><!-- --></A><H3> getLastChild</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>getLastChild</B>()</PRE> <DL> <DD>Get last child - default implementation used for leaf nodes <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>null</DL> </DD> </DL> <HR> <A NAME="iterateAxis(byte)"><!-- --></A><H3> iterateAxis</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/tree/iter/AxisIterator.html" title="interface in net.sf.saxon.tree.iter">AxisIterator</A> <B>iterateAxis</B>(byte axisNumber)</PRE> <DL> <DD>Return an enumeration over the nodes reached by the given axis from this node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#iterateAxis(byte)">iterateAxis</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>axisNumber</CODE> - The axis to be iterated over <DT><B>Returns:</B><DD>an AxisIterator that scans the nodes reached by the axis in turn.<DT><B>See Also:</B><DD><A HREF="../../../../../net/sf/saxon/om/Axis.html" title="class in net.sf.saxon.om"><CODE>Axis</CODE></A></DL> </DD> </DL> <HR> <A NAME="iterateAxis(byte, net.sf.saxon.pattern.NodeTest)"><!-- --></A><H3> iterateAxis</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/tree/iter/AxisIterator.html" title="interface in net.sf.saxon.tree.iter">AxisIterator</A> <B>iterateAxis</B>(byte axisNumber, <A HREF="../../../../../net/sf/saxon/pattern/NodeTest.html" title="class in net.sf.saxon.pattern">NodeTest</A> nodeTest)</PRE> <DL> <DD>Return an enumeration over the nodes reached by the given axis from this node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#iterateAxis(byte, net.sf.saxon.pattern.NodeTest)">iterateAxis</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>axisNumber</CODE> - The axis to be iterated over<DD><CODE>nodeTest</CODE> - A pattern to be matched by the returned nodes <DT><B>Returns:</B><DD>an AxisIterator that scans the nodes reached by the axis in turn.<DT><B>See Also:</B><DD><A HREF="../../../../../net/sf/saxon/om/Axis.html" title="class in net.sf.saxon.om"><CODE>Axis</CODE></A></DL> </DD> </DL> <HR> <A NAME="getAttributeValue(java.lang.String, java.lang.String)"><!-- --></A><H3> getAttributeValue</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAttributeValue</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> uri, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> localName)</PRE> <DL> <DD>Find the value of a given attribute of this node. <BR> This method is defined on all nodes to meet XSL requirements, but for nodes other than elements it will always return null. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getAttributeValue(java.lang.String, java.lang.String)">getAttributeValue</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the namespace uri of an attribute<DD><CODE>localName</CODE> - the local name of an attribute <DT><B>Returns:</B><DD>the value of the attribute, if it exists, otherwise null</DL> </DD> </DL> <HR> <A NAME="getAttributeValue(int)"><!-- --></A><H3> getAttributeValue</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAttributeValue</B>(int fingerprint)</PRE> <DL> <DD>Get the value of a given attribute of this node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getAttributeValue(int)">getAttributeValue</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fingerprint</CODE> - The fingerprint of the attribute name <DT><B>Returns:</B><DD>the attribute value if it exists or null if not</DL> </DD> </DL> <HR> <A NAME="getRoot()"><!-- --></A><H3> getRoot</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>getRoot</B>()</PRE> <DL> <DD>Get the root node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getRoot()">getRoot</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the NodeInfo representing the logical root of the tree. For this tree implementation the root will either be a document node or an element node.</DL> </DD> </DL> <HR> <A NAME="getDocumentRoot()"><!-- --></A><H3> getDocumentRoot</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A> <B>getDocumentRoot</B>()</PRE> <DL> <DD>Get the root (document) node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getDocumentRoot()">getDocumentRoot</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the DocumentInfo representing the containing document. If this node is part of a tree that does not have a document node as its root, returns null.</DL> </DD> </DL> <HR> <A NAME="getPhysicalRoot()"><!-- --></A><H3> getPhysicalRoot</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/tree/linked/DocumentImpl.html" title="class in net.sf.saxon.tree.linked">DocumentImpl</A> <B>getPhysicalRoot</B>()</PRE> <DL> <DD>Get the physical root of the tree. This may be an imaginary document node: this method should be used only when control information held at the physical root is required <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the document node, which may be imaginary. In the case of a node that has been detached from the tree by means of a delete() operation, this method returns null.</DL> </DD> </DL> <HR> <A NAME="getNextInDocument(net.sf.saxon.tree.linked.NodeImpl)"><!-- --></A><H3> getNextInDocument</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A> <B>getNextInDocument</B>(<A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A> anchor)</PRE> <DL> <DD>Get the next node in document order <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>anchor</CODE> - the scan stops when it reaches a node that is not a descendant of the specified anchor node <DT><B>Returns:</B><DD>the next node in the document, or null if there is no such node</DL> </DD> </DL> <HR> <A NAME="getPreviousInDocument()"><!-- --></A><H3> getPreviousInDocument</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A> <B>getPreviousInDocument</B>()</PRE> <DL> <DD>Get the previous node in document order <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the previous node in the document, or null if there is no such node</DL> </DD> </DL> <HR> <A NAME="getDeclaredNamespaces(net.sf.saxon.om.NamespaceBinding[])"><!-- --></A><H3> getDeclaredNamespaces</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/NamespaceBinding.html" title="class in net.sf.saxon.om">NamespaceBinding</A>[] <B>getDeclaredNamespaces</B>(<A HREF="../../../../../net/sf/saxon/om/NamespaceBinding.html" title="class in net.sf.saxon.om">NamespaceBinding</A>[] buffer)</PRE> <DL> <DD>Get all namespace undeclarations and undeclarations defined on this element. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#getDeclaredNamespaces(net.sf.saxon.om.NamespaceBinding[])">getDeclaredNamespaces</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buffer</CODE> - If this is non-null, and the result array fits in this buffer, then the result may overwrite the contents of this array, to avoid the cost of allocating a new array on the heap. <DT><B>Returns:</B><DD>An array of integers representing the namespace declarations and undeclarations present on this element. For a node other than an element, return null. Otherwise, the returned array is a sequence of namespace codes, whose meaning may be interpreted by reference to the name pool. The top half word of each namespace code represents the prefix, the bottom half represents the URI. If the bottom half is zero, then this is a namespace undeclaration rather than a declaration. The XML namespace is never included in the list. If the supplied array is larger than required, then the first unused entry will be set to -1. <p/> <p>For a node other than an element, the method returns null.</p></DL> </DD> </DL> <HR> <A NAME="hasChildNodes()"><!-- --></A><H3> hasChildNodes</H3> <PRE> public boolean <B>hasChildNodes</B>()</PRE> <DL> <DD>Determine whether the node has any children. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#hasChildNodes()">hasChildNodes</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </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="isId()"><!-- --></A><H3> isId</H3> <PRE> public boolean <B>isId</B>()</PRE> <DL> <DD>Determine whether this node has the is-id property <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#isId()">isId</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if the node is an ID</DL> </DD> </DL> <HR> <A NAME="isIdref()"><!-- --></A><H3> isIdref</H3> <PRE> public boolean <B>isIdref</B>()</PRE> <DL> <DD>Determine whether this node has the is-idref property <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#isIdref()">isIdref</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if the node is an IDREF or IDREFS element or attribute</DL> </DD> </DL> <HR> <A NAME="isNilled()"><!-- --></A><H3> isNilled</H3> <PRE> public boolean <B>isNilled</B>()</PRE> <DL> <DD>Determine whether the node has the is-nilled property <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html#isNilled()">isNilled</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if the node has the is-nilled property</DL> </DD> </DL> <HR> <A NAME="setTypeAnnotation(int)"><!-- --></A><H3> setTypeAnnotation</H3> <PRE> public void <B>setTypeAnnotation</B>(int typeCode)</PRE> <DL> <DD>Set the type annotation on a node. This must only be called when the caller has verified (by validation) that the node is a valid instance of the specified type. The call is ignored if the node is not an element or attribute node. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#setTypeAnnotation(int)">setTypeAnnotation</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>typeCode</CODE> - the type annotation (possibly including high bits set to indicate the isID, isIDREF, and isNilled properties)</DL> </DD> </DL> <HR> <A NAME="delete()"><!-- --></A><H3> delete</H3> <PRE> public void <B>delete</B>()</PRE> <DL> <DD>Delete this node (that is, detach it from its parent) <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#delete()">delete</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isDeleted()"><!-- --></A><H3> isDeleted</H3> <PRE> public boolean <B>isDeleted</B>()</PRE> <DL> <DD>Test whether this MutableNodeInfo object represents a node that has been deleted. Generally, such a node is unusable, and any attempt to use it will result in an exception being thrown <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#isDeleted()">isDeleted</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this node has been deleted</DL> </DD> </DL> <HR> <A NAME="removeAttribute(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3> removeAttribute</H3> <PRE> public void <B>removeAttribute</B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> attribute)</PRE> <DL> <DD>Remove an attribute from this element node <p>If this node is not an element, or if the specified node is not an attribute of this element, this method takes no action.</p> <p>The attribute object itself becomes unusable; any attempt to use this attribute object, or any other object representing the same node, is likely to result in an exception.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#removeAttribute(net.sf.saxon.om.NodeInfo)">removeAttribute</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>attribute</CODE> - the attribute node to be removed</DL> </DD> </DL> <HR> <A NAME="addAttribute(net.sf.saxon.om.NodeName, net.sf.saxon.type.SimpleType, java.lang.CharSequence, int)"><!-- --></A><H3> addAttribute</H3> <PRE> public void <B>addAttribute</B>(<A HREF="../../../../../net/sf/saxon/om/NodeName.html" title="interface in net.sf.saxon.om">NodeName</A> name, <A HREF="../../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A> attType, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> value, int properties)</PRE> <DL> <DD>Add an attribute to this element node. <p>If this node is not an element, or if the supplied node is not an attribute, the method takes no action. If the element already has an attribute with this name, the method throws an exception.</p> <p>This method does not perform any namespace fixup. It is the caller's responsibility to ensure that any namespace prefix used in the name of the attribute (or in its value if it has a namespace-sensitive type) is declared on this element.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#addAttribute(net.sf.saxon.om.NodeName, net.sf.saxon.type.SimpleType, java.lang.CharSequence, int)">addAttribute</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the new attribute<DD><CODE>attType</CODE> - the type annotation of the new attribute<DD><CODE>value</CODE> - the string value of the new attribute<DD><CODE>properties</CODE> - properties including IS_ID and IS_IDREF properties <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element already has an attribute with the given name.</DL> </DD> </DL> <HR> <A NAME="rename(net.sf.saxon.om.NodeName)"><!-- --></A><H3> rename</H3> <PRE> public void <B>rename</B>(<A HREF="../../../../../net/sf/saxon/om/NodeName.html" title="interface in net.sf.saxon.om">NodeName</A> newNameCode)</PRE> <DL> <DD>Rename this node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#rename(net.sf.saxon.om.NodeName)">rename</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>newNameCode</CODE> - the NamePool code of the new name</DL> </DD> </DL> <HR> <A NAME="addNamespace(net.sf.saxon.om.NamespaceBinding, boolean)"><!-- --></A><H3> addNamespace</H3> <PRE> public void <B>addNamespace</B>(<A HREF="../../../../../net/sf/saxon/om/NamespaceBinding.html" title="class in net.sf.saxon.om">NamespaceBinding</A> nscode, boolean inherit)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#addNamespace(net.sf.saxon.om.NamespaceBinding, boolean)">MutableNodeInfo</A></CODE></B></DD> <DD>Add a namespace binding (that is, a namespace node) to this element. This call has no effect if applied to a node other than an element. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#addNamespace(net.sf.saxon.om.NamespaceBinding, boolean)">addNamespace</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nscode</CODE> - The namespace code representing the (prefix, uri) pair of the namespace binding to be added. If the target element already has a namespace binding with this (prefix, uri) pair, the call has no effect. If the target element currently has a namespace binding with this prefix and a different URI, an exception is raised.<DD><CODE>inherit</CODE> - If true, the new namespace binding will be inherited by any children of the target element that do not already have a namespace binding for the specified prefix, recursively. If false, the new namespace binding will not be inherited.</DL> </DD> </DL> <HR> <A NAME="replace(net.sf.saxon.om.NodeInfo[], boolean)"><!-- --></A><H3> replace</H3> <PRE> public void <B>replace</B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[] replacement, boolean inherit)</PRE> <DL> <DD>Replace this node with a given sequence of nodes. This node is effectively deleted, and the replacement nodes are attached to the parent of this node in its place. <p>The supplied nodes will become children of this node's parent. Adjacent text nodes will be merged, and zero-length text nodes removed. The supplied nodes may be modified in situ, for example to change their parent property and to add namespace bindings, or they may be copied, at the discretion of the implementation.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#replace(net.sf.saxon.om.NodeInfo[], boolean)">replace</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>replacement</CODE> - the replacement nodes. If this node is an attribute, the replacements must also be attributes; if this node is not an attribute, the replacements must not be attributes. source the nodes to be inserted. The implementation determines what implementation classes of node it will accept; this implementation will accept attribute, text, comment, and processing instruction nodes belonging to any implementation, but elements must be instances of <A HREF="../../../../../net/sf/saxon/tree/linked/ElementImpl.html" title="class in net.sf.saxon.tree.linked"><CODE>ElementImpl</CODE></A>. The supplied nodes will be modified in situ, for example to change their parent property and to add namespace bindings, if they are instances of <A HREF="../../../../../net/sf/saxon/tree/linked/ElementImpl.html" title="class in net.sf.saxon.tree.linked"><CODE>ElementImpl</CODE></A>; otherwise they will be copied. If the nodes are copied, then on return the supplied source array will contain the copy rather than the original.<DD><CODE>inherit</CODE> - true if the replacement nodes are to inherit the namespaces of their new parent; false if such namespaces are to be undeclared <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if any of the replacement nodes is of the wrong kind. When replacing a child node, the replacement nodes must all be elements, text, comment, or PI nodes; when replacing an attribute, the replacement nodes must all be attributes. <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this node is deleted or if it has no parent node. or if two replacement attributes have the same name.</DL> </DD> </DL> <HR> <A NAME="insertChildren(net.sf.saxon.om.NodeInfo[], boolean, boolean)"><!-- --></A><H3> insertChildren</H3> <PRE> public void <B>insertChildren</B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[] source, boolean atStart, boolean inherit)</PRE> <DL> <DD>Insert a sequence of nodes as children of this node. <p>This method takes no action unless the target node is a document node or element node. It also takes no action in respect of any supplied nodes that are not elements, text nodes, comments, or processing instructions.</p> <p>The supplied nodes will form the new children. Adjacent text nodes will be merged, and zero-length text nodes removed. The supplied nodes may be modified in situ, for example to change their parent property and to add namespace bindings, or they may be copied, at the discretion of the implementation.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#insertChildren(net.sf.saxon.om.NodeInfo[], boolean, boolean)">insertChildren</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>source</CODE> - the nodes to be inserted. The implementation determines what implementation classes of node it will accept; all implementations must accept nodes constructed using the Builder supplied by the <A HREF="../../../../../net/sf/saxon/tree/linked/NodeImpl.html#newBuilder()"><CODE>newBuilder()</CODE></A> method on this object. The supplied nodes may be modified in situ, for example to change their parent property and to add namespace bindings, but this depends on the implementation. The argument array may be modified as a result of the call.<DD><CODE>atStart</CODE> - true if the new nodes are to be inserted before existing children; false if they are to be inserted after existing children<DD><CODE>inherit</CODE> - true if the inserted nodes are to inherit the namespaces of their new parent; false if such namespaces are to be undeclared <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the supplied nodes use a node implementation that this implementation does not accept.</DL> </DD> </DL> <HR> <A NAME="insertSiblings(net.sf.saxon.om.NodeInfo[], boolean, boolean)"><!-- --></A><H3> insertSiblings</H3> <PRE> public void <B>insertSiblings</B>(<A HREF="../../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[] source, boolean before, boolean inherit)</PRE> <DL> <DD>Insert copies of a sequence of nodes as siblings of this node. <p/> <p>This method takes no action unless the target node is an element, text node, comment, or processing instruction, and one that has a parent node. It also takes no action in respect of any supplied nodes that are not elements, text nodes, comments, or processing instructions.</p> <p/> <p>The supplied nodes must use the same data model implementation as the tree into which they will be inserted.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#insertSiblings(net.sf.saxon.om.NodeInfo[], boolean, boolean)">insertSiblings</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>source</CODE> - the nodes to be inserted<DD><CODE>before</CODE> - true if the new nodes are to be inserted before the target node; false if they are<DD><CODE>inherit</CODE> - true if the inserted nodes are to inherit the namespaces of their new parent; false if such namespaces are to be undeclared</DL> </DD> </DL> <HR> <A NAME="removeTypeAnnotation()"><!-- --></A><H3> removeTypeAnnotation</H3> <PRE> public void <B>removeTypeAnnotation</B>()</PRE> <DL> <DD>Remove type information from this node (and its ancestors, recursively). This method implements the upd:removeType() primitive defined in the XQuery Update specification <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#removeTypeAnnotation()">removeTypeAnnotation</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="newBuilder()"><!-- --></A><H3> newBuilder</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/event/Builder.html" title="class in net.sf.saxon.event">Builder</A> <B>newBuilder</B>()</PRE> <DL> <DD>Get a Builder suitable for building nodes that can be attached to this document. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html#newBuilder()">newBuilder</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a new Builder that constructs nodes using the same object model implementation as this one, suitable for attachment to this tree</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="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="../../../../../net/sf/saxon/tree/linked/NodeFactory.html" title="interface in net.sf.saxon.tree.linked"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/saxon/tree/linked/SystemIdMap.html" title="class in net.sf.saxon.tree.linked"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?net/sf/saxon/tree/linked/NodeImpl.html" target="_top"><B>FRAMES</B></A> <A HREF="NodeImpl.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> Copyright (c) 2004-2011 Saxonica Limited. All rights reserved. </BODY> </HTML>