Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 2416

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<!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:26 GMT 2011 -->
<TITLE>
BuildingStreamWriterImpl
</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="BuildingStreamWriterImpl";
    }
}
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html" title="interface in net.sf.saxon.s9api"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sf/saxon/s9api/Destination.html" title="interface in net.sf.saxon.s9api"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?net/sf/saxon/s9api/BuildingStreamWriterImpl.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="BuildingStreamWriterImpl.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.s9api</FONT>
<BR>
Class BuildingStreamWriterImpl</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 "><A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html" title="class in net.sf.saxon.event">net.sf.saxon.event.StreamWriterToReceiver</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.saxon.s9api.BuildingStreamWriterImpl</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>, <A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html" title="interface in net.sf.saxon.s9api">BuildingStreamWriter</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>BuildingStreamWriterImpl</B><DT>extends <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html" title="class in net.sf.saxon.event">StreamWriterToReceiver</A><DT>implements <A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html" title="interface in net.sf.saxon.s9api">BuildingStreamWriter</A></DL>
</PRE>

<P>
This class is an implementation of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLStreamWriter</CODE></A>, allowing
 a document to be constructed by means of a series of XMLStreamWriter method calls such
 as writeStartElement(), writeAttribute(), writeCharacters(), and writeEndElement().

 <p>The detailed way in which this class is packaged is carefully designed to ensure that
 if the functionality is not used, the <code>DocumentBuilder</code> is still usable under
 JDK 1.5 (which does not include javax.xml.stream interfaces).</p>
<P>

<P>
<HR>

<P>

<!-- ======== 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/s9api/BuildingStreamWriterImpl.html#BuildingStreamWriterImpl(net.sf.saxon.event.Receiver, net.sf.saxon.event.Builder)">BuildingStreamWriterImpl</A></B>(<A HREF="../../../../net/sf/saxon/event/Receiver.html" title="interface in net.sf.saxon.event">Receiver</A>&nbsp;receiver,
                         <A HREF="../../../../net/sf/saxon/event/Builder.html" title="class in net.sf.saxon.event">Builder</A>&nbsp;builder)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;<A HREF="../../../../net/sf/saxon/s9api/XdmNode.html" title="class in net.sf.saxon.s9api">XdmNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriterImpl.html#getDocumentNode()">getDocumentNode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;After building the document by writing a sequence of events, retrieve the root node
 of the constructed document tree</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_net.sf.saxon.event.StreamWriterToReceiver"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class net.sf.saxon.event.<A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html" title="class in net.sf.saxon.event">StreamWriterToReceiver</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#close()">close</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#flush()">flush</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#getNamespaceContext()">getNamespaceContext</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#getPrefix(java.lang.String)">getPrefix</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#getProperty(java.lang.String)">getProperty</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#isCheckValues()">isCheckValues</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#isInventPrefixes()">isInventPrefixes</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#setCheckValues(boolean)">setCheckValues</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#setDefaultNamespace(java.lang.String)">setDefaultNamespace</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#setInventPrefixes(boolean)">setInventPrefixes</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#setNamespaceContext(javax.xml.namespace.NamespaceContext)">setNamespaceContext</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#setPrefix(java.lang.String, java.lang.String)">setPrefix</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeAttribute(java.lang.String, java.lang.String)">writeAttribute</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeAttribute(java.lang.String, java.lang.String, java.lang.String)">writeAttribute</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">writeAttribute</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeCData(java.lang.String)">writeCData</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeCharacters(char[], int, int)">writeCharacters</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeCharacters(java.lang.String)">writeCharacters</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeComment(java.lang.String)">writeComment</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeDefaultNamespace(java.lang.String)">writeDefaultNamespace</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeDTD(java.lang.String)">writeDTD</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeEmptyElement(java.lang.String)">writeEmptyElement</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeEmptyElement(java.lang.String, java.lang.String)">writeEmptyElement</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeEmptyElement(java.lang.String, java.lang.String, java.lang.String)">writeEmptyElement</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeEndDocument()">writeEndDocument</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeEndElement()">writeEndElement</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeEntityRef(java.lang.String)">writeEntityRef</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeNamespace(java.lang.String, java.lang.String)">writeNamespace</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeProcessingInstruction(java.lang.String)">writeProcessingInstruction</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeProcessingInstruction(java.lang.String, java.lang.String)">writeProcessingInstruction</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeStartDocument()">writeStartDocument</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeStartDocument(java.lang.String)">writeStartDocument</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeStartDocument(java.lang.String, java.lang.String)">writeStartDocument</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeStartElement(java.lang.String)">writeStartElement</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeStartElement(java.lang.String, java.lang.String)">writeStartElement</A>, <A HREF="../../../../net/sf/saxon/event/StreamWriterToReceiver.html#writeStartElement(java.lang.String, java.lang.String, java.lang.String)">writeStartElement</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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>
