<!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:21 GMT 2011 --> <TITLE> MutableNodeInfo </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="MutableNodeInfo"; } } </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/om/MutableDocumentInfo.html" title="interface in net.sf.saxon.om"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/om/Name10Checker.html" title="class in net.sf.saxon.om"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/om/MutableNodeInfo.html" target="_top"><B>FRAMES</B></A> <A HREF="MutableNodeInfo.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <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.om</FONT> <BR> Interface MutableNodeInfo</H2> <DL> <DT><B>All Superinterfaces:</B> <DD><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/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>, <A HREF="../../../../net/sf/saxon/evpull/PullEvent.html" title="interface in net.sf.saxon.evpull">PullEvent</A>, <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="../../../../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>></DD> </DL> <DL> <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../net/sf/saxon/style/AbsentExtensionElement.html" title="class in net.sf.saxon.style">AbsentExtensionElement</A>, <A HREF="../../../../com/saxonica/schema/sdoc/AnnotationParent.html" title="class in com.saxonica.schema.sdoc">AnnotationParent</A>, <A HREF="../../../../net/sf/saxon/style/DataElement.html" title="class in net.sf.saxon.style">DataElement</A>, <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>, <A HREF="../../../../net/sf/saxon/style/ExtensionInstruction.html" title="class in net.sf.saxon.style">ExtensionInstruction</A>, <A HREF="../../../../net/sf/saxon/style/LiteralResultElement.html" title="class in net.sf.saxon.style">LiteralResultElement</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A>, <A HREF="../../../../net/sf/saxon/tree/util/Orphan.html" title="class in net.sf.saxon.tree.util">Orphan</A>, <A HREF="../../../../com/saxonica/xsltextn/SaxonAssign.html" title="class in com.saxonica.xsltextn">SaxonAssign</A>, <A HREF="../../../../com/saxonica/xsltextn/SaxonCallTemplate.html" title="class in com.saxonica.xsltextn">SaxonCallTemplate</A>, <A HREF="../../../../com/saxonica/xsltextn/SaxonCollation.html" title="class in com.saxonica.xsltextn">SaxonCollation</A>, <A HREF="../../../../com/saxonica/xsltextn/SaxonDoctype.html" title="class in com.saxonica.xsltextn">SaxonDoctype</A>, <A HREF="../../../../com/saxonica/xsltextn/SaxonEntityRef.html" title="class in com.saxonica.xsltextn">SaxonEntityRef</A>, <A HREF="../../../../com/saxonica/xsltextn/SaxonImportQuery.html" title="class in com.saxonica.xsltextn">SaxonImportQuery</A>, <A HREF="../../../../com/saxonica/schema/sdoc/SaxonParam.html" title="class in com.saxonica.schema.sdoc">SaxonParam</A>, <A HREF="../../../../com/saxonica/schema/sdoc/SaxonPreprocess.html" title="class in com.saxonica.schema.sdoc">SaxonPreprocess</A>, <A HREF="../../../../com/saxonica/xsltextn/SaxonWhile.html" title="class in com.saxonica.xsltextn">SaxonWhile</A>, <A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html" title="class in com.saxonica.schema.sdoc">SchemaElement</A>, <A HREF="../../../../net/sf/saxon/option/sql/SQLClose.html" title="class in net.sf.saxon.option.sql">SQLClose</A>, <A HREF="../../../../net/sf/saxon/option/sql/SQLColumn.html" title="class in net.sf.saxon.option.sql">SQLColumn</A>, <A HREF="../../../../net/sf/saxon/option/sql/SQLConnect.html" title="class in net.sf.saxon.option.sql">SQLConnect</A>, <A HREF="../../../../net/sf/saxon/option/sql/SQLDelete.html" title="class in net.sf.saxon.option.sql">SQLDelete</A>, <A HREF="../../../../net/sf/saxon/option/sql/SQLExecute.html" title="class in net.sf.saxon.option.sql">SQLExecute</A>, <A HREF="../../../../net/sf/saxon/option/sql/SQLInsert.html" title="class in net.sf.saxon.option.sql">SQLInsert</A>, <A HREF="../../../../net/sf/saxon/option/sql/SQLQuery.html" title="class in net.sf.saxon.option.sql">SQLQuery</A>, <A HREF="../../../../net/sf/saxon/option/sql/SQLUpdate.html" title="class in net.sf.saxon.option.sql">SQLUpdate</A>, <A HREF="../../../../net/sf/saxon/style/StyleElement.html" title="class in net.sf.saxon.style">StyleElement</A>, <A HREF="../../../../com/saxonica/schema/sdoc/UnknownElement.html" title="class in com.saxonica.schema.sdoc">UnknownElement</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAlternative.html" title="class in com.saxonica.schema.sdoc">XSDAlternative</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAnnotation.html" title="class in com.saxonica.schema.sdoc">XSDAnnotation</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAny.html" title="class in com.saxonica.schema.sdoc">XSDAny</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAnyAttribute.html" title="class in com.saxonica.schema.sdoc">XSDAnyAttribute</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAssert.html" title="class in com.saxonica.schema.sdoc">XSDAssert</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAttribute.html" title="class in com.saxonica.schema.sdoc">XSDAttribute</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAttributeGroup.html" title="class in com.saxonica.schema.sdoc">XSDAttributeGroup</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDComplexContent.html" title="class in com.saxonica.schema.sdoc">XSDComplexContent</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDComplexContentRestriction.html" title="class in com.saxonica.schema.sdoc">XSDComplexContentRestriction</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDComplexType.html" title="class in com.saxonica.schema.sdoc">XSDComplexType</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDCompositor.html" title="class in com.saxonica.schema.sdoc">XSDCompositor</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDDefaultOpenContent.html" title="class in com.saxonica.schema.sdoc">XSDDefaultOpenContent</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDDocumentation.html" title="class in com.saxonica.schema.sdoc">XSDDocumentation</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDElement.html" title="class in com.saxonica.schema.sdoc">XSDElement</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDExtension.html" title="class in com.saxonica.schema.sdoc">XSDExtension</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDFacet.html" title="class in com.saxonica.schema.sdoc">XSDFacet</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDFieldOrSelector.html" title="class in com.saxonica.schema.sdoc">XSDFieldOrSelector</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDGroup.html" title="class in com.saxonica.schema.sdoc">XSDGroup</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDIdentityConstraint.html" title="class in com.saxonica.schema.sdoc">XSDIdentityConstraint</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDImport.html" title="class in com.saxonica.schema.sdoc">XSDImport</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDInclude.html" title="class in com.saxonica.schema.sdoc">XSDInclude</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDList.html" title="class in com.saxonica.schema.sdoc">XSDList</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDNotation.html" title="class in com.saxonica.schema.sdoc">XSDNotation</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDOpenContent.html" title="class in com.saxonica.schema.sdoc">XSDOpenContent</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDOverride.html" title="class in com.saxonica.schema.sdoc">XSDOverride</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDRedefine.html" title="class in com.saxonica.schema.sdoc">XSDRedefine</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSchema.html" title="class in com.saxonica.schema.sdoc">XSDSchema</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSimpleContent.html" title="class in com.saxonica.schema.sdoc">XSDSimpleContent</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSimpleContentRestriction.html" title="class in com.saxonica.schema.sdoc">XSDSimpleContentRestriction</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSimpleType.html" title="class in com.saxonica.schema.sdoc">XSDSimpleType</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSimpleTypeRestriction.html" title="class in com.saxonica.schema.sdoc">XSDSimpleTypeRestriction</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDUnion.html" title="class in com.saxonica.schema.sdoc">XSDUnion</A>, <A HREF="../../../../net/sf/saxon/style/XSLAnalyzeString.html" title="class in net.sf.saxon.style">XSLAnalyzeString</A>, <A HREF="../../../../net/sf/saxon/style/XSLApplyImports.html" title="class in net.sf.saxon.style">XSLApplyImports</A>, <A HREF="../../../../net/sf/saxon/style/XSLApplyTemplates.html" title="class in net.sf.saxon.style">XSLApplyTemplates</A>, <A HREF="../../../../net/sf/saxon/style/XSLAttribute.html" title="class in net.sf.saxon.style">XSLAttribute</A>, <A HREF="../../../../net/sf/saxon/style/XSLAttributeSet.html" title="class in net.sf.saxon.style">XSLAttributeSet</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLBreak.html" title="class in com.saxonica.xsltextn">XSLBreak</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLBreakOrContinue.html" title="class in com.saxonica.xsltextn">XSLBreakOrContinue</A>, <A HREF="../../../../net/sf/saxon/style/XSLCallTemplate.html" title="class in net.sf.saxon.style">XSLCallTemplate</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLCatch.html" title="class in com.saxonica.xsltextn">XSLCatch</A>, <A HREF="../../../../net/sf/saxon/style/XSLCharacterMap.html" title="class in net.sf.saxon.style">XSLCharacterMap</A>, <A HREF="../../../../net/sf/saxon/style/XSLChoose.html" title="class in net.sf.saxon.style">XSLChoose</A>, <A HREF="../../../../net/sf/saxon/style/XSLComment.html" title="class in net.sf.saxon.style">XSLComment</A>, <A HREF="../../../../net/sf/saxon/style/XSLCopy.html" title="class in net.sf.saxon.style">XSLCopy</A>, <A HREF="../../../../net/sf/saxon/style/XSLCopyOf.html" title="class in net.sf.saxon.style">XSLCopyOf</A>, <A HREF="../../../../net/sf/saxon/style/XSLDecimalFormat.html" title="class in net.sf.saxon.style">XSLDecimalFormat</A>, <A HREF="../../../../net/sf/saxon/style/XSLDocument.html" title="class in net.sf.saxon.style">XSLDocument</A>, <A HREF="../../../../net/sf/saxon/style/XSLElement.html" title="class in net.sf.saxon.style">XSLElement</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLEvaluate.html" title="class in com.saxonica.xsltextn">XSLEvaluate</A>, <A HREF="../../../../net/sf/saxon/style/XSLFallback.html" title="class in net.sf.saxon.style">XSLFallback</A>, <A HREF="../../../../net/sf/saxon/style/XSLForEach.html" title="class in net.sf.saxon.style">XSLForEach</A>, <A HREF="../../../../net/sf/saxon/style/XSLForEachGroup.html" title="class in net.sf.saxon.style">XSLForEachGroup</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLFork.html" title="class in com.saxonica.xsltextn">XSLFork</A>, <A HREF="../../../../net/sf/saxon/style/XSLFunction.html" title="class in net.sf.saxon.style">XSLFunction</A>, <A HREF="../../../../net/sf/saxon/style/XSLGeneralIncorporate.html" title="class in net.sf.saxon.style">XSLGeneralIncorporate</A>, <A HREF="../../../../net/sf/saxon/style/XSLGeneralVariable.html" title="class in net.sf.saxon.style">XSLGeneralVariable</A>, <A HREF="../../../../net/sf/saxon/style/XSLIf.html" title="class in net.sf.saxon.style">XSLIf</A>, <A HREF="../../../../net/sf/saxon/style/XSLImport.html" title="class in net.sf.saxon.style">XSLImport</A>, <A HREF="../../../../net/sf/saxon/style/XSLImportSchema.html" title="class in net.sf.saxon.style">XSLImportSchema</A>, <A HREF="../../../../net/sf/saxon/style/XSLInclude.html" title="class in net.sf.saxon.style">XSLInclude</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLIterate.html" title="class in com.saxonica.xsltextn">XSLIterate</A>, <A HREF="../../../../net/sf/saxon/style/XSLKey.html" title="class in net.sf.saxon.style">XSLKey</A>, <A HREF="../../../../net/sf/saxon/style/XSLLeafNodeConstructor.html" title="class in net.sf.saxon.style">XSLLeafNodeConstructor</A>, <A HREF="../../../../net/sf/saxon/style/XSLMatchingSubstring.html" title="class in net.sf.saxon.style">XSLMatchingSubstring</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLMerge.html" title="class in com.saxonica.xsltextn">XSLMerge</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLMergeAction.html" title="class in com.saxonica.xsltextn">XSLMergeAction</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLMergeInput.html" title="class in com.saxonica.xsltextn">XSLMergeInput</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLMergeKey.html" title="class in com.saxonica.xsltextn">XSLMergeKey</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLMergeSource.html" title="class in com.saxonica.xsltextn">XSLMergeSource</A>, <A HREF="../../../../net/sf/saxon/style/XSLMessage.html" title="class in net.sf.saxon.style">XSLMessage</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLMode.html" title="class in com.saxonica.xsltextn">XSLMode</A>, <A HREF="../../../../net/sf/saxon/style/XSLNamespace.html" title="class in net.sf.saxon.style">XSLNamespace</A>, <A HREF="../../../../net/sf/saxon/style/XSLNamespaceAlias.html" title="class in net.sf.saxon.style">XSLNamespaceAlias</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLNextIteration.html" title="class in com.saxonica.xsltextn">XSLNextIteration</A>, <A HREF="../../../../net/sf/saxon/style/XSLNextMatch.html" title="class in net.sf.saxon.style">XSLNextMatch</A>, <A HREF="../../../../net/sf/saxon/style/XSLNumber.html" title="class in net.sf.saxon.style">XSLNumber</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLOnCompletion.html" title="class in com.saxonica.xsltextn">XSLOnCompletion</A>, <A HREF="../../../../net/sf/saxon/style/XSLOtherwise.html" title="class in net.sf.saxon.style">XSLOtherwise</A>, <A HREF="../../../../net/sf/saxon/style/XSLOutput.html" title="class in net.sf.saxon.style">XSLOutput</A>, <A HREF="../../../../net/sf/saxon/style/XSLOutputCharacter.html" title="class in net.sf.saxon.style">XSLOutputCharacter</A>, <A HREF="../../../../net/sf/saxon/style/XSLParam.html" title="class in net.sf.saxon.style">XSLParam</A>, <A HREF="../../../../net/sf/saxon/style/XSLPerformSort.html" title="class in net.sf.saxon.style">XSLPerformSort</A>, <A HREF="../../../../net/sf/saxon/style/XSLPreserveSpace.html" title="class in net.sf.saxon.style">XSLPreserveSpace</A>, <A HREF="../../../../net/sf/saxon/style/XSLProcessingInstruction.html" title="class in net.sf.saxon.style">XSLProcessingInstruction</A>, <A HREF="../../../../net/sf/saxon/style/XSLResultDocument.html" title="class in net.sf.saxon.style">XSLResultDocument</A>, <A HREF="../../../../net/sf/saxon/style/XSLSequence.html" title="class in net.sf.saxon.style">XSLSequence</A>, <A HREF="../../../../net/sf/saxon/style/XSLSort.html" title="class in net.sf.saxon.style">XSLSort</A>, <A HREF="../../../../net/sf/saxon/style/XSLSortOrMergeKey.html" title="class in net.sf.saxon.style">XSLSortOrMergeKey</A>, <A HREF="../../../../net/sf/saxon/style/XSLStylesheet.html" title="class in net.sf.saxon.style">XSLStylesheet</A>, <A HREF="../../../../net/sf/saxon/style/XSLTemplate.html" title="class in net.sf.saxon.style">XSLTemplate</A>, <A HREF="../../../../net/sf/saxon/style/XSLText.html" title="class in net.sf.saxon.style">XSLText</A>, <A HREF="../../../../com/saxonica/xsltextn/XSLTry.html" title="class in com.saxonica.xsltextn">XSLTry</A>, <A HREF="../../../../net/sf/saxon/style/XSLValueOf.html" title="class in net.sf.saxon.style">XSLValueOf</A>, <A HREF="../../../../net/sf/saxon/style/XSLVariable.html" title="class in net.sf.saxon.style">XSLVariable</A>, <A HREF="../../../../net/sf/saxon/style/XSLVariableDeclaration.html" title="class in net.sf.saxon.style">XSLVariableDeclaration</A>, <A HREF="../../../../net/sf/saxon/style/XSLWhen.html" title="class in net.sf.saxon.style">XSLWhen</A>, <A HREF="../../../../net/sf/saxon/style/XSLWithParam.html" title="class in net.sf.saxon.style">XSLWithParam</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>MutableNodeInfo</B><DT>extends <A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></DL> </PRE> <P> An extension of the NodeInfo interface defining a node that can be updated. The updating methods are closely modelled on the updating primitives defined in the XQuery Update specification, however, their semantics should not be assumed to be identical to those primitives. <p>These primitives may leave the tree in a state where the type annotations of nodes do not correctly describe the structure of the nodes. It is the caller's responsibility to maintain the integrity of type annotations.</p> <p>This interface was introduced in Saxon 9.1 and modified in Saxon 9.2. It is not yet considered 100% stable. Some aspects of the semantics are not clearly specified, for example the effect of each operations on namespace bindings, and such details may change in the future. The primary purpose of this interface is as an internal interface for use by XQuery Update; applications use it (or implement it) at their own risk.</p> <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> </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> <A NAME="fields_inherited_from_class_net.sf.saxon.om.ValueRepresentation"><!-- --></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/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html#EMPTY_VALUE_ARRAY">EMPTY_VALUE_ARRAY</A></CODE></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/om/MutableNodeInfo.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/om/MutableNodeInfo.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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/om/MutableNodeInfo.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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/om/MutableNodeInfo.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/om/MutableNodeInfo.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 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/om/MutableNodeInfo.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> <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/om/MutableNodeInfo.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/om/MutableNodeInfo.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/om/MutableNodeInfo.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/om/MutableNodeInfo.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> newName)</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/om/MutableNodeInfo.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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/om/MutableNodeInfo.html#replaceStringValue(java.lang.CharSequence)">replaceStringValue</A></B>(<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> stringValue)</CODE> <BR> Replace the string-value 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/om/MutableNodeInfo.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_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#atomize()">atomize</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#compareOrder(net.sf.saxon.om.NodeInfo)">compareOrder</A>, <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#equals(java.lang.Object)">equals</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#generateId(net.sf.saxon.tree.util.FastStringBuffer)">generateId</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getAttributeValue(int)">getAttributeValue</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getAttributeValue(java.lang.String, java.lang.String)">getAttributeValue</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getBaseURI()">getBaseURI</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getColumnNumber()">getColumnNumber</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getDeclaredNamespaces(net.sf.saxon.om.NamespaceBinding[])">getDeclaredNamespaces</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getDisplayName()">getDisplayName</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getDocumentNumber()">getDocumentNumber</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getDocumentRoot()">getDocumentRoot</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getFingerprint()">getFingerprint</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getLineNumber()">getLineNumber</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getLocalPart()">getLocalPart</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getNameCode()">getNameCode</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getNamePool()">getNamePool</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getNodeKind()">getNodeKind</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getParent()">getParent</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getPrefix()">getPrefix</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getRoot()">getRoot</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getSchemaType()">getSchemaType</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getStringValue()">getStringValue</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getSystemId()">getSystemId</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getTypeAnnotation()">getTypeAnnotation</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#getURI()">getURI</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#hasChildNodes()">hasChildNodes</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#hashCode()">hashCode</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#isId()">isId</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#isIdref()">isIdref</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#isNilled()">isNilled</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#isSameNodeInfo(net.sf.saxon.om.NodeInfo)">isSameNodeInfo</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#iterateAxis(byte)">iterateAxis</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#iterateAxis(byte, net.sf.saxon.pattern.NodeTest)">iterateAxis</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_javax.xml.transform.Source"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface javax.xml.transform.<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></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><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></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.om.Item"><!-- --></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/Item.html" title="interface in net.sf.saxon.om">Item</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/om/Item.html#getStringValueCS()">getStringValueCS</A>, <A HREF="../../../../net/sf/saxon/om/Item.html#getTypedValue()">getTypedValue</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ 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="setTypeAnnotation(int)"><!-- --></A><H3> setTypeAnnotation</H3> <PRE> 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> </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="insertChildren(net.sf.saxon.om.NodeInfo[], boolean, boolean)"><!-- --></A><H3> insertChildren</H3> <PRE> 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> </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/om/MutableNodeInfo.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> 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 a sequence of nodes as siblings of this node. <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>The supplied nodes will form new children of this node. 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> </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/om/MutableNodeInfo.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>before</CODE> - true if the new nodes are to be inserted before the target node; false if they are to be inserted after the target node<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 any supplied node is not a text node, element, comment, or processing instruction or if any of the supplied nodes uses a node implementation that this implementation does not accept.</DL> </DD> </DL> <HR> <A NAME="removeAttribute(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3> removeAttribute</H3> <PRE> 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 the target node is not an element, or if the supplied 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. Calling the <A HREF="../../../../net/sf/saxon/om/MutableNodeInfo.html#isDeleted()"><CODE>isDeleted()</CODE></A> method on the attribute object will return true.</p> <P> <DD><DL> </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> 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, 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> </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="delete()"><!-- --></A><H3> delete</H3> <PRE> void <B>delete</B>()</PRE> <DL> <DD>Delete this node (that is, detach it from its parent). <p>Following this call, calling <A HREF="../../../../net/sf/saxon/om/MutableNodeInfo.html#isDeleted()"><CODE>isDeleted()</CODE></A> on the target node or on any of its descendants (or their attributes) will return true, and the node will in all other respects be unusable. The effect of other operations on the node is undefined.</p> <p>If the deleted node has preceding and following siblings that are both text nodes, the two text nodes will be joined into a single text node (the identity of this node with respect to the original text nodes is undefined).</p> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isDeleted()"><!-- --></A><H3> isDeleted</H3> <PRE> 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> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this node has been deleted</DL> </DD> </DL> <HR> <A NAME="replace(net.sf.saxon.om.NodeInfo[], boolean)"><!-- --></A><H3> replace</H3> <PRE> 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> </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. 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/om/MutableNodeInfo.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>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. <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 two replacement attributes have the same name.</DL> </DD> </DL> <HR> <A NAME="replaceStringValue(java.lang.CharSequence)"><!-- --></A><H3> replaceStringValue</H3> <PRE> void <B>replaceStringValue</B>(<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> stringValue)</PRE> <DL> <DD>Replace the string-value of this node. If applied to an element or document node, this causes all existing children to be deleted, and replaced with a new text node whose string value is the value supplied. The caller is responsible for checking that the value is valid, for example that comments do not contain a double hyphen; the implementation is not required to check for such conditions. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>stringValue</CODE> - the new string value</DL> </DD> </DL> <HR> <A NAME="rename(net.sf.saxon.om.NodeName)"><!-- --></A><H3> rename</H3> <PRE> void <B>rename</B>(<A HREF="../../../../net/sf/saxon/om/NodeName.html" title="interface in net.sf.saxon.om">NodeName</A> newName)</PRE> <DL> <DD>Rename this node. <p>This call has no effect if applied to a nameless node, such as a text node or comment.</p> <p>If necessary, a new namespace binding will be added to the target element, or to the element parent of the target attribute</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>newName</CODE> - the new name for the node <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 new name code is not present in the name pool, or if it has a (prefix, uri) pair in which the prefix is the same as that of an existing in-scope namespace binding and the uri is different from that namespace binding.</DL> </DD> </DL> <HR> <A NAME="addNamespace(net.sf.saxon.om.NamespaceBinding, boolean)"><!-- --></A><H3> addNamespace</H3> <PRE> 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>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> </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. <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 namespace code is not present in the namepool, or if the target element already has a namespace binding for this prefix</DL> </DD> </DL> <HR> <A NAME="removeTypeAnnotation()"><!-- --></A><H3> removeTypeAnnotation</H3> <PRE> 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. (Note: the caller is responsible for updating the set of nodes marked for revalidation) <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="newBuilder()"><!-- --></A><H3> newBuilder</H3> <PRE> <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> </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/om/MutableDocumentInfo.html" title="interface in net.sf.saxon.om"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/om/Name10Checker.html" title="class in net.sf.saxon.om"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/om/MutableNodeInfo.html" target="_top"><B>FRAMES</B></A> <A HREF="MutableNodeInfo.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <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>