1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.5.0_06) on Fri Oct 17 16:04:52 EDT 2008 -->
\r
7 MarcWriter (MARC4J API)
\r
10 <META NAME="keywords" CONTENT="org.marc4j.MarcWriter interface">
\r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
\r
14 <SCRIPT type="text/javascript">
\r
15 function windowTitle()
\r
17 parent.document.title="MarcWriter (MARC4J API)";
\r
25 <BODY BGCOLOR="white" onload="windowTitle();">
\r
28 <!-- ========= START OF TOP NAVBAR ======= -->
\r
29 <A NAME="navbar_top"><!-- --></A>
\r
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
\r
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
34 <A NAME="navbar_top_firstrow"><!-- --></A>
\r
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
36 <TR ALIGN="center" VALIGN="top">
\r
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MarcWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
48 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
55 <A HREF="../../org/marc4j/MarcStreamWriter.html" title="class in org.marc4j"><B>PREV CLASS</B></A>
\r
56 <A HREF="../../org/marc4j/MarcXmlHandler.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>
\r
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
58 <A HREF="../../index.html?org/marc4j/MarcWriter.html" target="_top"><B>FRAMES</B></A>
\r
59 <A HREF="MarcWriter.html" target="_top"><B>NO FRAMES</B></A>
\r
60 <SCRIPT type="text/javascript">
\r
63 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
68 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
\r
75 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
76 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
78 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
81 <A NAME="skip-navbar_top"></A>
\r
82 <!-- ========= END OF TOP NAVBAR ========= -->
\r
85 <!-- ======== START OF CLASS DATA ======== -->
\r
90 Interface MarcWriter</H2>
\r
92 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../org/marc4j/MarcStreamWriter.html" title="class in org.marc4j">MarcStreamWriter</A>, <A HREF="../../org/marc4j/MarcXmlWriter.html" title="class in org.marc4j">MarcXmlWriter</A></DD>
\r
96 <DT><PRE>public interface <B>MarcWriter</B></DL>
\r
100 Implement this interface to provide a writer for <code>Record</code>
103 <p>See the <A HREF="../../org/marc4j/marc/package-summary.html"><CODE>org.marc4j.marc</CODE></A> package Javadoc for more information
104 about the <A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc"><CODE>Record</CODE></A> object model.</p>
\r
109 <DT><B>Version:</B></DT>
\r
110 <DD>$Revision: 1.2 $</DD>
\r
111 <DT><B>Author:</B></DT>
\r
112 <DD>Bas Peters</DD>
\r
118 <!-- ========== METHOD SUMMARY =========== -->
\r
120 <A NAME="method_summary"><!-- --></A>
\r
121 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
122 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
123 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
124 <B>Method Summary</B></FONT></TH>
\r
126 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
127 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
128 <CODE> void</CODE></FONT></TD>
\r
129 <TD><CODE><B><A HREF="../../org/marc4j/MarcWriter.html#close()">close</A></B>()</CODE>
\r
132 Closes the writer.</TD>
\r
134 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
135 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
136 <CODE> <A HREF="../../org/marc4j/converter/CharConverter.html" title="class in org.marc4j.converter">CharConverter</A></CODE></FONT></TD>
\r
137 <TD><CODE><B><A HREF="../../org/marc4j/MarcWriter.html#getConverter()">getConverter</A></B>()</CODE>
\r
140 Returns the character converter.</TD>
\r
142 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
143 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
144 <CODE> void</CODE></FONT></TD>
\r
145 <TD><CODE><B><A HREF="../../org/marc4j/MarcWriter.html#setConverter(org.marc4j.converter.CharConverter)">setConverter</A></B>(<A HREF="../../org/marc4j/converter/CharConverter.html" title="class in org.marc4j.converter">CharConverter</A> converter)</CODE>
\r
148 Sets the character converter.</TD>
\r
150 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
151 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
152 <CODE> void</CODE></FONT></TD>
\r
153 <TD><CODE><B><A HREF="../../org/marc4j/MarcWriter.html#write(org.marc4j.marc.Record)">write</A></B>(<A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A> record)</CODE>
\r
156 Writes a single <code>Record</code> to the output stream.</TD>
\r
162 <!-- ============ METHOD DETAIL ========== -->
\r
164 <A NAME="method_detail"><!-- --></A>
\r
165 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
166 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
167 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
168 <B>Method Detail</B></FONT></TH>
\r
172 <A NAME="write(org.marc4j.marc.Record)"><!-- --></A><H3>
\r
175 void <B>write</B>(<A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A> record)</PRE>
\r
177 <DD>Writes a single <code>Record</code> to the output stream.
\r
180 <DT><B>Parameters:</B><DD><CODE>record</CODE> - the Record object</DL>
\r
185 <A NAME="setConverter(org.marc4j.converter.CharConverter)"><!-- --></A><H3>
\r
188 void <B>setConverter</B>(<A HREF="../../org/marc4j/converter/CharConverter.html" title="class in org.marc4j.converter">CharConverter</A> converter)</PRE>
\r
190 <DD>Sets the character converter.
\r
193 <DT><B>Parameters:</B><DD><CODE>converter</CODE> - the character converter</DL>
\r
198 <A NAME="getConverter()"><!-- --></A><H3>
\r
201 <A HREF="../../org/marc4j/converter/CharConverter.html" title="class in org.marc4j.converter">CharConverter</A> <B>getConverter</B>()</PRE>
\r
203 <DD>Returns the character converter.
\r
207 <DT><B>Returns:</B><DD>CharConverter the character converter</DL>
\r
212 <A NAME="close()"><!-- --></A><H3>
\r
215 void <B>close</B>()</PRE>
\r
217 <DD>Closes the writer.
\r
223 <!-- ========= END OF CLASS DATA ========= -->
\r
227 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
228 <A NAME="navbar_bottom"><!-- --></A>
\r
229 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
230 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
232 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
233 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
234 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
235 <TR ALIGN="center" VALIGN="top">
\r
236 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
237 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
238 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
239 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MarcWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
242 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
247 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
253 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
254 <A HREF="../../org/marc4j/MarcStreamWriter.html" title="class in org.marc4j"><B>PREV CLASS</B></A>
\r
255 <A HREF="../../org/marc4j/MarcXmlHandler.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>
\r
256 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
257 <A HREF="../../index.html?org/marc4j/MarcWriter.html" target="_top"><B>FRAMES</B></A>
\r
258 <A HREF="MarcWriter.html" target="_top"><B>NO FRAMES</B></A>
\r
259 <SCRIPT type="text/javascript">
\r
262 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
267 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
\r
274 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
275 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
276 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
277 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
280 <A NAME="skip-navbar_bottom"></A>
\r
281 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r
284 Copyright © 2002-2006 Bas Peters. All Rights Reserved.
\r