Original 2.4. With additional eclipse .project/classpath and git ignore
[marc4j.git] / apidoc / org / marc4j / marc / Leader.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
2 <!--NewPage-->\r
3 <HTML>\r
4 <HEAD>\r
5 <!-- Generated by javadoc (build 1.5.0_06) on Fri Oct 17 16:04:52 EDT 2008 -->\r
6 <TITLE>\r
7 Leader (MARC4J API)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="org.marc4j.marc.Leader interface">\r
11 \r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">\r
13 \r
14 <SCRIPT type="text/javascript">\r
15 function windowTitle()\r
16 {\r
17     parent.document.title="Leader (MARC4J API)";\r
18 }\r
19 </SCRIPT>\r
20 <NOSCRIPT>\r
21 </NOSCRIPT>\r
22 \r
23 </HEAD>\r
24 \r
25 <BODY BGCOLOR="white" onload="windowTitle();">\r
26 \r
27 \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
32 <TR>\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>&nbsp;</TD>\r
38   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
39   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Leader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>\r
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
45   </TR>\r
46 </TABLE>\r
47 </TD>\r
48 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
49 </EM>\r
50 </TD>\r
51 </TR>\r
52 \r
53 <TR>\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
55 &nbsp;<A HREF="../../../org/marc4j/marc/IllegalAddException.html" title="class in org.marc4j.marc"><B>PREV CLASS</B></A>&nbsp;\r
56 &nbsp;<A HREF="../../../org/marc4j/marc/MarcFactory.html" title="class in org.marc4j.marc"><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/marc/Leader.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
59 &nbsp;<A HREF="Leader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
60 &nbsp;<SCRIPT type="text/javascript">\r
61   <!--\r
62   if(window==top) {\r
63     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
64   }\r
65   //-->\r
66 </SCRIPT>\r
67 <NOSCRIPT>\r
68   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>\r
69 </NOSCRIPT>\r
70 \r
71 \r
72 </FONT></TD>\r
73 </TR>\r
74 <TR>\r
75 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
76   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
78 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
79 </TR>\r
80 </TABLE>\r
81 <A NAME="skip-navbar_top"></A>\r
82 <!-- ========= END OF TOP NAVBAR ========= -->\r
83 \r
84 <HR>\r
85 <!-- ======== START OF CLASS DATA ======== -->\r
86 <H2>\r
87 <FONT SIZE="-1">\r
88 org.marc4j.marc</FONT>\r
89 <BR>\r
90 Interface Leader</H2>\r
91 <DL>\r
92 <DT><B>All Superinterfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD>\r
93 </DL>\r
94 <DL>\r
95 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/marc4j/marc/impl/LeaderImpl.html" title="class in org.marc4j.marc.impl">LeaderImpl</A></DD>\r
96 </DL>\r
97 <HR>\r
98 <DL>\r
99 <DT><PRE>public interface <B>Leader</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DL>\r
100 </PRE>\r
101 \r
102 <P>\r
103 Represents a record label in a MARC record.\r
104 <P>\r
105 \r
106 <P>\r
107 <DL>\r
108 <DT><B>Version:</B></DT>\r
109   <DD>$Revision: 1.15 $</DD>\r
110 <DT><B>Author:</B></DT>\r
111   <DD>Bas Peters</DD>\r
112 </DL>\r
113 <HR>\r
114 \r
115 <P>\r
116 \r
117 <!-- ========== METHOD SUMMARY =========== -->\r
118 \r
119 <A NAME="method_summary"><!-- --></A>\r
120 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
121 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
122 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
123 <B>Method Summary</B></FONT></TH>\r
124 </TR>\r
125 <TR BGCOLOR="white" CLASS="TableRowColor">\r
126 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
127 <CODE>&nbsp;int</CODE></FONT></TD>\r
128 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getBaseAddressOfData()">getBaseAddressOfData</A></B>()</CODE>\r
129 \r
130 <BR>\r
131 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the base address of data (positions 12-16).</TD>\r
132 </TR>\r
133 <TR BGCOLOR="white" CLASS="TableRowColor">\r
134 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
135 <CODE>&nbsp;char</CODE></FONT></TD>\r
136 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getCharCodingScheme()">getCharCodingScheme</A></B>()</CODE>\r
137 \r
138 <BR>\r
139 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the character coding scheme (position 09).</TD>\r
140 </TR>\r
141 <TR BGCOLOR="white" CLASS="TableRowColor">\r
142 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
143 <CODE>&nbsp;char[]</CODE></FONT></TD>\r
144 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getEntryMap()">getEntryMap</A></B>()</CODE>\r
145 \r
146 <BR>\r
147 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the entry map (positions 20-23).</TD>\r
148 </TR>\r
149 <TR BGCOLOR="white" CLASS="TableRowColor">\r
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
151 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A></CODE></FONT></TD>\r
152 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getId()">getId</A></B>()</CODE>\r
153 \r
154 <BR>\r
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the identifier.</TD>\r
156 </TR>\r
157 <TR BGCOLOR="white" CLASS="TableRowColor">\r
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
159 <CODE>&nbsp;char[]</CODE></FONT></TD>\r
160 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getImplDefined1()">getImplDefined1</A></B>()</CODE>\r
161 \r
162 <BR>\r
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns implementation defined values (positions 07-08).</TD>\r
164 </TR>\r
165 <TR BGCOLOR="white" CLASS="TableRowColor">\r
166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
167 <CODE>&nbsp;char[]</CODE></FONT></TD>\r
168 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getImplDefined2()">getImplDefined2</A></B>()</CODE>\r
169 \r
170 <BR>\r
171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns implementation defined values (positions 17-19).</TD>\r
172 </TR>\r
173 <TR BGCOLOR="white" CLASS="TableRowColor">\r
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
175 <CODE>&nbsp;int</CODE></FONT></TD>\r
176 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getIndicatorCount()">getIndicatorCount</A></B>()</CODE>\r
177 \r
178 <BR>\r
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the indicator count (positions 10).</TD>\r
180 </TR>\r
181 <TR BGCOLOR="white" CLASS="TableRowColor">\r
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
183 <CODE>&nbsp;int</CODE></FONT></TD>\r
184 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getRecordLength()">getRecordLength</A></B>()</CODE>\r
185 \r
186 <BR>\r
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the logical record length (positions 00-04).</TD>\r
188 </TR>\r
189 <TR BGCOLOR="white" CLASS="TableRowColor">\r
190 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
191 <CODE>&nbsp;char</CODE></FONT></TD>\r
192 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getRecordStatus()">getRecordStatus</A></B>()</CODE>\r
193 \r
194 <BR>\r
195 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the record status (positions 05).</TD>\r
196 </TR>\r
197 <TR BGCOLOR="white" CLASS="TableRowColor">\r
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
199 <CODE>&nbsp;int</CODE></FONT></TD>\r
200 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getSubfieldCodeLength()">getSubfieldCodeLength</A></B>()</CODE>\r
201 \r
202 <BR>\r
203 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the subfield code length (position 11).</TD>\r
204 </TR>\r
205 <TR BGCOLOR="white" CLASS="TableRowColor">\r
206 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
207 <CODE>&nbsp;char</CODE></FONT></TD>\r
208 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#getTypeOfRecord()">getTypeOfRecord</A></B>()</CODE>\r
209 \r
210 <BR>\r
211 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the record type (position 06).</TD>\r
212 </TR>\r
213 <TR BGCOLOR="white" CLASS="TableRowColor">\r
214 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
215 <CODE>&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
216 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#marshal()">marshal</A></B>()</CODE>\r
217 \r
218 <BR>\r
219 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a string object from this leader object.</TD>\r
220 </TR>\r
221 <TR BGCOLOR="white" CLASS="TableRowColor">\r
222 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
223 <CODE>&nbsp;void</CODE></FONT></TD>\r
224 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setBaseAddressOfData(int)">setBaseAddressOfData</A></B>(int&nbsp;baseAddressOfData)</CODE>\r
225 \r
226 <BR>\r
227 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the base address of data (positions 12-16).</TD>\r
228 </TR>\r
229 <TR BGCOLOR="white" CLASS="TableRowColor">\r
230 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
231 <CODE>&nbsp;void</CODE></FONT></TD>\r
232 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setCharCodingScheme(char)">setCharCodingScheme</A></B>(char&nbsp;charCodingScheme)</CODE>\r
233 \r
234 <BR>\r
235 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the character encoding scheme (position 09).</TD>\r
236 </TR>\r
237 <TR BGCOLOR="white" CLASS="TableRowColor">\r
238 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
239 <CODE>&nbsp;void</CODE></FONT></TD>\r
240 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setEntryMap(char[])">setEntryMap</A></B>(char[]&nbsp;entryMap)</CODE>\r
241 \r
242 <BR>\r
243 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the entry map (positions 20-23).</TD>\r
244 </TR>\r
245 <TR BGCOLOR="white" CLASS="TableRowColor">\r
246 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
247 <CODE>&nbsp;void</CODE></FONT></TD>\r
248 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setId(java.lang.Long)">setId</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A>&nbsp;id)</CODE>\r
249 \r
250 <BR>\r
251 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the identifier.</TD>\r
252 </TR>\r
253 <TR BGCOLOR="white" CLASS="TableRowColor">\r
254 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
255 <CODE>&nbsp;void</CODE></FONT></TD>\r
256 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setImplDefined1(char[])">setImplDefined1</A></B>(char[]&nbsp;implDefined1)</CODE>\r
257 \r
258 <BR>\r
259 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets implementation defined values (position 07-08).</TD>\r
260 </TR>\r
261 <TR BGCOLOR="white" CLASS="TableRowColor">\r
262 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
263 <CODE>&nbsp;void</CODE></FONT></TD>\r
264 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setImplDefined2(char[])">setImplDefined2</A></B>(char[]&nbsp;implDefined2)</CODE>\r
265 \r
266 <BR>\r
267 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets implementation defined values (positions 17-19).</TD>\r
268 </TR>\r
269 <TR BGCOLOR="white" CLASS="TableRowColor">\r
270 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
271 <CODE>&nbsp;void</CODE></FONT></TD>\r
272 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setIndicatorCount(int)">setIndicatorCount</A></B>(int&nbsp;indicatorCount)</CODE>\r
273 \r
274 <BR>\r
275 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the indicator count (position 10).</TD>\r
276 </TR>\r
277 <TR BGCOLOR="white" CLASS="TableRowColor">\r
278 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
279 <CODE>&nbsp;void</CODE></FONT></TD>\r
280 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setRecordLength(int)">setRecordLength</A></B>(int&nbsp;recordLength)</CODE>\r
281 \r
282 <BR>\r
283 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the logical record length (positions 00-04).</TD>\r
284 </TR>\r
285 <TR BGCOLOR="white" CLASS="TableRowColor">\r
286 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
287 <CODE>&nbsp;void</CODE></FONT></TD>\r
288 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setRecordStatus(char)">setRecordStatus</A></B>(char&nbsp;recordStatus)</CODE>\r
289 \r
290 <BR>\r
291 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the record status (position 05).</TD>\r
292 </TR>\r
293 <TR BGCOLOR="white" CLASS="TableRowColor">\r
294 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
295 <CODE>&nbsp;void</CODE></FONT></TD>\r
296 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setSubfieldCodeLength(int)">setSubfieldCodeLength</A></B>(int&nbsp;subfieldCodeLength)</CODE>\r
297 \r
298 <BR>\r
299 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the subfield code length (position 11).</TD>\r
300 </TR>\r
301 <TR BGCOLOR="white" CLASS="TableRowColor">\r
302 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
303 <CODE>&nbsp;void</CODE></FONT></TD>\r
304 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#setTypeOfRecord(char)">setTypeOfRecord</A></B>(char&nbsp;typeOfRecord)</CODE>\r
305 \r
306 <BR>\r
307 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the type of record (position 06).</TD>\r
308 </TR>\r
309 <TR BGCOLOR="white" CLASS="TableRowColor">\r
310 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
311 <CODE>&nbsp;void</CODE></FONT></TD>\r
312 <TD><CODE><B><A HREF="../../../org/marc4j/marc/Leader.html#unmarshal(java.lang.String)">unmarshal</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;ldr)</CODE>\r
313 \r
314 <BR>\r
315 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
316  Creates a leader object from a string object.</TD>\r
317 </TR>\r
318 </TABLE>\r
319 &nbsp;\r
320 <P>\r
321 \r
322 <!-- ============ METHOD DETAIL ========== -->\r
323 \r
324 <A NAME="method_detail"><!-- --></A>\r
325 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
326 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
327 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
328 <B>Method Detail</B></FONT></TH>\r
329 </TR>\r
330 </TABLE>\r
331 \r
332 <A NAME="setId(java.lang.Long)"><!-- --></A><H3>\r
333 setId</H3>\r
334 <PRE>\r
335 void <B>setId</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A>&nbsp;id)</PRE>\r
336 <DL>\r
337 <DD>Sets the identifier.
338  
339  <p>
340  The purpose of this identifier is to provide an identifier for
341  persistency.\r
342 <P>\r
343 <DD><DL>\r
344 </DL>\r
345 </DD>\r
346 <DD><DL>\r
347 <DT><B>Parameters:</B><DD><CODE>id</CODE> - the identifier</DL>\r
348 </DD>\r
349 </DL>\r
350 <HR>\r
351 \r
352 <A NAME="getId()"><!-- --></A><H3>\r
353 getId</H3>\r
354 <PRE>\r
355 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A> <B>getId</B>()</PRE>\r
356 <DL>\r
357 <DD>Returns the identifier.\r
358 <P>\r
359 <DD><DL>\r
360 </DL>\r
361 </DD>\r
362 <DD><DL>\r
363 \r
364 <DT><B>Returns:</B><DD>Long - the identifier</DL>\r
365 </DD>\r
366 </DL>\r
367 <HR>\r
368 \r
369 <A NAME="setRecordLength(int)"><!-- --></A><H3>\r
370 setRecordLength</H3>\r
371 <PRE>\r
372 void <B>setRecordLength</B>(int&nbsp;recordLength)</PRE>\r
373 <DL>\r
374 <DD>Sets the logical record length (positions 00-04).\r
375 <P>\r
376 <DD><DL>\r
377 </DL>\r
378 </DD>\r
379 <DD><DL>\r
380 <DT><B>Parameters:</B><DD><CODE>recordLength</CODE> - integer representing the record length</DL>\r
381 </DD>\r
382 </DL>\r
383 <HR>\r
384 \r
385 <A NAME="setRecordStatus(char)"><!-- --></A><H3>\r
386 setRecordStatus</H3>\r
387 <PRE>\r
388 void <B>setRecordStatus</B>(char&nbsp;recordStatus)</PRE>\r
389 <DL>\r
390 <DD>Sets the record status (position 05).\r
391 <P>\r
392 <DD><DL>\r
393 </DL>\r
394 </DD>\r
395 <DD><DL>\r
396 <DT><B>Parameters:</B><DD><CODE>recordStatus</CODE> - character representing the record status</DL>\r
397 </DD>\r
398 </DL>\r
399 <HR>\r
400 \r
401 <A NAME="setTypeOfRecord(char)"><!-- --></A><H3>\r
402 setTypeOfRecord</H3>\r
403 <PRE>\r
404 void <B>setTypeOfRecord</B>(char&nbsp;typeOfRecord)</PRE>\r
405 <DL>\r
406 <DD>Sets the type of record (position 06).\r
407 <P>\r
408 <DD><DL>\r
409 </DL>\r
410 </DD>\r
411 <DD><DL>\r
412 <DT><B>Parameters:</B><DD><CODE>typeOfRecord</CODE> - character representing the type of record</DL>\r
413 </DD>\r
414 </DL>\r
415 <HR>\r
416 \r
417 <A NAME="setImplDefined1(char[])"><!-- --></A><H3>\r
418 setImplDefined1</H3>\r
419 <PRE>\r
420 void <B>setImplDefined1</B>(char[]&nbsp;implDefined1)</PRE>\r
421 <DL>\r
422 <DD>Sets implementation defined values (position 07-08).\r
423 <P>\r
424 <DD><DL>\r
425 </DL>\r
426 </DD>\r
427 <DD><DL>\r
428 <DT><B>Parameters:</B><DD><CODE>implDefined1</CODE> - character array representing the implementation defined data</DL>\r
429 </DD>\r
430 </DL>\r
431 <HR>\r
432 \r
433 <A NAME="setCharCodingScheme(char)"><!-- --></A><H3>\r
434 setCharCodingScheme</H3>\r
435 <PRE>\r
436 void <B>setCharCodingScheme</B>(char&nbsp;charCodingScheme)</PRE>\r
437 <DL>\r
438 <DD>Sets the character encoding scheme (position 09).\r
439 <P>\r
440 <DD><DL>\r
441 </DL>\r
442 </DD>\r
443 <DD><DL>\r
444 <DT><B>Parameters:</B><DD><CODE>charCodingScheme</CODE> - character representing the character encoding</DL>\r
445 </DD>\r
446 </DL>\r
447 <HR>\r
448 \r
449 <A NAME="setIndicatorCount(int)"><!-- --></A><H3>\r
450 setIndicatorCount</H3>\r
451 <PRE>\r
452 void <B>setIndicatorCount</B>(int&nbsp;indicatorCount)</PRE>\r
453 <DL>\r
454 <DD>Sets the indicator count (position 10).\r
455 <P>\r
456 <DD><DL>\r
457 </DL>\r
458 </DD>\r
459 <DD><DL>\r
460 <DT><B>Parameters:</B><DD><CODE>indicatorCount</CODE> - integer representing the number of indicators present in a
461             data field</DL>\r
462 </DD>\r
463 </DL>\r
464 <HR>\r
465 \r
466 <A NAME="setSubfieldCodeLength(int)"><!-- --></A><H3>\r
467 setSubfieldCodeLength</H3>\r
468 <PRE>\r
469 void <B>setSubfieldCodeLength</B>(int&nbsp;subfieldCodeLength)</PRE>\r
470 <DL>\r
471 <DD>Sets the subfield code length (position 11).\r
472 <P>\r
473 <DD><DL>\r
474 </DL>\r
475 </DD>\r
476 <DD><DL>\r
477 <DT><B>Parameters:</B><DD><CODE>subfieldCodeLength</CODE> - integer representing the subfield code length</DL>\r
478 </DD>\r
479 </DL>\r
480 <HR>\r
481 \r
482 <A NAME="setBaseAddressOfData(int)"><!-- --></A><H3>\r
483 setBaseAddressOfData</H3>\r
484 <PRE>\r
485 void <B>setBaseAddressOfData</B>(int&nbsp;baseAddressOfData)</PRE>\r
486 <DL>\r
487 <DD>Sets the base address of data (positions 12-16).\r
488 <P>\r
489 <DD><DL>\r
490 </DL>\r
491 </DD>\r
492 <DD><DL>\r
493 <DT><B>Parameters:</B><DD><CODE>baseAddressOfData</CODE> - integer representing the base address of data</DL>\r
494 </DD>\r
495 </DL>\r
496 <HR>\r
497 \r
498 <A NAME="setImplDefined2(char[])"><!-- --></A><H3>\r
499 setImplDefined2</H3>\r
500 <PRE>\r
501 void <B>setImplDefined2</B>(char[]&nbsp;implDefined2)</PRE>\r
502 <DL>\r
503 <DD>Sets implementation defined values (positions 17-19).\r
504 <P>\r
505 <DD><DL>\r
506 </DL>\r
507 </DD>\r
508 <DD><DL>\r
509 <DT><B>Parameters:</B><DD><CODE>implDefined2</CODE> - character array representing the implementation defined data</DL>\r
510 </DD>\r
511 </DL>\r
512 <HR>\r
513 \r
514 <A NAME="setEntryMap(char[])"><!-- --></A><H3>\r
515 setEntryMap</H3>\r
516 <PRE>\r
517 void <B>setEntryMap</B>(char[]&nbsp;entryMap)</PRE>\r
518 <DL>\r
519 <DD>Sets the entry map (positions 20-23).\r
520 <P>\r
521 <DD><DL>\r
522 </DL>\r
523 </DD>\r
524 <DD><DL>\r
525 <DT><B>Parameters:</B><DD><CODE>entryMap</CODE> - character array representing the entry map</DL>\r
526 </DD>\r
527 </DL>\r
528 <HR>\r
529 \r
530 <A NAME="getRecordLength()"><!-- --></A><H3>\r
531 getRecordLength</H3>\r
532 <PRE>\r
533 int <B>getRecordLength</B>()</PRE>\r
534 <DL>\r
535 <DD>Returns the logical record length (positions 00-04).\r
536 <P>\r
537 <DD><DL>\r
538 </DL>\r
539 </DD>\r
540 <DD><DL>\r
541 \r
542 <DT><B>Returns:</B><DD><code>int</code>- the record length</DL>\r
543 </DD>\r
544 </DL>\r
545 <HR>\r
546 \r
547 <A NAME="getRecordStatus()"><!-- --></A><H3>\r
548 getRecordStatus</H3>\r
549 <PRE>\r
550 char <B>getRecordStatus</B>()</PRE>\r
551 <DL>\r
552 <DD>Returns the record status (positions 05).\r
553 <P>\r
554 <DD><DL>\r
555 </DL>\r
556 </DD>\r
557 <DD><DL>\r
558 \r
559 <DT><B>Returns:</B><DD><code>char</code>- the record status</DL>\r
560 </DD>\r
561 </DL>\r
562 <HR>\r
563 \r
564 <A NAME="getTypeOfRecord()"><!-- --></A><H3>\r
565 getTypeOfRecord</H3>\r
566 <PRE>\r
567 char <B>getTypeOfRecord</B>()</PRE>\r
568 <DL>\r
569 <DD>Returns the record type (position 06).\r
570 <P>\r
571 <DD><DL>\r
572 </DL>\r
573 </DD>\r
574 <DD><DL>\r
575 \r
576 <DT><B>Returns:</B><DD><code>char</code>- the record type</DL>\r
577 </DD>\r
578 </DL>\r
579 <HR>\r
580 \r
581 <A NAME="getImplDefined1()"><!-- --></A><H3>\r
582 getImplDefined1</H3>\r
583 <PRE>\r
584 char[] <B>getImplDefined1</B>()</PRE>\r
585 <DL>\r
586 <DD>Returns implementation defined values (positions 07-08).\r
587 <P>\r
588 <DD><DL>\r
589 </DL>\r
590 </DD>\r
591 <DD><DL>\r
592 \r
593 <DT><B>Returns:</B><DD><code>char[]</code>- implementation defined values</DL>\r
594 </DD>\r
595 </DL>\r
596 <HR>\r
597 \r
598 <A NAME="getCharCodingScheme()"><!-- --></A><H3>\r
599 getCharCodingScheme</H3>\r
600 <PRE>\r
601 char <B>getCharCodingScheme</B>()</PRE>\r
602 <DL>\r
603 <DD>Returns the character coding scheme (position 09).\r
604 <P>\r
605 <DD><DL>\r
606 </DL>\r
607 </DD>\r
608 <DD><DL>\r
609 \r
610 <DT><B>Returns:</B><DD><code>char</code>- the character coding scheme</DL>\r
611 </DD>\r
612 </DL>\r
613 <HR>\r
614 \r
615 <A NAME="getIndicatorCount()"><!-- --></A><H3>\r
616 getIndicatorCount</H3>\r
617 <PRE>\r
618 int <B>getIndicatorCount</B>()</PRE>\r
619 <DL>\r
620 <DD>Returns the indicator count (positions 10).\r
621 <P>\r
622 <DD><DL>\r
623 </DL>\r
624 </DD>\r
625 <DD><DL>\r
626 \r
627 <DT><B>Returns:</B><DD><code>int</code>- the indicator count</DL>\r
628 </DD>\r
629 </DL>\r
630 <HR>\r
631 \r
632 <A NAME="getSubfieldCodeLength()"><!-- --></A><H3>\r
633 getSubfieldCodeLength</H3>\r
634 <PRE>\r
635 int <B>getSubfieldCodeLength</B>()</PRE>\r
636 <DL>\r
637 <DD>Returns the subfield code length (position 11).\r
638 <P>\r
639 <DD><DL>\r
640 </DL>\r
641 </DD>\r
642 <DD><DL>\r
643 \r
644 <DT><B>Returns:</B><DD><code>int</code>- the subfield code length</DL>\r
645 </DD>\r
646 </DL>\r
647 <HR>\r
648 \r
649 <A NAME="getBaseAddressOfData()"><!-- --></A><H3>\r
650 getBaseAddressOfData</H3>\r
651 <PRE>\r
652 int <B>getBaseAddressOfData</B>()</PRE>\r
653 <DL>\r
654 <DD>Returns the base address of data (positions 12-16).\r
655 <P>\r
656 <DD><DL>\r
657 </DL>\r
658 </DD>\r
659 <DD><DL>\r
660 \r
661 <DT><B>Returns:</B><DD><code>int</code>- the base address of data</DL>\r
662 </DD>\r
663 </DL>\r
664 <HR>\r
665 \r
666 <A NAME="getImplDefined2()"><!-- --></A><H3>\r
667 getImplDefined2</H3>\r
668 <PRE>\r
669 char[] <B>getImplDefined2</B>()</PRE>\r
670 <DL>\r
671 <DD>Returns implementation defined values (positions 17-19).\r
672 <P>\r
673 <DD><DL>\r
674 </DL>\r
675 </DD>\r
676 <DD><DL>\r
677 \r
678 <DT><B>Returns:</B><DD><code>char[]</code>- implementation defined values</DL>\r
679 </DD>\r
680 </DL>\r
681 <HR>\r
682 \r
683 <A NAME="getEntryMap()"><!-- --></A><H3>\r
684 getEntryMap</H3>\r
685 <PRE>\r
686 char[] <B>getEntryMap</B>()</PRE>\r
687 <DL>\r
688 <DD>Returns the entry map (positions 20-23).\r
689 <P>\r
690 <DD><DL>\r
691 </DL>\r
692 </DD>\r
693 <DD><DL>\r
694 \r
695 <DT><B>Returns:</B><DD><code>char[]</code>- the entry map</DL>\r
696 </DD>\r
697 </DL>\r
698 <HR>\r
699 \r
700 <A NAME="unmarshal(java.lang.String)"><!-- --></A><H3>\r
701 unmarshal</H3>\r
702 <PRE>\r
703 void <B>unmarshal</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;ldr)</PRE>\r
704 <DL>\r
705 <DD><p>
706  Creates a leader object from a string object.
707  </p>
708  
709  <p>
710  Indicator count and subfield code length are defaulted to 2 if they are
711  not integer values.
712  </p>\r
713 <P>\r
714 <DD><DL>\r
715 </DL>\r
716 </DD>\r
717 <DD><DL>\r
718 <DT><B>Parameters:</B><DD><CODE>ldr</CODE> - the leader</DL>\r
719 </DD>\r
720 </DL>\r
721 <HR>\r
722 \r
723 <A NAME="marshal()"><!-- --></A><H3>\r
724 marshal</H3>\r
725 <PRE>\r
726 <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>marshal</B>()</PRE>\r
727 <DL>\r
728 <DD>Creates a string object from this leader object.\r
729 <P>\r
730 <DD><DL>\r
731 </DL>\r
732 </DD>\r
733 <DD><DL>\r
734 \r
735 <DT><B>Returns:</B><DD>String - the string object from this leader object</DL>\r
736 </DD>\r
737 </DL>\r
738 <!-- ========= END OF CLASS DATA ========= -->\r
739 <HR>\r
740 \r
741 \r
742 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
743 <A NAME="navbar_bottom"><!-- --></A>\r
744 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>\r
745 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
746 <TR>\r
747 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
748 <A NAME="navbar_bottom_firstrow"><!-- --></A>\r
749 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
750   <TR ALIGN="center" VALIGN="top">\r
751   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
752   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
753   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
754   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Leader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>\r
755   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
756   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
757   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
758   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
759   </TR>\r
760 </TABLE>\r
761 </TD>\r
762 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
763 </EM>\r
764 </TD>\r
765 </TR>\r
766 \r
767 <TR>\r
768 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
769 &nbsp;<A HREF="../../../org/marc4j/marc/IllegalAddException.html" title="class in org.marc4j.marc"><B>PREV CLASS</B></A>&nbsp;\r
770 &nbsp;<A HREF="../../../org/marc4j/marc/MarcFactory.html" title="class in org.marc4j.marc"><B>NEXT CLASS</B></A></FONT></TD>\r
771 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
772   <A HREF="../../../index.html?org/marc4j/marc/Leader.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
773 &nbsp;<A HREF="Leader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
774 &nbsp;<SCRIPT type="text/javascript">\r
775   <!--\r
776   if(window==top) {\r
777     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
778   }\r
779   //-->\r
780 </SCRIPT>\r
781 <NOSCRIPT>\r
782   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>\r
783 </NOSCRIPT>\r
784 \r
785 \r
786 </FONT></TD>\r
787 </TR>\r
788 <TR>\r
789 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
790   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
791 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
792 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
793 </TR>\r
794 </TABLE>\r
795 <A NAME="skip-navbar_bottom"></A>\r
796 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
797 \r
798 <HR>\r
799 Copyright © 2002-2006 Bas Peters. All Rights Reserved.\r
800 </BODY>\r
801 </HTML>\r