&nbsp;<A NAME="methods_inherited_from_class_net.sf.saxon.s9api.BuildingStreamWriter"><!-- --></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.s9api.<A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html" title="interface in net.sf.saxon.s9api">BuildingStreamWriter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html#isCheckValues()">isCheckValues</A>, <A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html#isInventPrefixes()">isInventPrefixes</A>, <A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html#setCheckValues(boolean)">setCheckValues</A>, <A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html#setInventPrefixes(boolean)">setInventPrefixes</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.xml.stream.XMLStreamWriter"><!-- --></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.stream.<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#close()" title="class or interface in javax.xml.stream">close</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#flush()" title="class or interface in javax.xml.stream">flush</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#getNamespaceContext()" title="class or interface in javax.xml.stream">getNamespaceContext</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#getPrefix(java.lang.String)" title="class or interface in javax.xml.stream">getPrefix</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#getProperty(java.lang.String)" title="class or interface in javax.xml.stream">getProperty</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#setDefaultNamespace(java.lang.String)" title="class or interface in javax.xml.stream">setDefaultNamespace</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#setNamespaceContext(javax.xml.namespace.NamespaceContext)" title="class or interface in javax.xml.stream">setNamespaceContext</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#setPrefix(java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">setPrefix</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeAttribute(java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeAttribute</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeAttribute(java.lang.String, java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeAttribute</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeAttribute</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeCData(java.lang.String)" title="class or interface in javax.xml.stream">writeCData</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeCharacters(char[], int, int)" title="class or interface in javax.xml.stream">writeCharacters</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeCharacters(java.lang.String)" title="class or interface in javax.xml.stream">writeCharacters</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeComment(java.lang.String)" title="class or interface in javax.xml.stream">writeComment</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeDefaultNamespace(java.lang.String)" title="class or interface in javax.xml.stream">writeDefaultNamespace</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeDTD(java.lang.String)" title="class or interface in javax.xml.stream">writeDTD</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeEmptyElement(java.lang.String)" title="class or interface in javax.xml.stream">writeEmptyElement</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeEmptyElement(java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeEmptyElement</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeEmptyElement(java.lang.String, java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeEmptyElement</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeEndDocument()" title="class or interface in javax.xml.stream">writeEndDocument</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeEndElement()" title="class or interface in javax.xml.stream">writeEndElement</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeEntityRef(java.lang.String)" title="class or interface in javax.xml.stream">writeEntityRef</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeNamespace(java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeNamespace</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeProcessingInstruction(java.lang.String)" title="class or interface in javax.xml.stream">writeProcessingInstruction</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeProcessingInstruction(java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeProcessingInstruction</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeStartDocument()" title="class or interface in javax.xml.stream">writeStartDocument</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeStartDocument(java.lang.String)" title="class or interface in javax.xml.stream">writeStartDocument</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeStartDocument(java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeStartDocument</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeStartElement(java.lang.String)" title="class or interface in javax.xml.stream">writeStartElement</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeStartElement(java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeStartElement</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeStartElement(java.lang.String, java.lang.String, java.lang.String)" title="class or interface in javax.xml.stream">writeStartElement</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= 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="BuildingStreamWriterImpl(net.sf.saxon.event.Receiver, net.sf.saxon.event.Builder)"><!-- --></A><H3>
BuildingStreamWriterImpl</H3>
<PRE>
public <B>BuildingStreamWriterImpl</B>(<A HREF="../../../../net/sf/saxon/event/Receiver.html" title="interface in net.sf.saxon.event">Receiver</A>&nbsp;receiver,
                                <A HREF="../../../../net/sf/saxon/event/Builder.html" title="class in net.sf.saxon.event">Builder</A>&nbsp;builder)</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="getDocumentNode()"><!-- --></A><H3>
getDocumentNode</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/s9api/XdmNode.html" title="class in net.sf.saxon.s9api">XdmNode</A> <B>getDocumentNode</B>()
                        throws <A HREF="../../../../net/sf/saxon/s9api/SaxonApiException.html" title="class in net.sf.saxon.s9api">SaxonApiException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html#getDocumentNode()">BuildingStreamWriter</A></CODE></B></DD>
<DD>After building the document by writing a sequence of events, retrieve the root node
 of the constructed document tree
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html#getDocumentNode()">getDocumentNode</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html" title="interface in net.sf.saxon.s9api">BuildingStreamWriter</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the root node of the constructed tree. The result is undefined (maybe null, maybe an exception)
 if the method is called before successfully completing the sequence of events (of which the last should be
 <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamWriter.html?is-external=true#writeEndDocument()" title="class or interface in javax.xml.stream"><CODE>XMLStreamWriter.writeEndDocument()</CODE></A>) that constructs the tree.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/s9api/SaxonApiException.html" title="class in net.sf.saxon.s9api">SaxonApiException</A></CODE> - if any failure occurs</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../net/sf/saxon/s9api/BuildingStreamWriter.html" title="interface in net.sf.saxon.s9api"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sf/saxon/s9api/Destination.html" title="interface in net.sf.saxon.s9api"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?net/sf/saxon/s9api/BuildingStreamWriterImpl.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="BuildingStreamWriterImpl.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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>