|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.marc4j.marc.Collection
Collection defines behaviour for a collection of
Record objects.
| Constructor Summary | |
Collection()
|
|
| Method Summary | |
void |
add(Record record)
|
Record |
getRecord(int index)
Returns the Record object for the given index. |
int |
getSize()
Returns the number of records in the collection. |
void |
marshal(Writer out)
Marshals all the records in the collection and writes the tape format records to the Writer object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Collection()
| Method Detail |
public void add(Record record)
public Record getRecord(int index)
Returns the Record object for the given index.
index - the index of the record object
Record objectpublic int getSize()
Returns the number of records in the collection.
public void marshal(Writer out)
throws IOException,
MarcException
Marshals all the records in the collection and writes the tape format records to the Writer object.
out - the Writer object
IOException
MarcException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||