| Package | Description |
|---|---|
| info.freelibrary.marc4j.impl |
Default implementation of the MARC record object model.
|
| org.marc4j.marc |
Interfaces for the record object model.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ControlFieldImpl
ControlField defines behavior for a control field (tag 001-009).
|
class |
DataFieldImpl
DataField defines behavior for a data field (tag 010-999).
|
class |
VariableFieldImpl
Represents a variable field in a MARC record.
|
| Modifier and Type | Method and Description |
|---|---|
VariableField |
RecordImpl.getVariableField(String aTag)
Gets the first
VariableField with the supplied tag. |
| Modifier and Type | Method and Description |
|---|---|
List<VariableField> |
RecordImpl.find(String pattern)
Finds all the
VariableFields that match the supplied regular
expression pattern. |
List<VariableField> |
RecordImpl.find(String[] tag,
String pattern)
Finds all the
VariableFields that match the supplied tags and
regular expression pattern. |
List<VariableField> |
RecordImpl.find(String tag,
String pattern)
Finds all the
VariableFields that match the supplied tag and
regular expression pattern. |
List<VariableField> |
RecordImpl.getVariableFields()
|
List<VariableField> |
RecordImpl.getVariableFields(String aTag)
Gets a
List of VariableFields with the supplied tag. |
List<VariableField> |
RecordImpl.getVariableFields(String[] tags)
Gets the
VariableFields in the Record with the supplied
tags. |
| Modifier and Type | Method and Description |
|---|---|
void |
RecordImpl.addVariableField(VariableField field)
Adds a
VariableField being a ControlField or
DataField. |
void |
SortedRecordImpl.addVariableField(VariableField field)
Adds a
VariableField to the record. |
int |
VariableFieldImpl.compareTo(VariableField aObject)
Compare's this
VariableField to the supplied one. |
void |
RecordImpl.removeVariableField(VariableField field)
Removes the supplied
VariableField |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ControlField
ControlField defines behavior for a control field (tag 001-009).
|
interface |
DataField
DataField defines behavior for a data field (tag 010-999).
|
| Modifier and Type | Method and Description |
|---|---|
VariableField |
Record.getVariableField(String tag)
Returns the first instance of the variable field with the given tag.
|
| Modifier and Type | Method and Description |
|---|---|
List<VariableField> |
Record.find(String pattern)
Returns a List of VariableField objects that have a data element that
matches the given regular expression.
|
List<VariableField> |
Record.find(String[] tag,
String pattern)
Returns a List of VariableField objects with the given tags that have a
data element that matches the given regular expression.
|
List<VariableField> |
Record.find(String tag,
String pattern)
Returns a List of VariableField objects with the given tag that have a
data element that matches the given regular expression.
|
List<VariableField> |
Record.getVariableFields()
Returns a list of variable fields
|
List<VariableField> |
Record.getVariableFields(String tag)
Returns a list of variable fields with the given tag.
|
List<VariableField> |
Record.getVariableFields(String[] tag)
Returns a list of variable fields for the given tags.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Record.addVariableField(VariableField field)
Adds a
VariableField. |
void |
Record.removeVariableField(VariableField field)
Removes a variable field from the collection.
|
boolean |
MarcFactory.validateVariableField(VariableField field)
|
Copyright © 2014 FreeLibrary. All Rights Reserved.