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 MarcXmlReader (MARC4J API)
\r
10 <META NAME="keywords" CONTENT="org.marc4j.MarcXmlReader class">
\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="MarcXmlReader (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/MarcXmlReader.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/MarcXmlParserThread.html" title="class in org.marc4j"><B>PREV CLASS</B></A>
\r
56 <A HREF="../../org/marc4j/MarcXmlWriter.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/MarcXmlReader.html" target="_top"><B>FRAMES</B></A>
\r
59 <A HREF="MarcXmlReader.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
78 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 Class MarcXmlReader</H2>
\r
92 <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
93 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>org.marc4j.MarcXmlReader</B>
\r
96 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../org/marc4j/MarcReader.html" title="interface in org.marc4j">MarcReader</A></DD>
\r
100 <DT><PRE>public class <B>MarcXmlReader</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/MarcReader.html" title="interface in org.marc4j">MarcReader</A></DL>
\r
104 An iterator over a collection of MARC records in MARCXML format.
110 InputStream input = new FileInputStream("file.xml");
111 MarcReader reader = new MarcXmlReader(input);
112 while (reader.hasNext()) {
113 Record record = reader.next();
118 <p>Check the <A HREF="../../org/marc4j/marc/package-summary.html"><CODE>org.marc4j.marc</CODE></A> package for examples about the use of
119 the <A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc"><CODE>Record</CODE></A> object model.</p>
122 You can also pre-process the source to create MARC XML from a different format
123 using an XSLT stylesheet. The following example creates an iterator over a
124 collection of MARC records in MARC XML format from a MODS source and outputs
125 MARC records in MARC21 format:
129 InputStream in = new FileInputStream("modsfile.xml");
131 MarcStreamWriter writer = new MarcStreamWriter(System.out, Constants.MARC8);
132 MarcXmlReader reader = new MarcXmlReader(in, "http://www.loc.gov/standards/marcxml/xslt/MODS2MARC21slim.xsl");
133 while (reader.hasNext()) {
134 Record record = reader.next();
135 writer.write(record);
143 <DT><B>Version:</B></DT>
\r
144 <DD>$Revision: 1.4 $</DD>
\r
145 <DT><B>Author:</B></DT>
\r
146 <DD>Bas Peters</DD>
\r
152 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
154 <A NAME="constructor_summary"><!-- --></A>
\r
155 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
156 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
157 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
158 <B>Constructor Summary</B></FONT></TH>
\r
160 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
161 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#MarcXmlReader(org.xml.sax.InputSource)">MarcXmlReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/InputSource.html" title="class or interface in org.xml.sax">InputSource</A> input)</CODE>
\r
164 Constructs an instance with the specified input source.</TD>
\r
166 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
167 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#MarcXmlReader(org.xml.sax.InputSource, javax.xml.transform.Source)">MarcXmlReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/InputSource.html" title="class or interface in org.xml.sax">InputSource</A> input,
\r
168 <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> stylesheet)</CODE>
\r
171 Constructs an instance with the specified input source and stylesheet
174 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
175 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#MarcXmlReader(org.xml.sax.InputSource, javax.xml.transform.sax.TransformerHandler)">MarcXmlReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/InputSource.html" title="class or interface in org.xml.sax">InputSource</A> input,
\r
176 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/sax/TransformerHandler.html" title="class or interface in javax.xml.transform.sax">TransformerHandler</A> th)</CODE>
\r
179 Constructs an instance with the specified input source and transformer
182 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
183 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#MarcXmlReader(java.io.InputStream)">MarcXmlReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input)</CODE>
\r
186 Constructs an instance with the specified input stream.</TD>
\r
188 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
189 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#MarcXmlReader(java.io.InputStream, javax.xml.transform.Source)">MarcXmlReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input,
\r
190 <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> stylesheet)</CODE>
\r
193 Constructs an instance with the specified input stream and stylesheet
196 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
197 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#MarcXmlReader(java.io.InputStream, java.lang.String)">MarcXmlReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input,
\r
198 <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> stylesheetUrl)</CODE>
\r
201 Constructs an instance with the specified input stream and stylesheet
204 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
205 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#MarcXmlReader(java.io.InputStream, javax.xml.transform.sax.TransformerHandler)">MarcXmlReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input,
\r
206 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/sax/TransformerHandler.html" title="class or interface in javax.xml.transform.sax">TransformerHandler</A> th)</CODE>
\r
209 Constructs an instance with the specified input stream and transformer
214 <!-- ========== METHOD SUMMARY =========== -->
\r
216 <A NAME="method_summary"><!-- --></A>
\r
217 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
218 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
219 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
220 <B>Method Summary</B></FONT></TH>
\r
222 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
223 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
224 <CODE> boolean</CODE></FONT></TD>
\r
225 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#hasNext()">hasNext</A></B>()</CODE>
\r
228 Returns true if the iteration has more records, false otherwise.</TD>
\r
230 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
231 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
232 <CODE> <A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A></CODE></FONT></TD>
\r
233 <TD><CODE><B><A HREF="../../org/marc4j/MarcXmlReader.html#next()">next</A></B>()</CODE>
\r
236 Returns the next record in the iteration.</TD>
\r
239 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
\r
240 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
241 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
242 <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
244 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
245 <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
251 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
253 <A NAME="constructor_detail"><!-- --></A>
\r
254 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
255 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
256 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
257 <B>Constructor Detail</B></FONT></TH>
\r
261 <A NAME="MarcXmlReader(java.io.InputStream)"><!-- --></A><H3>
\r
264 public <B>MarcXmlReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input)</PRE>
\r
266 <DD>Constructs an instance with the specified input stream.
\r
269 <DT><B>Parameters:</B><DD><CODE>input</CODE> - the input stream</DL>
\r
273 <A NAME="MarcXmlReader(org.xml.sax.InputSource)"><!-- --></A><H3>
\r
276 public <B>MarcXmlReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/InputSource.html" title="class or interface in org.xml.sax">InputSource</A> input)</PRE>
\r
278 <DD>Constructs an instance with the specified input source.
\r
281 <DT><B>Parameters:</B><DD><CODE>input</CODE> - the input source</DL>
\r
285 <A NAME="MarcXmlReader(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
\r
288 public <B>MarcXmlReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input,
\r
289 <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> stylesheetUrl)</PRE>
\r
291 <DD>Constructs an instance with the specified input stream and stylesheet
294 The stylesheet is used to transform the source file and should produce
295 valid MARC XML records. The result is then used to create
296 <code>Record</code> objects.
\r
299 <DT><B>Parameters:</B><DD><CODE>input</CODE> - the input stream<DD><CODE>stylesheetUrl</CODE> - the stylesheet location</DL>
\r
303 <A NAME="MarcXmlReader(java.io.InputStream, javax.xml.transform.Source)"><!-- --></A><H3>
\r
306 public <B>MarcXmlReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input,
\r
307 <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> stylesheet)</PRE>
\r
309 <DD>Constructs an instance with the specified input stream and stylesheet
312 The stylesheet is used to transform the source file and should produce
313 valid MARCXML records. The result is then used to create
314 <code>Record</code> objects.
\r
317 <DT><B>Parameters:</B><DD><CODE>input</CODE> - the input stream<DD><CODE>stylesheet</CODE> - the stylesheet source</DL>
\r
321 <A NAME="MarcXmlReader(org.xml.sax.InputSource, javax.xml.transform.Source)"><!-- --></A><H3>
\r
324 public <B>MarcXmlReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/InputSource.html" title="class or interface in org.xml.sax">InputSource</A> input,
\r
325 <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> stylesheet)</PRE>
\r
327 <DD>Constructs an instance with the specified input source and stylesheet
330 The stylesheet is used to transform the source file and should produce
331 valid MARCXML records. The result is then used to create
332 <code>Record</code> objects.
\r
335 <DT><B>Parameters:</B><DD><CODE>input</CODE> - the input source<DD><CODE>stylesheet</CODE> - the stylesheet source</DL>
\r
339 <A NAME="MarcXmlReader(java.io.InputStream, javax.xml.transform.sax.TransformerHandler)"><!-- --></A><H3>
\r
342 public <B>MarcXmlReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> input,
\r
343 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/sax/TransformerHandler.html" title="class or interface in javax.xml.transform.sax">TransformerHandler</A> th)</PRE>
\r
345 <DD>Constructs an instance with the specified input stream and transformer
348 The <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/sax/TransformerHandler.html" title="class or interface in javax.xml.transform.sax"><CODE>TransformerHandler</CODE></A> is used to
349 transform the source file and should produce valid MARCXML records. The
350 result is then used to create <code>Record</code> objects. A
351 <code>TransformerHandler</code> can be obtained from a
352 <code>SAXTransformerFactory</code> with either a
353 <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"><CODE>Source</CODE></A> or
354 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Templates.html" title="class or interface in javax.xml.transform"><CODE>Templates</CODE></A> object.
\r
357 <DT><B>Parameters:</B><DD><CODE>input</CODE> - the input stream<DD><CODE>th</CODE> - the transformation content handler</DL>
\r
361 <A NAME="MarcXmlReader(org.xml.sax.InputSource, javax.xml.transform.sax.TransformerHandler)"><!-- --></A><H3>
\r
364 public <B>MarcXmlReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/InputSource.html" title="class or interface in org.xml.sax">InputSource</A> input,
\r
365 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/sax/TransformerHandler.html" title="class or interface in javax.xml.transform.sax">TransformerHandler</A> th)</PRE>
\r
367 <DD>Constructs an instance with the specified input source and transformer
370 The <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/sax/TransformerHandler.html" title="class or interface in javax.xml.transform.sax"><CODE>TransformerHandler</CODE></A> is used to
371 transform the source file and should produce valid MARCXML records. The
372 result is then used to create <code>Record</code> objects. A
373 <code>TransformerHandler</code> can be obtained from a
374 <code>SAXTransformerFactory</code> with either a
375 <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"><CODE>Source</CODE></A> or
376 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Templates.html" title="class or interface in javax.xml.transform"><CODE>Templates</CODE></A> object.
\r
379 <DT><B>Parameters:</B><DD><CODE>input</CODE> - the input source<DD><CODE>th</CODE> - the transformation content handler</DL>
\r
382 <!-- ============ METHOD DETAIL ========== -->
\r
384 <A NAME="method_detail"><!-- --></A>
\r
385 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
386 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
387 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
388 <B>Method Detail</B></FONT></TH>
\r
392 <A NAME="hasNext()"><!-- --></A><H3>
\r
395 public boolean <B>hasNext</B>()</PRE>
\r
397 <DD>Returns true if the iteration has more records, false otherwise.
\r
400 <DT><B>Specified by:</B><DD><CODE><A HREF="../../org/marc4j/MarcReader.html#hasNext()">hasNext</A></CODE> in interface <CODE><A HREF="../../org/marc4j/MarcReader.html" title="interface in org.marc4j">MarcReader</A></CODE></DL>
\r
404 <DT><B>Returns:</B><DD>boolean - true if the iteration has more records, false otherwise</DL>
\r
409 <A NAME="next()"><!-- --></A><H3>
\r
412 public <A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A> <B>next</B>()</PRE>
\r
414 <DD>Returns the next record in the iteration.
\r
417 <DT><B>Specified by:</B><DD><CODE><A HREF="../../org/marc4j/MarcReader.html#next()">next</A></CODE> in interface <CODE><A HREF="../../org/marc4j/MarcReader.html" title="interface in org.marc4j">MarcReader</A></CODE></DL>
\r
421 <DT><B>Returns:</B><DD>Record - the record object</DL>
\r
424 <!-- ========= END OF CLASS DATA ========= -->
\r
428 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
429 <A NAME="navbar_bottom"><!-- --></A>
\r
430 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
431 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
433 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
434 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
435 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
436 <TR ALIGN="center" VALIGN="top">
\r
437 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
438 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
439 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
440 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MarcXmlReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
441 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
442 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
443 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
444 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
448 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
454 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
455 <A HREF="../../org/marc4j/MarcXmlParserThread.html" title="class in org.marc4j"><B>PREV CLASS</B></A>
\r
456 <A HREF="../../org/marc4j/MarcXmlWriter.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>
\r
457 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
458 <A HREF="../../index.html?org/marc4j/MarcXmlReader.html" target="_top"><B>FRAMES</B></A>
\r
459 <A HREF="MarcXmlReader.html" target="_top"><B>NO FRAMES</B></A>
\r
460 <SCRIPT type="text/javascript">
\r
463 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
468 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
\r
475 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
476 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
477 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
478 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
481 <A NAME="skip-navbar_bottom"></A>
\r
482 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r
485 Copyright © 2002-2006 Bas Peters. All Rights Reserved.
\r