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 MarcReader (MARC4J API)
\r
10 <META NAME="keywords" CONTENT="org.marc4j.MarcReader 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="MarcReader (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/MarcReader.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/MarcPermissiveStreamReader.html" title="class in org.marc4j"><B>PREV CLASS</B></A>
\r
56 <A HREF="../../org/marc4j/MarcStreamReader.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/MarcReader.html" target="_top"><B>FRAMES</B></A>
\r
59 <A HREF="MarcReader.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 MarcReader</H2>
\r
92 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../org/marc4j/MarcDirStreamReader.html" title="class in org.marc4j">MarcDirStreamReader</A>, <A HREF="../../org/marc4j/MarcPermissiveStreamReader.html" title="class in org.marc4j">MarcPermissiveStreamReader</A>, <A HREF="../../org/marc4j/MarcStreamReader.html" title="class in org.marc4j">MarcStreamReader</A>, <A HREF="../../org/marc4j/MarcXmlReader.html" title="class in org.marc4j">MarcXmlReader</A></DD>
\r
96 <DT><PRE>public interface <B>MarcReader</B></DL>
\r
100 Implement this interface to provide an iterator over a collection of
101 <code>Record</code> objects.
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.19 $</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> boolean</CODE></FONT></TD>
\r
129 <TD><CODE><B><A HREF="../../org/marc4j/MarcReader.html#hasNext()">hasNext</A></B>()</CODE>
\r
132 Returns true if the iteration has more records, false otherwise.</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/marc/Record.html" title="interface in org.marc4j.marc">Record</A></CODE></FONT></TD>
\r
137 <TD><CODE><B><A HREF="../../org/marc4j/MarcReader.html#next()">next</A></B>()</CODE>
\r
140 Returns the next record in the iteration.</TD>
\r
146 <!-- ============ METHOD DETAIL ========== -->
\r
148 <A NAME="method_detail"><!-- --></A>
\r
149 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
150 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
151 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
152 <B>Method Detail</B></FONT></TH>
\r
156 <A NAME="hasNext()"><!-- --></A><H3>
\r
159 boolean <B>hasNext</B>()</PRE>
\r
161 <DD>Returns true if the iteration has more records, false otherwise.
\r
169 <A NAME="next()"><!-- --></A><H3>
\r
172 <A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A> <B>next</B>()</PRE>
\r
174 <DD>Returns the next record in the iteration.
\r
178 <DT><B>Returns:</B><DD>Record - the record object</DL>
\r
181 <!-- ========= END OF CLASS DATA ========= -->
\r
185 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
186 <A NAME="navbar_bottom"><!-- --></A>
\r
187 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
188 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
190 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
191 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
192 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
193 <TR ALIGN="center" VALIGN="top">
\r
194 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
195 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
196 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
197 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MarcReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
198 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
199 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
200 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
201 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
205 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
211 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
212 <A HREF="../../org/marc4j/MarcPermissiveStreamReader.html" title="class in org.marc4j"><B>PREV CLASS</B></A>
\r
213 <A HREF="../../org/marc4j/MarcStreamReader.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>
\r
214 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
215 <A HREF="../../index.html?org/marc4j/MarcReader.html" target="_top"><B>FRAMES</B></A>
\r
216 <A HREF="MarcReader.html" target="_top"><B>NO FRAMES</B></A>
\r
217 <SCRIPT type="text/javascript">
\r
220 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
225 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
\r
232 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
233 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
234 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
235 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
238 <A NAME="skip-navbar_bottom"></A>
\r
239 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r
242 Copyright © 2002-2006 Bas Peters. All Rights Reserved.
\r