Original 2.4. With additional eclipse .project/classpath and git ignore
[marc4j.git] / apidoc / org / marc4j / MarcXmlWriter.html
diff --git a/apidoc/org/marc4j/MarcXmlWriter.html b/apidoc/org/marc4j/MarcXmlWriter.html
new file mode 100644 (file)
index 0000000..f6c2731
--- /dev/null
@@ -0,0 +1,988 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
+<!--NewPage-->\r
+<HTML>\r
+<HEAD>\r
+<!-- Generated by javadoc (build 1.5.0_06) on Fri Oct 17 16:04:52 EDT 2008 -->\r
+<TITLE>\r
+MarcXmlWriter (MARC4J API)\r
+</TITLE>\r
+\r
+<META NAME="keywords" CONTENT="org.marc4j.MarcXmlWriter class">\r
+\r
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">\r
+\r
+<SCRIPT type="text/javascript">\r
+function windowTitle()\r
+{\r
+    parent.document.title="MarcXmlWriter (MARC4J API)";\r
+}\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+</NOSCRIPT>\r
+\r
+</HEAD>\r
+\r
+<BODY BGCOLOR="white" onload="windowTitle();">\r
+\r
+\r
+<!-- ========= START OF TOP NAVBAR ======= -->\r
+<A NAME="navbar_top"><!-- --></A>\r
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>\r
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
+<TR>\r
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
+<A NAME="navbar_top_firstrow"><!-- --></A>\r
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
+  <TR ALIGN="center" VALIGN="top">\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MarcXmlWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
+  </TR>\r
+</TABLE>\r
+</TD>\r
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
+</EM>\r
+</TD>\r
+</TR>\r
+\r
+<TR>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+&nbsp;<A HREF="../../org/marc4j/MarcXmlReader.html" title="class in org.marc4j"><B>PREV CLASS</B></A>&nbsp;\r
+&nbsp;<A HREF="../../org/marc4j/RecordStack.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+  <A HREF="../../index.html?org/marc4j/MarcXmlWriter.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
+&nbsp;<A HREF="MarcXmlWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
+&nbsp;<SCRIPT type="text/javascript">\r
+  <!--\r
+  if(window==top) {\r
+    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');\r
+  }\r
+  //-->\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>\r
+</NOSCRIPT>\r
+\r
+\r
+</FONT></TD>\r
+</TR>\r
+<TR>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
+</TR>\r
+</TABLE>\r
+<A NAME="skip-navbar_top"></A>\r
+<!-- ========= END OF TOP NAVBAR ========= -->\r
+\r
+<HR>\r
+<!-- ======== START OF CLASS DATA ======== -->\r
+<H2>\r
+<FONT SIZE="-1">\r
+org.marc4j</FONT>\r
+<BR>\r
+Class MarcXmlWriter</H2>\r
+<PRE>\r
+<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>\r
+  <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>org.marc4j.MarcXmlWriter</B>\r
+</PRE>\r
+<DL>\r
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../org/marc4j/MarcWriter.html" title="interface in org.marc4j">MarcWriter</A></DD>\r
+</DL>\r
+<HR>\r
+<DL>\r
+<DT><PRE>public class <B>MarcXmlWriter</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../org/marc4j/MarcWriter.html" title="interface in org.marc4j">MarcWriter</A></DL>\r
+</PRE>\r
+\r
+<P>\r
+Class for writing MARC record objects in MARCXML format. This class outputs a
+ SAX event stream to the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io"><CODE>OutputStream</CODE></A>&nbsp; or
+ <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform"><CODE>Result</CODE></A>&nbsp;object. It can be used in a SAX
+ pipeline to postprocess the result. By default this class uses a nulll
+ transform. It is strongly recommended to use a dedicated XML serializer.
+ <p>
+ This class requires a JAXP compliant XML parser and XSLT processor. The
+ underlying SAX2 parser should be namespace aware. In addition this class
+ requires <a href="http://icu.sourceforge.net/">ICU4J </a> to perform Unicode
+ normalization. A stripped down version of 2.6 originating from the <a
+ href="http://www.cafeconleche.org/XOM/">XOM </a> project is included in this
+ distribution.
+ </p>
+ <p>
+ The following example reads a file with MARC records and writes MARCXML
+ records in UTF-8 encoding to the console:
+ </p>
+ <pre>
+  
+      InputStream input = new FileInputStream(&quot;input.mrc&quot;)
+      MarcReader reader = new MarcStreamReader(input);
+              
+      MarcWriter writer = new MarcXmlWriter(System.out, true);
+      while (reader.hasNext()) {
+          Record record = reader.next();
+          writer.write(record);
+      }
+      writer.close();
+   
+ </pre>
+ <p>
+ To perform a character conversion like MARC-8 to UCS/Unicode register a
+ <code>CharConverter</code>:
+ </p>
+ <pre>
+ writer.setConverter(new AnselToUnicode());
+ </pre>
+ <p>
+ In addition you can perform Unicode normalization. This is for example not
+ done by the MARC-8 to UCS/Unicode converter. With Unicode normalization text
+ is transformed into the canonical composed form. For example &quot;a´bc&quot;
+ is normalized to &quot;ábc&quot;. To perform normalization set Unicode
+ normalization to true:
+ </p>
+ <pre>
+ writer.setUnicodeNormalization(true);
+ </pre>
+ <p>
+ Please note that it's not garanteed to work if you try to convert normalized
+ Unicode back to MARC-8 encoding using
+ <A HREF="../../org/marc4j/converter/impl/UnicodeToAnsel.html" title="class in org.marc4j.converter.impl"><CODE>UnicodeToAnsel</CODE></A>.
+ </p>
+ <p>
+ This class provides very basic formatting options. For more advanced options
+ create an instance of this class with a
+ <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/sax/SAXResult.html" title="class or interface in javax.xml.transform.sax"><CODE>SAXResult</CODE></A>&nbsp;containing a
+ <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/ContentHandler.html" title="class or interface in org.xml.sax"><CODE>ContentHandler</CODE></A>&nbsp;derived from a dedicated XML
+ serializer.
+ </p>
+ <p>
+ The following example uses
+ <code>org.apache.xml.serialize.XMLSerializer</code> to write MARC records
+ to XML using MARC-8 to UCS/Unicode conversion and Unicode normalization:
+ </p>
+ <pre>
+  
+      InputStream input = new FileInputStream(&quot;input.mrc&quot;)
+      MarcReader reader = new MarcStreamReader(input);
+                
+      OutputFormat format = new OutputFormat(&quot;xml&quot;,&quot;UTF-8&quot;, true);
+      OutputStream out = new FileOutputStream(&quot;output.xml&quot;);
+      XMLSerializer serializer = new XMLSerializer(out, format);
+      Result result = new SAXResult(serializer.asContentHandler());
+                
+      MarcXmlWriter writer = new MarcXmlWriter(result);
+      writer.setConverter(new AnselToUnicode());
+      while (reader.hasNext()) {
+          Record record = reader.next();
+          writer.write(record);
+      }
+      writer.close();
+   
+ </pre>
+ <p>
+ You can post-process the result using a <code>Source</code> object pointing
+ to a stylesheet resource and a <code>Result</code> object to hold the
+ transformation result tree. The example below converts MARC to MARCXML and
+ transforms the result tree to MODS using the stylesheet provided by The
+ Library of Congress:
+ </p>
+ <pre>
+  
+      String stylesheetUrl = &quot;http://www.loc.gov/standards/mods/v3/MARC21slim2MODS3.xsl&quot;;
+      Source stylesheet = new StreamSource(stylesheetUrl);
+         
+      Result result = new StreamResult(System.out);
+            
+      InputStream input = new FileInputStream(&quot;input.mrc&quot;)
+      MarcReader reader = new MarcStreamReader(input);
+      MarcXmlWriter writer = new MarcXmlWriter(result, stylesheet);
+      writer.setConverter(new AnselToUnicode());
+      while (reader.hasNext()) {
+          Record record = (Record) reader.next();
+          writer.write(record);
+      }
+      writer.close();
+   
+ </pre>
+ <p>
+ It is also possible to write the result into a DOM Node:
+ </p>
+ <pre>
+  
+      InputStream input = new FileInputStream(&quot;input.mrc&quot;)
+      MarcReader reader = new MarcStreamReader(input);
+      DOMResult result = new DOMResult();
+      MarcXmlWriter writer = new MarcXmlWriter(result);
+      writer.setConverter(new AnselToUnicode());
+      while (reader.hasNext()) {
+          Record record = (Record) reader.next();
+          writer.write(record);
+      }
+      writer.close();
+         
+      Document doc = (Document) result.getNode();
+   
+ </pre>\r
+<P>\r
+\r
+<P>\r
+<DL>\r
+<DT><B>Version:</B></DT>\r
+  <DD>$Revision: 1.9 $</DD>\r
+<DT><B>Author:</B></DT>\r
+  <DD>Bas Peters</DD>\r
+</DL>\r
+<HR>\r
+\r
+<P>\r
+<!-- =========== FIELD SUMMARY =========== -->\r
+\r
+<A NAME="field_summary"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
+<B>Field Summary</B></FONT></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#COLLECTION">COLLECTION</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#CONTROL_FIELD">CONTROL_FIELD</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#DATA_FIELD">DATA_FIELD</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#LEADER">LEADER</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#RECORD">RECORD</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#SUBFIELD">SUBFIELD</A></B></CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;\r
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
+\r
+<A NAME="constructor_summary"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
+<B>Constructor Summary</B></FONT></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#MarcXmlWriter(java.io.OutputStream)">MarcXmlWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A>&nbsp;out)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance with the specified output stream.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#MarcXmlWriter(java.io.OutputStream, boolean)">MarcXmlWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A>&nbsp;out,\r
+              boolean&nbsp;indent)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance with the specified output stream and indentation.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#MarcXmlWriter(java.io.OutputStream, java.lang.String)">MarcXmlWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A>&nbsp;out,\r
+              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance with the specified output stream and character
+ encoding.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#MarcXmlWriter(java.io.OutputStream, java.lang.String, boolean)">MarcXmlWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A>&nbsp;out,\r
+              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;encoding,\r
+              boolean&nbsp;indent)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance with the specified output stream, character
+ encoding and indentation.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#MarcXmlWriter(javax.xml.transform.Result)">MarcXmlWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform">Result</A>&nbsp;result)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance with the specified result.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#MarcXmlWriter(javax.xml.transform.Result, javax.xml.transform.Source)">MarcXmlWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform">Result</A>&nbsp;result,\r
+              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Source.html" title="class or interface in javax.xml.transform">Source</A>&nbsp;stylesheet)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance with the specified stylesheet source and result.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#MarcXmlWriter(javax.xml.transform.Result, java.lang.String)">MarcXmlWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform">Result</A>&nbsp;result,\r
+              <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;stylesheetUrl)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance with the specified stylesheet location and result.</TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;\r
+<!-- ========== METHOD SUMMARY =========== -->\r
+\r
+<A NAME="method_summary"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
+<B>Method Summary</B></FONT></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#close()">close</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the writer.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;<A HREF="../../org/marc4j/converter/CharConverter.html" title="class in org.marc4j.converter">CharConverter</A></CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#getConverter()">getConverter</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the character converter.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected &nbsp;char[]</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#getDataElement(java.lang.String)">getDataElement</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;data)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;boolean</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#getUnicodeNormalization()">getUnicodeNormalization</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this writer will perform Unicode normalization, false
+ otherwise.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;boolean</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#hasIndent()">hasIndent</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if indentation is active, false otherwise.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#setConverter(org.marc4j.converter.CharConverter)">setConverter</A></B>(<A HREF="../../org/marc4j/converter/CharConverter.html" title="class in org.marc4j.converter">CharConverter</A>&nbsp;converter)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the character converter.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected &nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#setHandler(javax.xml.transform.Result, javax.xml.transform.Source)">setHandler</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform">Result</A>&nbsp;result,\r
+           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Source.html" title="class or interface in javax.xml.transform">Source</A>&nbsp;stylesheet)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#setIndent(boolean)">setIndent</A></B>(boolean&nbsp;indent)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Activates or deactivates indentation.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#setUnicodeNormalization(boolean)">setUnicodeNormalization</A></B>(boolean&nbsp;normalize)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If set to true this writer will perform Unicode normalization on data
+ elements using normalization form C (NFC).</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected &nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#toXml(org.marc4j.marc.Record)">toXml</A></B>(<A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A>&nbsp;record)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>&nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#write(org.marc4j.marc.Record)">write</A></B>(<A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A>&nbsp;record)</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a Record object to the result.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected &nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#writeEndDocument()">writeEndDocument</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the root end tag to the result.</TD>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
+<CODE>protected &nbsp;void</CODE></FONT></TD>\r
+<TD><CODE><B><A HREF="../../org/marc4j/MarcXmlWriter.html#writeStartDocument()">writeStartDocument</A></B>()</CODE>\r
+\r
+<BR>\r
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the root start tag to the result.</TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>\r
+</TR>\r
+<TR BGCOLOR="white" CLASS="TableRowColor">\r
+<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>\r
+</TR>\r
+</TABLE>\r
+&nbsp;\r
+<P>\r
+\r
+<!-- ============ FIELD DETAIL =========== -->\r
+\r
+<A NAME="field_detail"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
+<B>Field Detail</B></FONT></TH>\r
+</TR>\r
+</TABLE>\r
+\r
+<A NAME="CONTROL_FIELD"><!-- --></A><H3>\r
+CONTROL_FIELD</H3>\r
+<PRE>\r
+protected static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>CONTROL_FIELD</B></PRE>\r
+<DL>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#org.marc4j.MarcXmlWriter.CONTROL_FIELD">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="DATA_FIELD"><!-- --></A><H3>\r
+DATA_FIELD</H3>\r
+<PRE>\r
+protected static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>DATA_FIELD</B></PRE>\r
+<DL>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#org.marc4j.MarcXmlWriter.DATA_FIELD">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="SUBFIELD"><!-- --></A><H3>\r
+SUBFIELD</H3>\r
+<PRE>\r
+protected static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SUBFIELD</B></PRE>\r
+<DL>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#org.marc4j.MarcXmlWriter.SUBFIELD">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="COLLECTION"><!-- --></A><H3>\r
+COLLECTION</H3>\r
+<PRE>\r
+protected static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>COLLECTION</B></PRE>\r
+<DL>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#org.marc4j.MarcXmlWriter.COLLECTION">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="RECORD"><!-- --></A><H3>\r
+RECORD</H3>\r
+<PRE>\r
+protected static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>RECORD</B></PRE>\r
+<DL>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#org.marc4j.MarcXmlWriter.RECORD">Constant Field Values</A></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="LEADER"><!-- --></A><H3>\r
+LEADER</H3>\r
+<PRE>\r
+protected static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>LEADER</B></PRE>\r
+<DL>\r
+<DL>\r
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#org.marc4j.MarcXmlWriter.LEADER">Constant Field Values</A></DL>\r
+</DL>\r
+\r
+<!-- ========= CONSTRUCTOR DETAIL ======== -->\r
+\r
+<A NAME="constructor_detail"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
+<B>Constructor Detail</B></FONT></TH>\r
+</TR>\r
+</TABLE>\r
+\r
+<A NAME="MarcXmlWriter(java.io.OutputStream)"><!-- --></A><H3>\r
+MarcXmlWriter</H3>\r
+<PRE>\r
+public <B>MarcXmlWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A>&nbsp;out)</PRE>\r
+<DL>\r
+<DD>Constructs an instance with the specified output stream.
+ The default character encoding for UTF-8 is used.\r
+<P>\r
+<DL>\r
+\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="../../org/marc4j/MarcException.html" title="class in org.marc4j">MarcException</A></CODE></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="MarcXmlWriter(java.io.OutputStream, boolean)"><!-- --></A><H3>\r
+MarcXmlWriter</H3>\r
+<PRE>\r
+public <B>MarcXmlWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A>&nbsp;out,\r
+                     boolean&nbsp;indent)</PRE>\r
+<DL>\r
+<DD>Constructs an instance with the specified output stream and indentation.
+ The default character encoding for UTF-8 is used.\r
+<P>\r
+<DL>\r
+\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="../../org/marc4j/MarcException.html" title="class in org.marc4j">MarcException</A></CODE></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="MarcXmlWriter(java.io.OutputStream, java.lang.String)"><!-- --></A><H3>\r
+MarcXmlWriter</H3>\r
+<PRE>\r
+public <B>MarcXmlWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A>&nbsp;out,\r
+                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;encoding)</PRE>\r
+<DL>\r
+<DD>Constructs an instance with the specified output stream and character
+ encoding.\r
+<P>\r
+<DL>\r
+\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="../../org/marc4j/MarcException.html" title="class in org.marc4j">MarcException</A></CODE></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="MarcXmlWriter(java.io.OutputStream, java.lang.String, boolean)"><!-- --></A><H3>\r
+MarcXmlWriter</H3>\r
+<PRE>\r
+public <B>MarcXmlWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A>&nbsp;out,\r
+                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;encoding,\r
+                     boolean&nbsp;indent)</PRE>\r
+<DL>\r
+<DD>Constructs an instance with the specified output stream, character
+ encoding and indentation.\r
+<P>\r
+<DL>\r
+\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="../../org/marc4j/MarcException.html" title="class in org.marc4j">MarcException</A></CODE></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="MarcXmlWriter(javax.xml.transform.Result)"><!-- --></A><H3>\r
+MarcXmlWriter</H3>\r
+<PRE>\r
+public <B>MarcXmlWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform">Result</A>&nbsp;result)</PRE>\r
+<DL>\r
+<DD>Constructs an instance with the specified result.\r
+<P>\r
+<DL>\r
+<DT><B>Parameters:</B><DD><CODE>result</CODE> - \r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="MarcXmlWriter(javax.xml.transform.Result, java.lang.String)"><!-- --></A><H3>\r
+MarcXmlWriter</H3>\r
+<PRE>\r
+public <B>MarcXmlWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform">Result</A>&nbsp;result,\r
+                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;stylesheetUrl)</PRE>\r
+<DL>\r
+<DD>Constructs an instance with the specified stylesheet location and result.\r
+<P>\r
+<DL>\r
+<DT><B>Parameters:</B><DD><CODE>result</CODE> - \r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="MarcXmlWriter(javax.xml.transform.Result, javax.xml.transform.Source)"><!-- --></A><H3>\r
+MarcXmlWriter</H3>\r
+<PRE>\r
+public <B>MarcXmlWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform">Result</A>&nbsp;result,\r
+                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Source.html" title="class or interface in javax.xml.transform">Source</A>&nbsp;stylesheet)</PRE>\r
+<DL>\r
+<DD>Constructs an instance with the specified stylesheet source and result.\r
+<P>\r
+<DL>\r
+<DT><B>Parameters:</B><DD><CODE>result</CODE> - \r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>\r
+</DL>\r
+\r
+<!-- ============ METHOD DETAIL ========== -->\r
+\r
+<A NAME="method_detail"><!-- --></A>\r
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
+<B>Method Detail</B></FONT></TH>\r
+</TR>\r
+</TABLE>\r
+\r
+<A NAME="close()"><!-- --></A><H3>\r
+close</H3>\r
+<PRE>\r
+public void <B>close</B>()</PRE>\r
+<DL>\r
+<DD><B>Description copied from interface: <CODE><A HREF="../../org/marc4j/MarcWriter.html#close()">MarcWriter</A></CODE></B></DD>\r
+<DD>Closes the writer.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../org/marc4j/MarcWriter.html#close()">close</A></CODE> in interface <CODE><A HREF="../../org/marc4j/MarcWriter.html" title="interface in org.marc4j">MarcWriter</A></CODE></DL>\r
+</DD>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="getConverter()"><!-- --></A><H3>\r
+getConverter</H3>\r
+<PRE>\r
+public <A HREF="../../org/marc4j/converter/CharConverter.html" title="class in org.marc4j.converter">CharConverter</A> <B>getConverter</B>()</PRE>\r
+<DL>\r
+<DD>Returns the character converter.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../org/marc4j/MarcWriter.html#getConverter()">getConverter</A></CODE> in interface <CODE><A HREF="../../org/marc4j/MarcWriter.html" title="interface in org.marc4j">MarcWriter</A></CODE></DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>CharConverter the character converter</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="setConverter(org.marc4j.converter.CharConverter)"><!-- --></A><H3>\r
+setConverter</H3>\r
+<PRE>\r
+public void <B>setConverter</B>(<A HREF="../../org/marc4j/converter/CharConverter.html" title="class in org.marc4j.converter">CharConverter</A>&nbsp;converter)</PRE>\r
+<DL>\r
+<DD>Sets the character converter.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../org/marc4j/MarcWriter.html#setConverter(org.marc4j.converter.CharConverter)">setConverter</A></CODE> in interface <CODE><A HREF="../../org/marc4j/MarcWriter.html" title="interface in org.marc4j">MarcWriter</A></CODE></DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>converter</CODE> - the character converter</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="setUnicodeNormalization(boolean)"><!-- --></A><H3>\r
+setUnicodeNormalization</H3>\r
+<PRE>\r
+public void <B>setUnicodeNormalization</B>(boolean&nbsp;normalize)</PRE>\r
+<DL>\r
+<DD>If set to true this writer will perform Unicode normalization on data
+ elements using normalization form C (NFC). The default is false.
+ The implementation used is ICU4J 2.6. This version is based on Unicode
+ 4.0.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>normalize</CODE> - true if this writer performs Unicode normalization, false
+            otherwise</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="getUnicodeNormalization()"><!-- --></A><H3>\r
+getUnicodeNormalization</H3>\r
+<PRE>\r
+public boolean <B>getUnicodeNormalization</B>()</PRE>\r
+<DL>\r
+<DD>Returns true if this writer will perform Unicode normalization, false
+ otherwise.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>boolean - true if this writer performs Unicode normalization,
+         false otherwise.</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="setHandler(javax.xml.transform.Result, javax.xml.transform.Source)"><!-- --></A><H3>\r
+setHandler</H3>\r
+<PRE>\r
+protected void <B>setHandler</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Result.html" title="class or interface in javax.xml.transform">Result</A>&nbsp;result,\r
+                          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Source.html" title="class or interface in javax.xml.transform">Source</A>&nbsp;stylesheet)\r
+                   throws <A HREF="../../org/marc4j/MarcException.html" title="class in org.marc4j">MarcException</A></PRE>\r
+<DL>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="../../org/marc4j/MarcException.html" title="class in org.marc4j">MarcException</A></CODE></DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="writeStartDocument()"><!-- --></A><H3>\r
+writeStartDocument</H3>\r
+<PRE>\r
+protected void <B>writeStartDocument</B>()</PRE>\r
+<DL>\r
+<DD>Writes the root start tag to the result.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="writeEndDocument()"><!-- --></A><H3>\r
+writeEndDocument</H3>\r
+<PRE>\r
+protected void <B>writeEndDocument</B>()</PRE>\r
+<DL>\r
+<DD>Writes the root end tag to the result.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="write(org.marc4j.marc.Record)"><!-- --></A><H3>\r
+write</H3>\r
+<PRE>\r
+public void <B>write</B>(<A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A>&nbsp;record)</PRE>\r
+<DL>\r
+<DD>Writes a Record object to the result.\r
+<P>\r
+<DD><DL>\r
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../org/marc4j/MarcWriter.html#write(org.marc4j.marc.Record)">write</A></CODE> in interface <CODE><A HREF="../../org/marc4j/MarcWriter.html" title="interface in org.marc4j">MarcWriter</A></CODE></DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>record</CODE> - -
+            the <code>Record</code> object\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="hasIndent()"><!-- --></A><H3>\r
+hasIndent</H3>\r
+<PRE>\r
+public boolean <B>hasIndent</B>()</PRE>\r
+<DL>\r
+<DD>Returns true if indentation is active, false otherwise.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Returns:</B><DD>boolean</DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="setIndent(boolean)"><!-- --></A><H3>\r
+setIndent</H3>\r
+<PRE>\r
+public void <B>setIndent</B>(boolean&nbsp;indent)</PRE>\r
+<DL>\r
+<DD>Activates or deactivates indentation. Default value is false.\r
+<P>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+<DT><B>Parameters:</B><DD><CODE>indent</CODE> - </DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="toXml(org.marc4j.marc.Record)"><!-- --></A><H3>\r
+toXml</H3>\r
+<PRE>\r
+protected void <B>toXml</B>(<A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A>&nbsp;record)\r
+              throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></PRE>\r
+<DL>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+\r
+<DT><B>Throws:</B>\r
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>\r
+</DD>\r
+</DL>\r
+<HR>\r
+\r
+<A NAME="getDataElement(java.lang.String)"><!-- --></A><H3>\r
+getDataElement</H3>\r
+<PRE>\r
+protected char[] <B>getDataElement</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;data)</PRE>\r
+<DL>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+<DD><DL>\r
+</DL>\r
+</DD>\r
+</DL>\r
+<!-- ========= END OF CLASS DATA ========= -->\r
+<HR>\r
+\r
+\r
+<!-- ======= START OF BOTTOM NAVBAR ====== -->\r
+<A NAME="navbar_bottom"><!-- --></A>\r
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>\r
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
+<TR>\r
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
+<A NAME="navbar_bottom_firstrow"><!-- --></A>\r
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
+  <TR ALIGN="center" VALIGN="top">\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MarcXmlWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
+  </TR>\r
+</TABLE>\r
+</TD>\r
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
+</EM>\r
+</TD>\r
+</TR>\r
+\r
+<TR>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+&nbsp;<A HREF="../../org/marc4j/MarcXmlReader.html" title="class in org.marc4j"><B>PREV CLASS</B></A>&nbsp;\r
+&nbsp;<A HREF="../../org/marc4j/RecordStack.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>\r
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
+  <A HREF="../../index.html?org/marc4j/MarcXmlWriter.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
+&nbsp;<A HREF="MarcXmlWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
+&nbsp;<SCRIPT type="text/javascript">\r
+  <!--\r
+  if(window==top) {\r
+    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');\r
+  }\r
+  //-->\r
+</SCRIPT>\r
+<NOSCRIPT>\r
+  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>\r
+</NOSCRIPT>\r
+\r
+\r
+</FONT></TD>\r
+</TR>\r
+<TR>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
+</TR>\r
+</TABLE>\r
+<A NAME="skip-navbar_bottom"></A>\r
+<!-- ======== END OF BOTTOM NAVBAR ======= -->\r
+\r
+<HR>\r
+Copyright © 2002-2006 Bas Peters. All Rights Reserved.\r
+</BODY>\r
+</HTML>\r