A B C D E F G H I J L M N O P R S T U V W X 

A

addError(String, String, String, int, String) - Method in class org.marc4j.ErrorHandler
Logs an error message using the stated severity level.
addError(int, String) - Method in class org.marc4j.ErrorHandler
Logs an error message using the stated severity level.
addErrors(List) - Method in class org.marc4j.ErrorHandler
Copys a List of errors into the current error handler
AddLocationExample - Class in org.marc4j.samples
Reads MARC input.
AddLocationExample() - Constructor for class org.marc4j.samples.AddLocationExample
 
addSubfield(Subfield) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Adds a Subfield.
addSubfield(int, Subfield) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Inserts a Subfield at the specified position.
addSubfield(Subfield) - Method in interface org.marc4j.marc.DataField
Adds the supplied Subfield to the DataField.
addSubfield(int, Subfield) - Method in interface org.marc4j.marc.DataField
Inserts a Subfield at the specified position.
addVariableField(VariableField) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Adds a VariableField being a ControlField or DataField.
addVariableField(VariableField) - Method in class info.freelibrary.marc4j.impl.SortedRecordImpl
Adds a VariableField to the record.
addVariableField(VariableField) - Method in interface org.marc4j.marc.Record
Adds a VariableField.
allowOversizeEntry - Variable in class org.marc4j.MarcStreamWriter
 
allowsOversizeEntry() - Method in class org.marc4j.MarcStreamWriter
Returns true if an oversized entry is allowed; else, false.
AnselToUnicode - Class in info.freelibrary.marc4j.converter.impl

A utility to convert MARC-8 data to non-precomposed UCS/Unicode.

AnselToUnicode() - Constructor for class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Creates a new instance and loads the MARC4J supplied conversion tables based on the official LC tables.
AnselToUnicode(boolean) - Constructor for class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Creates a new instance and loads the MARC4J supplied conversion tables based on the official LC tables.
AnselToUnicode(ErrorHandler) - Constructor for class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Creates a new instance and loads the MARC4J supplied conversion tables based on the official LC tables.
AnselToUnicode(ErrorHandler, boolean) - Constructor for class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Creates a new instance and loads the MARC4J supplied conversion tables based on the official LC tables.
AnselToUnicode(String) - Constructor for class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Constructs an instance with the specified pathname.
AnselToUnicode(InputStream) - Constructor for class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Constructs an instance with the specified input stream.

B

BAD_ENCODING - Static variable in exception org.marc4j.util.JsonParser.Escape
Invalid encoding.
BAD_ESCAPE - Static variable in exception org.marc4j.util.JsonParser.Escape
A bad escape sequence was encountered.
BLANK - Static variable in class org.marc4j.Constants
BLANK

C

CF_TAG_PATTERN - Static variable in class org.marc4j.Constants
Regular expression pattern for ControlField tag
characters(char[], int, int) - Method in class info.freelibrary.marc4j.converter.impl.CodeTableHandler
An event fired as characters are consumed.
characters(char[], int, int) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHandler
 
characters(char[], int, int) - Method in class org.marc4j.MarcXmlHandler
An event fired as characters are consumed.
CharConverter - Class in org.marc4j.converter
Extend this class to create a character converter.
CharConverter() - Constructor for class org.marc4j.converter.CharConverter
 
charHasMatch(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Checks whether a MARC8 translation of a given Unicode character exists.
charsets - Static variable in class info.freelibrary.marc4j.converter.impl.CodeTable
 
charsets - Static variable in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHash
 
charsetsUsed - Variable in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
 
CheckAgencyExample - Class in org.marc4j.samples
Demostrates the use of the find method.
CheckAgencyExample() - Constructor for class org.marc4j.samples.CheckAgencyExample
 
close() - Method in class org.marc4j.MarcJsonWriter
Closes the MarcJsonWriter
close() - Method in class org.marc4j.MarcStreamWriter
Closes the writer.
close() - Method in interface org.marc4j.MarcWriter
Closes the writer.
close() - Method in class org.marc4j.MarcXmlWriter
Closes the writer.
close() - Method in class org.marc4j.util.JsonParser
Reset this parser, and clear any internal caches or pools used to improve performance.
CodeTable - Class in info.freelibrary.marc4j.converter.impl
CodeTable defines a data structure to facilitate AnselToUnicode character conversion.
CodeTable(InputStream) - Constructor for class info.freelibrary.marc4j.converter.impl.CodeTable
Creates a CodeTable from the supplied InputStream.
CodeTable(String) - Constructor for class info.freelibrary.marc4j.converter.impl.CodeTable
Creates a CodeTable from the supplied file name.
CodeTable(URI) - Constructor for class info.freelibrary.marc4j.converter.impl.CodeTable
Creates a CodeTable from the supplied URI.
CodeTableGenerated - Class in info.freelibrary.marc4j.converter.impl
An implementation of CodeTableInterface that is used in converting MARC8 data to UTF8 data, that doesn't rely on any data files or resources or data structures Warning: This file is generated by running the main routine in the file CodeTableGenerator.java Warning: Do not edit this file, or all edits will be lost at the next build.
CodeTableGenerated() - Constructor for class info.freelibrary.marc4j.converter.impl.CodeTableGenerated
 
CodeTableGenerator - Class in info.freelibrary.marc4j.converter.impl
Invoked at build time to generate a java source file (named CodeTableGenerated.java) which when compiled will implement the CodeTableInterface (primarily through switch statements) and which can be used be the AnselToUnicode converter instead of this class, and which will produce the same results as the object CodeTable.
CodeTableGenerator(InputStream) - Constructor for class info.freelibrary.marc4j.converter.impl.CodeTableGenerator
Creates a CodeTableGenerator from the supplied InputStream.
CodeTableHandler - Class in info.freelibrary.marc4j.converter.impl
CodeTableHandler is a SAX2 ContentHandler that builds a data structure to facilitate AnselToUnicode character conversion.
CodeTableHandler() - Constructor for class info.freelibrary.marc4j.converter.impl.CodeTableHandler
 
codeTableHash(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Performs a lookup of the MARC8 translation of a given Unicode character.
CodeTableInterface - Interface in info.freelibrary.marc4j.converter.impl
 
COLLECTION - Static variable in class org.marc4j.MarcXmlWriter
 
combineRecords(Record, Record, String) - Static method in class org.marc4j.MarcCombiningReader
Combines fields (identified by the idsToMerge) from the second Record into the first.
combineRecords(Record, Record, String, String) - Static method in class org.marc4j.MarcCombiningReader
Combines fields (identified by the idsToMerge from the second Record into the first (before the supplied field).
combining - Static variable in class info.freelibrary.marc4j.converter.impl.CodeTable
 
combining - Static variable in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHash
 
compareTo(VariableField) - Method in class info.freelibrary.marc4j.impl.VariableFieldImpl
Compare's this VariableField to the supplied one.
Constants - Class in org.marc4j
Defines constant values.
CONTROL_FIELD - Static variable in class org.marc4j.MarcXmlWriter
 
ControlField - Interface in org.marc4j.marc
ControlField defines behavior for a control field (tag 001-009).
CONTROLFIELD_ARRAY - Static variable in class org.marc4j.MarcJsonReader
 
ControlFieldExample - Class in org.marc4j.samples
Read the language code from a 008 control field.
ControlFieldExample() - Constructor for class org.marc4j.samples.ControlFieldExample
 
ControlFieldImpl - Class in info.freelibrary.marc4j.impl
ControlField defines behavior for a control field (tag 001-009).
controlFields - Variable in class info.freelibrary.marc4j.impl.RecordImpl
 
CONVERSION - Static variable in exception org.marc4j.util.JsonParser.Escape
Data-type conversion error.
convert(char[]) - Method in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Converts MARC-8 data to UCS/Unicode.
convert(char[]) - Method in class info.freelibrary.marc4j.converter.impl.Iso5426ToUnicode
Converts UNIMARC (ISO 5426 charset) data to UCS/Unicode.
convert(char[]) - Method in class info.freelibrary.marc4j.converter.impl.Iso6937ToUnicode
Converts ISO 6937 data to UCS/Unicode.
convert(char[]) - Method in class info.freelibrary.marc4j.converter.impl.UnicodeToAnsel
Converts UCS/Unicode data to MARC-8.
convert(char[]) - Method in class info.freelibrary.marc4j.converter.impl.UnicodeToIso5426
Converts UCS/Unicode data to UNIMARC (ISO 5426 charset).
convert(char[]) - Method in class info.freelibrary.marc4j.converter.impl.UnicodeToIso6937
Converts UCS/Unicode data to ISO 6937.
convert(char[]) - Method in class org.marc4j.converter.CharConverter
The method that needs to be implemented in a subclass to create a CharConverter.
convert(byte[]) - Method in class org.marc4j.converter.CharConverter
Alternate method for performing a character conversion.
convert(String) - Method in class org.marc4j.converter.CharConverter
Alternate method for performing a character conversion.
countSubfields() - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Returns the number of subfields in this DataField.
countSubfields() - Method in interface org.marc4j.marc.DataField
Returns the number of subfields in this DataField.
createTypedValue(String) - Static method in class org.marc4j.util.JsonParser
Create a typed member value applying JSON typing rules.
ct - Variable in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
 
curField - Variable in class org.marc4j.ErrorHandler.Error
 
curRecordID - Variable in class org.marc4j.ErrorHandler.Error
 
curSubfield - Variable in class org.marc4j.ErrorHandler.Error
 
CustomDecimalFormat - Class in org.marc4j.util
 
CustomDecimalFormat(int) - Constructor for class org.marc4j.util.CustomDecimalFormat
Creates a custom decimal format with the supplied number of digits.
CustomDecimalFormat(int, int) - Constructor for class org.marc4j.util.CustomDecimalFormat
Creates a custom decimal format with the supplied number of digits.

D

DATA_FIELD - Static variable in class org.marc4j.MarcXmlWriter
 
DataField - Interface in org.marc4j.marc
DataField defines behavior for a data field (tag 010-999).
DATAFIELD_ARRAY - Static variable in class org.marc4j.MarcJsonReader
 
DataFieldExample - Class in org.marc4j.samples
Read data fields.
DataFieldExample() - Constructor for class org.marc4j.samples.DataFieldExample
 
DataFieldImpl - Class in info.freelibrary.marc4j.impl
DataField defines behavior for a data field (tag 010-999).
dataFields - Variable in class info.freelibrary.marc4j.impl.RecordImpl
 
deHexify(String) - Static method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Utility function for translating a String consisting of one or more two character hex string of the character values into a character array containing those characters
dumpErrors(PrintStream, ErrorHandler) - Static method in class org.marc4j.samples.PermissiveReaderExample
Dumps errors from the supplied error handler to the supplied print stream.

E

encoding - Variable in class org.marc4j.MarcStreamWriter
 
end() - Method in class org.marc4j.RecordStack
Called when the end of the document is reached.
endDocument() - Method in class org.marc4j.MarcXmlHandler
An event fired at the end of the document.
endElement(String, String, String) - Method in class info.freelibrary.marc4j.converter.impl.CodeTableHandler
An event fired at the end of parsing an element.
endElement(String, String, String) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHandler
 
endElement(String, String, String) - Method in class org.marc4j.MarcXmlHandler
An event fired at the end of an element.
endPrefixMapping(String) - Method in class org.marc4j.MarcXmlHandler
An event fired at the end of prefix mapping.
ERROR_TYPO - Static variable in class org.marc4j.ErrorHandler
ERROR_TYPO indicates that an even less severe problem was found with the record, such as the record leader ends with characters other than "4500" or a field tag contains non-numeric characters the record contains a html-style entity reference such as & or "e; which was replaced with the unescaped version.
ErrorHandler - Class in org.marc4j
Defines and describes errors encountered in the processing a given MARC record.
ErrorHandler() - Constructor for class org.marc4j.ErrorHandler
Constructs an error handler.
ErrorHandler.Error - Class in org.marc4j
 
ErrorHandler.Error(String, String, String, int, String) - Constructor for class org.marc4j.ErrorHandler.Error
 
errorList - Variable in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
 
EVT_ARRAY_BEGIN - Static variable in class org.marc4j.util.JsonParser
Returned from next() when the beginning of a declared array is read.
EVT_ARRAY_ENDED - Static variable in class org.marc4j.util.JsonParser
Returned from next() when the end of a declared array is read.
EVT_INPUT_ENDED - Static variable in class org.marc4j.util.JsonParser
Returned from next() when the end of the input source is reached.
EVT_OBJECT_BEGIN - Static variable in class org.marc4j.util.JsonParser
Returned from next() when the beginning of an object is read.
EVT_OBJECT_ENDED - Static variable in class org.marc4j.util.JsonParser
Returned from next() when the end of an object is read.
EVT_OBJECT_MEMBER - Static variable in class org.marc4j.util.JsonParser
Returned from next() when a simple object member (Name:Value pair or array element) is read.

F

FATAL - Static variable in class org.marc4j.ErrorHandler
FATAL is the most severe error, it is usually set in conjunction with throwing an exception, generally no record is returned when a FATAL error occurs.
FIELDS_ARRAY - Static variable in class org.marc4j.MarcJsonReader
 
find(String) - Method in class info.freelibrary.marc4j.impl.ControlFieldImpl
Finds a match to a regular expression pattern in the ControlField 's data.
find(String) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Returns true if a match is found for the supplied regular expression pattern; else, false.
find(String) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Finds all the VariableFields that match the supplied regular expression pattern.
find(String, String) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Finds all the VariableFields that match the supplied tag and regular expression pattern.
find(String[], String) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Finds all the VariableFields that match the supplied tags and regular expression pattern.
find(String) - Method in class info.freelibrary.marc4j.impl.SubfieldImpl
Returns true is the supplied regular expression pattern matches the Subfield data; else, false.
find(String) - Method in interface org.marc4j.marc.Record
Returns a List of VariableField objects that have a data element that matches the given regular expression.
find(String, String) - Method in interface org.marc4j.marc.Record
Returns a List of VariableField objects with the given tag that have a data element that matches the given regular expression.
find(String[], String) - Method in interface org.marc4j.marc.Record
Returns a List of VariableField objects with the given tags that have a data element that matches the given regular expression.
find(String) - Method in interface org.marc4j.marc.Subfield
Returns true if the given regular expression matches a subsequence of the data element.
find(String) - Method in interface org.marc4j.marc.VariableField
Returns true if the given regular expression matches a subsequence of a data element within the variable field.
format(double, StringBuffer, FieldPosition) - Method in class org.marc4j.util.CustomDecimalFormat
 
format(long, StringBuffer, FieldPosition) - Method in class org.marc4j.util.CustomDecimalFormat
 
format4Use - Static variable in class org.marc4j.MarcStreamWriter
 
format5Use - Static variable in class org.marc4j.MarcStreamWriter
 
FT - Static variable in class org.marc4j.Constants
FIELD TERMINATOR

G

g - Variable in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
 
GENERAL - Static variable in exception org.marc4j.util.JsonParser.Escape
General exception.
getAsRecord(boolean, boolean, String, String) - Method in class org.marc4j.util.RawRecord
Gets the raw record as a Record.
getBaseAddressOfData() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns the base address of data (positions 12-16).
getBaseAddressOfData() - Method in interface org.marc4j.marc.Leader
Returns the base address of data (positions 12-16).
getBestCharSet(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Lookups up the MARC8 translation of a given Unicode character and determines which of the MARC-8 character sets that have a translation for that Unicode character is the best one to use.
getChar(int, int) - Method in class info.freelibrary.marc4j.converter.impl.CodeTable
Returns the char for the supplied int and mode.
getChar(int, int) - Method in class info.freelibrary.marc4j.converter.impl.CodeTableGenerated
Returns char.
getChar(int, int) - Method in interface info.freelibrary.marc4j.converter.impl.CodeTableInterface
 
getCharCodingScheme() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns the character coding scheme (position 09).
getCharCodingScheme() - Method in interface org.marc4j.marc.Leader
Returns the character coding scheme (position 09).
getCharEntry(Character, int) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Returns the MARC8 translation of a given Unicode character from the character set currently loaded as either the G0 or the G1 character set, as specified by the second parameter.
getCharSets() - Method in class info.freelibrary.marc4j.converter.impl.CodeTableHandler
Gets the character sets hashtable.
getCharSets() - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHandler
Gets character sets.
getCharTable(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Abstract method that must be defined in a sub-class, used in the conversion of Unicode to MARC-8.
getCharTable(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableGenerated
Returns the character hashtable.
getCharTable(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHash
Gets the character table for the supplied Character.
getCode() - Method in class info.freelibrary.marc4j.impl.SubfieldImpl
Gets the Subfield code.
getCode() - Method in interface org.marc4j.marc.Subfield
Returns the data element identifier.
getCode() - Method in exception org.marc4j.util.JsonParser.Escape
Return the numeric code for this exception condition.
getCombiningChars() - Method in class info.freelibrary.marc4j.converter.impl.CodeTableHandler
Gets the combining characters.
getCombiningChars() - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHandler
Gets the combining characters.
getControlFields() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets a List of ControlFields from the Record.
getControlFields() - Method in interface org.marc4j.marc.Record
Returns a list of control fields
getControlNumber() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets the Record's control number.
getControlNumber() - Method in interface org.marc4j.marc.Record
Returns the control number or null if no control number is available.
getControlNumberField() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Returns the control number field or null if no control number field is available.
getControlNumberField() - Method in interface org.marc4j.marc.Record
Returns the control number field or null if no control number field is available.
getConverter() - Method in class org.marc4j.MarcJsonWriter
Returns the character converter.
getConverter() - Method in class org.marc4j.MarcStreamWriter
Returns the character converter.
getConverter() - Method in interface org.marc4j.MarcWriter
Returns the character converter.
getConverter() - Method in class org.marc4j.MarcXmlWriter
Returns the character converter.
getCurrentG0CharEntry(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Returns the MARC8 translation of a given Unicode character from the character set currently loaded as the G0 character set.
getCurrentG1CharEntry(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Returns the MARC8 translation of a given Unicode character from the character set currently loaded as the G0 character set.
getData() - Method in class info.freelibrary.marc4j.impl.ControlFieldImpl
Gets the ControlField data.
getData() - Method in class info.freelibrary.marc4j.impl.SubfieldImpl
Gets the Subfield data.
getData() - Method in interface org.marc4j.marc.ControlField
Returns the data element.
getData() - Method in interface org.marc4j.marc.Subfield
Returns the data element.
getDataElement(String) - Method in class org.marc4j.MarcStreamWriter
 
getDataElement(String) - Method in class org.marc4j.MarcXmlWriter
 
getDataFields() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets a List of DataFields from the Record.
getDataFields() - Method in interface org.marc4j.marc.Record
Returns a list of data fields
getEntry(String, int, int) - Method in class org.marc4j.MarcStreamWriter
 
getEntryMap() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns the entry map (positions 20-23).
getEntryMap() - Method in interface org.marc4j.marc.Leader
Returns the entry map (positions 20-23).
getErrors() - Method in class org.marc4j.ErrorHandler
Returns a list of all of the errors encountered in processing the current record.
getEventCode() - Method in class org.marc4j.util.JsonParser
Get the code for the current event.
getEventColumn() - Method in class org.marc4j.util.JsonParser
Get the input source column number for the current event.
getEventLine() - Method in class org.marc4j.util.JsonParser
Get the input source line number for the current event.
getEventLocation() - Method in class org.marc4j.util.JsonParser
Get the input source location for the current event.
getEventName() - Method in class org.marc4j.util.JsonParser
Get the name for the current event.
getEventName(int) - Static method in class org.marc4j.util.JsonParser
Get a text name for the event code.
getFieldVal(String) - Method in class org.marc4j.util.RawRecord
Gets the value of the field with the supplied ID.
getId() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Gets the ID of the leader.
getId() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Returns the ID for this Record.
getId() - Method in class info.freelibrary.marc4j.impl.SubfieldImpl
Gets the ID for this Subfield.
getId() - Method in class info.freelibrary.marc4j.impl.VariableFieldImpl
Return the field's ID.
getId() - Method in interface org.marc4j.marc.Leader
Returns the identifier.
getId() - Method in interface org.marc4j.marc.Record
Returns the identifier.
getId() - Method in interface org.marc4j.marc.Subfield
Returns the identifier.
getId() - Method in interface org.marc4j.marc.VariableField
Gets the identifier.
getImplDefined1() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns implementation defined values (positions 07-08).
getImplDefined1() - Method in interface org.marc4j.marc.Leader
Returns implementation defined values (positions 07-08).
getImplDefined2() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns implementation defined values (positions 17-19).
getImplDefined2() - Method in interface org.marc4j.marc.Leader
Returns implementation defined values (positions 17-19).
getIndicator1() - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Returns the field's first indicator.
getIndicator1() - Method in interface org.marc4j.marc.DataField
Returns the first indicator of the DataField
getIndicator2() - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Returns the field's second indicator
getIndicator2() - Method in interface org.marc4j.marc.DataField
Returns the second indicator of the DataField.
getIndicatorCount() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns the indicator count (positions 10).
getIndicatorCount() - Method in interface org.marc4j.marc.Leader
Returns the indicator count (positions 10).
getInputColumn() - Method in class org.marc4j.util.JsonParser.Location
Gets the count of the input column.
getInputLine() - Method in class org.marc4j.util.JsonParser.Location
Gets the input line count.
getInputLocation() - Method in class org.marc4j.util.JsonParser
Get the current location in the input source.
getInputName() - Method in class org.marc4j.util.JsonParser
Get the name assigned to the input source at construction.
getInputSource() - Method in class org.marc4j.MarcXmlParserThread
Returns the input stream.
getInputSource() - Method in class org.marc4j.util.JsonParser.Location
Gets the name of the input source.
getLeader() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets the Leader for this Record.
getLeader() - Method in interface org.marc4j.marc.Record
Returns the Leader.
getMaxSeverity() - Method in class org.marc4j.ErrorHandler
Returns the highest error severity level encountered in processing the current record.
getMBChar(int) - Method in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Gets the multibyte character.
getMBCharStr(int) - Method in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Gets the multibyte character string.
getMemberArray() - Method in class org.marc4j.util.JsonParser
Get the current object member array flag.
getMemberName() - Method in class org.marc4j.util.JsonParser
Get the current object member name.
getMemberName() - Method in class org.marc4j.util.JsonParser.Location
Gets the member name.
getMemberValue() - Method in class org.marc4j.util.JsonParser
Get the current object member value (valid only if the current event is EVT_OBJECT_MEMBER).
getObjectName() - Method in class org.marc4j.util.JsonParser
Get the name of the current object.
getPreviousG0() - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Routine used for tracking which character set is currently in use for characters less than 0x80
getPreviousG1() - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Routine used for tracking which character set is currently in use for characters greater than 0x80
getRecordBytes() - Method in class org.marc4j.util.RawRecord
Gets the record in byte form.
getRecordId() - Method in class org.marc4j.util.RawRecord
Gets the record ID.
getRecordLength() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns the logical record length (positions 00-04).
getRecordLength() - Method in interface org.marc4j.marc.Leader
Returns the logical record length (positions 00-04).
getRecordStatus() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns the record status (positions 05).
getRecordStatus() - Method in interface org.marc4j.marc.Leader
Returns the record status (positions 05).
getSubfield(char) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Returns the first Subfield matching the supplied char code.
getSubfield(char) - Method in interface org.marc4j.marc.DataField
Returns the first Subfield with the given code.
getSubfieldCodeLength() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns the subfield code length (position 11).
getSubfieldCodeLength() - Method in interface org.marc4j.marc.Leader
Returns the subfield code length (position 11).
getSubfields() - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Returns the list of Subfield objects.
getSubfields(char) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Returns the Subfields with the supplied char code.
getSubfields() - Method in interface org.marc4j.marc.DataField
Returns the List of Subfield.
getSubfields(char) - Method in interface org.marc4j.marc.DataField
Returns the List of Subfields for the given subfield code.
getTag() - Method in class info.freelibrary.marc4j.impl.VariableFieldImpl
Returns this field's tag.
getTag() - Method in interface org.marc4j.marc.VariableField
Returns the tag name.
getTransformerHandler() - Method in class org.marc4j.MarcXmlParserThread
Returns the content handler to transform the source to MARCXML.
getType() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets the type of this Record.
getType() - Method in interface org.marc4j.marc.Record
Returns the type of record.
getTypedMemberValue(String) - Static method in class org.marc4j.util.JsonParser
Get the current object member value applying JSON typing rules (valid only if the current event is EVT_OBJECT_MEMBER).
getTypeOfRecord() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns the record type (position 06).
getTypeOfRecord() - Method in interface org.marc4j.marc.Leader
Returns the record type (position 06).
getUnicodeNormalization() - Method in class org.marc4j.MarcXmlWriter
Returns true if this writer will perform Unicode normalization, false otherwise.
getVariableField(String) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets the first VariableField with the supplied tag.
getVariableField(String) - Method in interface org.marc4j.marc.Record
Returns the first instance of the variable field with the given tag.
getVariableFields(String) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets a List of VariableFields with the supplied tag.
getVariableFields() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets a List of VariableFields from the Record.
getVariableFields(String[]) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Gets the VariableFields in the Record with the supplied tags.
getVariableFields() - Method in interface org.marc4j.marc.Record
Returns a list of variable fields
getVariableFields(String) - Method in interface org.marc4j.marc.Record
Returns a list of variable fields with the given tag.
getVariableFields(String[]) - Method in interface org.marc4j.marc.Record
Returns a list of variable fields for the given tags.

H

HandleExceptionExample - Class in org.marc4j.samples
Reads MARC input.
HandleExceptionExample() - Constructor for class org.marc4j.samples.HandleExceptionExample
 
hasErrors() - Method in class org.marc4j.ErrorHandler
Returns true if any errors (or warnings) were encountered in processing the current record.
hasIndent() - Method in class org.marc4j.MarcJsonWriter
Returns true if indentation is active, false otherwise.
hasIndent() - Method in class org.marc4j.MarcXmlWriter
Returns true if indentation is active, false otherwise.
hasNext() - Method in class org.marc4j.MarcCombiningReader
Returns true if there is a next record; else false.
hasNext() - Method in class org.marc4j.MarcDirStreamReader
Returns true if the iteration has more records, false otherwise.
hasNext() - Method in class org.marc4j.MarcJsonReader
Returns true if there is a next record; else, false.
hasNext() - Method in class org.marc4j.MarcPermissiveStreamReader
Returns true if the iteration has more records, false otherwise.
hasNext() - Method in interface org.marc4j.MarcReader
Returns true if the iteration has more records, false otherwise.
hasNext() - Method in class org.marc4j.MarcStreamReader
Returns true if the iteration has more records, false otherwise.
hasNext() - Method in class org.marc4j.MarcTranslatedReader
Returns true if the reader has another Record.
hasNext() - Method in class org.marc4j.MarcXmlReader
Returns true if the iteration has more records, false otherwise.
hasNext() - Method in class org.marc4j.RecordStack
Returns true if there are more Record objects to expect, false otherwise.
hasNext() - Method in class org.marc4j.samples.PersonalNamesReader
Returns true if the PersonalNamesReader has another Record.
hasNext() - Method in class org.marc4j.util.RawRecordReader
Returns true if there is another raw record to read; else, false.
hasNext() - Method in class org.solrmarc.marcoverride.MarcUnprettyXmlReader
Returns true if there is a next record to read; else, false.
hasOversizeLength - Variable in class org.marc4j.MarcStreamWriter
 
hasOversizeOffset - Variable in class org.marc4j.MarcStreamWriter
 

I

ignorableWhitespace(char[], int, int) - Method in class org.marc4j.MarcXmlHandler
An event fired while consuming ignorable whitespace.
IllegalAddException - Exception in org.marc4j.marc
Thrown when the addition of the supplied object is illegal.
IllegalAddException(String) - Constructor for exception org.marc4j.marc.IllegalAddException
Creates a new Exception indicating that the addition of the supplied object is illegal.
IllegalAddException(String, String) - Constructor for exception org.marc4j.marc.IllegalAddException
Creates a new Exception indicating that the addition of the supplied object is illegal.
INFO - Static variable in class org.marc4j.ErrorHandler
INFO is used to pass information about the record translation process.
info.freelibrary.marc4j.converter.impl - package info.freelibrary.marc4j.converter.impl
Classes for byte and character conversions.
info.freelibrary.marc4j.impl - package info.freelibrary.marc4j.impl
Default implementation of the MARC record object model.
init() - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Initializes the ReverseCodeTable state to the default value for encoding a field.
inPreviousG0CharEntry(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Checks whether a MARC8 translation of a given Unicode character exists in the character set currently loaded as the G0 character set.
inPreviousG1CharEntry(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Checks whether a MARC8 translation of a given Unicode character exists in the character set currently loaded as the G1 character set.
INVALID_STATE - Static variable in exception org.marc4j.util.JsonParser.Escape
An method was invokeD when the parser was in an invalid state for it.
InvalidMARCException - Exception in org.marc4j.marc
A runtime exception thrown when invalid MARC is constructed.
InvalidMARCException() - Constructor for exception org.marc4j.marc.InvalidMARCException
An exception thrown when invalid MARC is encountered.
InvalidMARCException(String) - Constructor for exception org.marc4j.marc.InvalidMARCException
An exception thrown when invalid MARC is encountered; included in the exception is a detailed exception message.
InvalidMARCException(Exception) - Constructor for exception org.marc4j.marc.InvalidMARCException
An exception thrown when invalid MARC is constructed; included in the exception is a parent exception.
InvalidMARCException(String, Exception) - Constructor for exception org.marc4j.marc.InvalidMARCException
An exception thrown when invalid MARC is constructed; included in the exception is a detailed exception message and a parent exception.
IOERROR - Static variable in exception org.marc4j.util.JsonParser.Escape
Input/Output error.
isCombining(int, int, int) - Method in class info.freelibrary.marc4j.converter.impl.CodeTable
Returns true if combining; else, false.
isCombining(int, int, int) - Method in class info.freelibrary.marc4j.converter.impl.CodeTableGenerated
Returns true if combining; else, false.
isCombining(int, int, int) - Method in interface info.freelibrary.marc4j.converter.impl.CodeTableInterface
 
isCombining(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Abstract method that must be defined in a sub-class, used in the conversion of Unicode to MARC-8.
isCombining(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableGenerated
Returns true if supplied character is combining; else, false.
isCombining(Character) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHash
Returns true if the supplied Character is a combining character; else, false.
isEscapeSlash() - Method in class org.marc4j.MarcJsonWriter
Returns true if escape slashes are turned on; else, false.
isIndent() - Method in class org.marc4j.MarcJsonWriter
Returns true if JSON output is indented; else, false.
ISO5426_ENCODING - Static variable in class org.marc4j.Constants
ISO5426 ENCODING
Iso5426ToUnicode - Class in info.freelibrary.marc4j.converter.impl
A utility to convert UNIMARC data to UCS/Unicode.
Iso5426ToUnicode() - Constructor for class info.freelibrary.marc4j.converter.impl.Iso5426ToUnicode
 
ISO6937_ENCODING - Static variable in class org.marc4j.Constants
ISO6937 ENCODING
Iso6937ToUnicode - Class in info.freelibrary.marc4j.converter.impl
A utility to convert ISO 6937 data to UCS/Unicode.
Iso6937ToUnicode() - Constructor for class info.freelibrary.marc4j.converter.impl.Iso6937ToUnicode
 
isQuoted(String) - Static method in class org.marc4j.util.JsonParser
Test if the member value is enclosed in text-value-indicating quotes.
isQuoteLabels() - Method in class org.marc4j.MarcJsonWriter
Returns true if quote labels are turned on; else, false.
isTranslateLosslessUnicodeNumericCodeReferencesEnabled() - Method in class org.marc4j.MarcPermissiveStreamReader
 

J

JsonParser - Class in org.marc4j.util
A pull-event parser for JSON data.
JsonParser(int) - Constructor for class org.marc4j.util.JsonParser
Construct a JSON parser from a character input source.
JsonParser.Escape - Exception in org.marc4j.util
 
JsonParser.Escape(int, String) - Constructor for exception org.marc4j.util.JsonParser.Escape
Create an exception with a code and details.
JsonParser.Escape(int, String, Throwable) - Constructor for exception org.marc4j.util.JsonParser.Escape
Create an exception with a code and details.
JsonParser.Location - Class in org.marc4j.util
 

L

lastLookupKey - Variable in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
 
lastLookupValue - Variable in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
 
Leader - Interface in org.marc4j.marc
Represents a record label in a MARC record.
LEADER - Static variable in class org.marc4j.MarcXmlWriter
 
LeaderImpl - Class in info.freelibrary.marc4j.impl
Represents a record label in a MARC record.
LeaderImpl() - Constructor for class info.freelibrary.marc4j.impl.LeaderImpl
Default constructor.
LeaderImpl(String) - Constructor for class info.freelibrary.marc4j.impl.LeaderImpl
Creates a new leader from a String object.
loadedMultibyte - Variable in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
 
locator - Variable in class info.freelibrary.marc4j.converter.impl.CodeTableHandler
Locator object
locator - Variable in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHandler
Locator object

M

main(String[]) - Static method in class info.freelibrary.marc4j.converter.impl.CodeTableGenerator
The main function called when generating a codetable.
main(String[]) - Static method in class info.freelibrary.marc4j.converter.impl.CodeTableHandler
The main class on the CodeTableHandler.
main(String[]) - Static method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableGenerator
The main class for the reverse code table generator.
main(String[]) - Static method in class org.marc4j.samples.AddLocationExample
The main class for AddLocationExample.
main(String[]) - Static method in class org.marc4j.samples.CheckAgencyExample
The main class for CheckAgencyExample.
main(String[]) - Static method in class org.marc4j.samples.ControlFieldExample
The main class for the ControlFieldExample.
main(String[]) - Static method in class org.marc4j.samples.DataFieldExample
The main class for DataFieldExample.
main(String[]) - Static method in class org.marc4j.samples.HandleExceptionExample
The main class for the HandleExceptionExample.
main(String[]) - Static method in class org.marc4j.samples.Marc2DomExample
The main class for the Marc2DomExample.
main(String[]) - Static method in class org.marc4j.samples.Marc2MarcXmlExample
The main class for the Marc2MarcXmlExample.
main(String[]) - Static method in class org.marc4j.samples.Marc2ModsExample
The main class for the Marc2ModsExample.
main(String[]) - Static method in class org.marc4j.samples.Marc2ModsInDomExample
The main class for the Marc2ModsInDomExample.
main(String[]) - Static method in class org.marc4j.samples.Marc8ToMarcXmlExample
The main class for Marc8ToMarcXmlExample.
main(String[]) - Static method in class org.marc4j.samples.Marc8ToUnicodeExample
The main class for Marc8ToUnicodeExample.
main(String[]) - Static method in class org.marc4j.samples.ModsToMarc21lExample
The main class for the ModsToMarc21lExample.
main(String[]) - Static method in class org.marc4j.samples.NonSortExample
The main class for NonSortExample.
main(String[]) - Static method in class org.marc4j.samples.PermissiveReaderExample
This test program demonstrates the use of the MarcPermissiveStreamReader to read Marc records, with the permissive setting turned on.
main(String[]) - Static method in class org.marc4j.samples.PersonalNamesExample
The main class for the PersonalNamesExample.
main(String[]) - Static method in class org.marc4j.samples.ReadFromInputSourceExample
The main class for ReadFromInputSourceExample.
main(String[]) - Static method in class org.marc4j.samples.ReadMarcExample
The main class for the ReadMarcExample.
main(String[]) - Static method in class org.marc4j.samples.ReadMarcFromURLExample
The main class for ReadMarcFromURLExample.
main(String[]) - Static method in class org.marc4j.samples.ReadMarcXmlExample
The main class for the ReadMarcXmlExample.
main(String[]) - Static method in class org.marc4j.samples.ReadSingleRecordExample
The main class for ReadSingleRecordExample.
main(String[]) - Static method in class org.marc4j.samples.RemoveLocalFieldsExample
The main class for RemoveLocalFieldsExample.
main(String[]) - Static method in class org.marc4j.samples.StylesheetChainExample
The main class for StylesheetChainExample.
main(String[]) - Static method in class org.marc4j.samples.TagAnalysisExample
The main class for the TagAnalysisExample.
main(String[]) - Static method in class org.marc4j.samples.TemplatesExample
The main class for TemplateExample.
main(String[]) - Static method in class org.marc4j.samples.WriteMarcExample
The main class for WriteMarcExample.
main(String[]) - Static method in class org.marc4j.util.MarcXmlDriver
Provides a static entry point.
main(String[]) - Static method in class org.marc4j.util.RawRecordReader
 
main(String[]) - Static method in class org.marc4j.util.XmlMarcDriver
Provides a static entry point.
MAJOR_ERROR - Static variable in class org.marc4j.ErrorHandler
MAJOR_ERROR indicates that a serious problem existed with the record, such as a malformed directory or an invalid subfield tag, or an encoding error where missing data had to be inferred through some heuristic process.
makeMultibyte(char, char, char) - Method in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Makes a multibyte.
MALFORMED - Static variable in exception org.marc4j.util.JsonParser.Escape
Malformed input data - the data was not valid JSON data-interchange format.
Marc2DomExample - Class in org.marc4j.samples
Writes MARC XML to a DOM document.
Marc2DomExample() - Constructor for class org.marc4j.samples.Marc2DomExample
 
Marc2MarcXmlExample - Class in org.marc4j.samples
Writes MARc XML to standard output
Marc2MarcXmlExample() - Constructor for class org.marc4j.samples.Marc2MarcXmlExample
 
Marc2ModsExample - Class in org.marc4j.samples
Writes MODS to standard output.
Marc2ModsExample() - Constructor for class org.marc4j.samples.Marc2ModsExample
 
Marc2ModsInDomExample - Class in org.marc4j.samples
Writes MARC XML to a DOM document.
Marc2ModsInDomExample() - Constructor for class org.marc4j.samples.Marc2ModsInDomExample
 
Marc8ToMarcXmlExample - Class in org.marc4j.samples
Writes MARC XML in UTF-8 to standard output.
Marc8ToMarcXmlExample() - Constructor for class org.marc4j.samples.Marc8ToMarcXmlExample
 
Marc8ToUnicodeExample - Class in org.marc4j.samples
Writes MARC ISO 2709 in UTF-8 to standard output.
Marc8ToUnicodeExample() - Constructor for class org.marc4j.samples.Marc8ToUnicodeExample
 
MARC_8_ENCODING - Static variable in class org.marc4j.Constants
MARC-8 ANSEL ENCODING
MARC_IN_JSON - Static variable in class org.marc4j.MarcJsonWriter
 
MARC_JSON - Static variable in class org.marc4j.MarcJsonWriter
 
MarcCombiningReader - Class in org.marc4j
Binary MARC records have a maximum size of 99999 bytes.
MarcCombiningReader(MarcReader, String, String, String) - Constructor for class org.marc4j.MarcCombiningReader
Constructor for a "combining" Marc reader, that looks ahead at the Marc file to determine when the next record is a continuation of the currently read record.
MarcCombiningReader(MarcReader, ErrorHandler, ErrorHandler, String, String, String) - Constructor for class org.marc4j.MarcCombiningReader
Constructor for a "combining" Marc reader, that looks ahead at the Marc file to determine when the next record is a continuation of the currently read record.
MarcDirStreamReader - Class in org.marc4j
A Marc reader which instead of handling a single file of MARC records it handles a directory, which it will scan for all .mrc files, and iterate through all of them in turn.
MarcDirStreamReader(String) - Constructor for class org.marc4j.MarcDirStreamReader
Constructs an instance that traverses the directory specified in the parameter.
MarcDirStreamReader(File) - Constructor for class org.marc4j.MarcDirStreamReader
Constructs an instance that traverses the directory specified in the parameter.
MarcDirStreamReader(String, boolean, boolean) - Constructor for class org.marc4j.MarcDirStreamReader
Constructs an instance that traverses the directory specified in the parameter.
MarcDirStreamReader(File, boolean, boolean) - Constructor for class org.marc4j.MarcDirStreamReader
Constructs an instance that traverses the directory specified in the parameter.
MarcDirStreamReader(String, boolean, boolean, String) - Constructor for class org.marc4j.MarcDirStreamReader
Constructs an instance that traverses the directory specified in the parameter.
MarcDirStreamReader(File, boolean, boolean, String) - Constructor for class org.marc4j.MarcDirStreamReader
Constructs an instance that traverses the directory specified in the parameter.
MarcException - Exception in org.marc4j
Thrown in various situations by MARC4J; may contain a nested exception.
MarcException() - Constructor for exception org.marc4j.MarcException
Create a new MarcException with no detail message.
MarcException(String) - Constructor for exception org.marc4j.MarcException
Create a new MarcException with the String specified as an error message.
MarcException(String, Throwable) - Constructor for exception org.marc4j.MarcException
Create a new MarcException with the given Exception base cause and detail message.
MarcFactory - Class in org.marc4j.marc
Factory for creating MARC record objects.
MarcFactory() - Constructor for class org.marc4j.marc.MarcFactory
 
MarcFactoryImpl - Class in info.freelibrary.marc4j.impl
Factory for creating MARC record objects.
MarcFactoryImpl() - Constructor for class info.freelibrary.marc4j.impl.MarcFactoryImpl
Default constructor.
MarcJsonReader - Class in org.marc4j
 
MarcJsonReader(InputStream) - Constructor for class org.marc4j.MarcJsonReader
Creates a MarcJsonReader from a supplied InputStream
MarcJsonReader(Reader) - Constructor for class org.marc4j.MarcJsonReader
Creates a MarcJsonReader from the supplied Reader.
MarcJsonWriter - Class in org.marc4j
 
MarcJsonWriter(OutputStream) - Constructor for class org.marc4j.MarcJsonWriter
Creates a MarcJsonWriter with the supplied OutputStream.
MarcJsonWriter(OutputStream, CharConverter) - Constructor for class org.marc4j.MarcJsonWriter
Creates a MarcJsonWriter with the supplied OutputStream using the supplied CharConverter.
MarcJsonWriter(OutputStream, int) - Constructor for class org.marc4j.MarcJsonWriter
Creates a MarcJsonWriter with the supplied OutputStream to write using the supplied JSON format.
MarcJsonWriter(OutputStream, CharConverter, int) - Constructor for class org.marc4j.MarcJsonWriter
Creates a MarcJsonWriter with the supplied OutputStream using the specified CharConverter to write using the specified JSON format.
MarcPermissiveStreamReader - Class in org.marc4j
An iterator over a collection of MARC records in ISO 2709 format, that is designed to be able to handle MARC records that have errors in their structure or their encoding.
MarcPermissiveStreamReader(InputStream, boolean, boolean) - Constructor for class org.marc4j.MarcPermissiveStreamReader
Constructs an instance with the specified input stream with possible additional functionality being enabled by setting permissive and/or convertToUTF8 to true.
MarcPermissiveStreamReader(InputStream, ErrorHandler, boolean) - Constructor for class org.marc4j.MarcPermissiveStreamReader
Constructs an instance with the specified input stream with possible additional functionality being enabled by passing in an ErrorHandler object and/or setting convertToUTF8 to true.
MarcPermissiveStreamReader(InputStream, boolean, boolean, String) - Constructor for class org.marc4j.MarcPermissiveStreamReader
Constructs an instance with the specified input stream with possible additional functionality being enabled by setting permissive and/or convertToUTF8 to true.
MarcPermissiveStreamReader(InputStream, ErrorHandler, boolean, String) - Constructor for class org.marc4j.MarcPermissiveStreamReader
Constructs an instance with the specified input stream with possible additional functionality being enabled by setting permissive and/or convertToUTF8 to true.
MarcReader - Interface in org.marc4j
Implement this interface to provide an iterator over a collection of Record objects.
MarcSplitStreamWriter - Class in org.marc4j
 
MarcSplitStreamWriter(OutputStream, int, String) - Constructor for class org.marc4j.MarcSplitStreamWriter
Creates a MarcSplitStreamWriter with a record threshold and fields to split from the supplied OutputStream.
MarcSplitStreamWriter(OutputStream, String, int, String) - Constructor for class org.marc4j.MarcSplitStreamWriter
Creates a MarcSplitStreamWriter with an encoding, a record threshold, and fields to split from the supplied OutputStream.
MarcSplitStreamWriter - Class in org.solrmarc.marcoverride
 
MarcSplitStreamWriter(OutputStream, int, String) - Constructor for class org.solrmarc.marcoverride.MarcSplitStreamWriter
Creates a split stream writer from the supplied OutputStream using the supplied threshold and fields to split.
MarcSplitStreamWriter(OutputStream, String, int, String) - Constructor for class org.solrmarc.marcoverride.MarcSplitStreamWriter
Creates a split stream writer from the supplied OutputStream using the supplied encoding, threshold, and fields to split.
MarcStreamReader - Class in org.marc4j
An iterator over a collection of MARC records in ISO 2709 format.
MarcStreamReader(InputStream) - Constructor for class org.marc4j.MarcStreamReader
Constructs an instance with the specified input stream.
MarcStreamReader(InputStream, String) - Constructor for class org.marc4j.MarcStreamReader
Constructs an instance with the specified input stream.
MarcStreamWriter - Class in org.marc4j
Class for writing MARC record objects in ISO 2709 format.
MarcStreamWriter(OutputStream) - Constructor for class org.marc4j.MarcStreamWriter
Constructs an instance and creates a Writer object with the specified output stream.
MarcStreamWriter(OutputStream, String) - Constructor for class org.marc4j.MarcStreamWriter
Constructs an instance and creates a Writer object with the specified output stream and character encoding.
MarcStreamWriter(OutputStream, boolean) - Constructor for class org.marc4j.MarcStreamWriter
Constructs an instance and creates a Writer object with the specified output stream.
MarcStreamWriter(OutputStream, String, boolean) - Constructor for class org.marc4j.MarcStreamWriter
Constructs an instance and creates a Writer object with the specified output stream and character encoding.
MarcTranslatedReader - Class in org.marc4j
 
MarcTranslatedReader(MarcReader, boolean) - Constructor for class org.marc4j.MarcTranslatedReader
Creates a MARC translated reader that can normalize Unicode.
MarcTranslatedReader(MarcReader, String) - Constructor for class org.marc4j.MarcTranslatedReader
Creates a MARC translated reader using the normalizer represented by the supplied string.
MarcUnprettyXmlReader - Class in org.solrmarc.marcoverride
 
MarcUnprettyXmlReader(InputStream) - Constructor for class org.solrmarc.marcoverride.MarcUnprettyXmlReader
Creates an ugly XML reader from the supplied InputStream.
MarcWriter - Interface in org.marc4j
Implement this interface to provide a writer for Record objects.
MARCXML_NS_URI - Static variable in class org.marc4j.Constants
NS URI
MarcXmlDriver - Class in org.marc4j.util
Provides a basic driver to convert MARC records to MARCXML.
MarcXmlDriver() - Constructor for class org.marc4j.util.MarcXmlDriver
 
MarcXmlHandler - Class in org.marc4j
Creates Record objects from SAX events and pushes each item onto the top of the RecordStack.
MarcXmlHandler(RecordStack) - Constructor for class org.marc4j.MarcXmlHandler
Default constructor.
MarcXmlParser - Class in org.marc4j
Creates Record objects from SAX events and pushes each item onto the top of the RecordStack.
MarcXmlParser(MarcXmlHandler) - Constructor for class org.marc4j.MarcXmlParser
Default constructor.
MarcXmlParserThread - Class in org.marc4j
Extends Thread to produce Record objects from MARCXML data.
MarcXmlParserThread(RecordStack) - Constructor for class org.marc4j.MarcXmlParserThread
Creates a new instance and registers the RecordQueue.
MarcXmlParserThread(RecordStack, InputSource) - Constructor for class org.marc4j.MarcXmlParserThread
Creates a new instance and registers the RecordQueue and the InputStream.
MarcXmlReader - Class in org.marc4j
An iterator over a collection of MARC records in MARCXML format.
MarcXmlReader(InputStream) - Constructor for class org.marc4j.MarcXmlReader
Constructs an instance with the specified input stream.
MarcXmlReader(InputSource) - Constructor for class org.marc4j.MarcXmlReader
Constructs an instance with the specified input source.
MarcXmlReader(InputStream, String) - Constructor for class org.marc4j.MarcXmlReader
Constructs an instance with the specified input stream and stylesheet location.
MarcXmlReader(InputStream, Source) - Constructor for class org.marc4j.MarcXmlReader
Constructs an instance with the specified input stream and stylesheet source.
MarcXmlReader(InputSource, Source) - Constructor for class org.marc4j.MarcXmlReader
Constructs an instance with the specified input source and stylesheet source.
MarcXmlReader(InputStream, TransformerHandler) - Constructor for class org.marc4j.MarcXmlReader
Constructs an instance with the specified input stream and transformer handler.
MarcXmlReader(InputSource, TransformerHandler) - Constructor for class org.marc4j.MarcXmlReader
Constructs an instance with the specified input source and transformer handler.
MarcXmlWriter - Class in org.marc4j
Class for writing MARC record objects in MARCXML format.
MarcXmlWriter(OutputStream) - Constructor for class org.marc4j.MarcXmlWriter
Constructs an instance with the specified output stream.
MarcXmlWriter(OutputStream, boolean) - Constructor for class org.marc4j.MarcXmlWriter
Constructs an instance with the specified output stream and indentation.
MarcXmlWriter(OutputStream, String) - Constructor for class org.marc4j.MarcXmlWriter
Constructs an instance with the specified output stream and character encoding.
MarcXmlWriter(OutputStream, String, boolean) - Constructor for class org.marc4j.MarcXmlWriter
Constructs an instance with the specified output stream, character encoding and indentation.
MarcXmlWriter(Result) - Constructor for class org.marc4j.MarcXmlWriter
Constructs an instance with the specified result.
MarcXmlWriter(Result, String) - Constructor for class org.marc4j.MarcXmlWriter
Constructs an instance with the specified stylesheet location and result.
MarcXmlWriter(Result, Source) - Constructor for class org.marc4j.MarcXmlWriter
Constructs an instance with the specified stylesheet source and result.
marshal() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Creates a string object from this leader object.
marshal() - Method in interface org.marc4j.marc.Leader
Creates a string object from this leader object.
message - Variable in class org.marc4j.ErrorHandler.Error
 
METHOD_ERROR - Static variable in exception org.marc4j.util.JsonParser.Escape
An method could not be reflectively retrieved or invoked.
MINOR_ERROR - Static variable in class org.marc4j.ErrorHandler
MINOR_ERROR indicates that a less serious problem existed with the record, such as a mismatch between the directory stated field sizes and the actual field sizes, or an encoding error where extraneous data had to be discarded to correctly interpret the data.
ModsToMarc21lExample - Class in org.marc4j.samples
Writes MARC from MODS to standard output.
ModsToMarc21lExample() - Constructor for class org.marc4j.samples.ModsToMarc21lExample
 

N

newControlField() - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Returns a new control field instance.
newControlField(String) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Creates a new control field with the given tag and returns the instance.
newControlField(String, String) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Creates a new control field with the given tag and data and returns the instance.
newControlField() - Method in class org.marc4j.marc.MarcFactory
Returns a new control field instance.
newControlField(String) - Method in class org.marc4j.marc.MarcFactory
Creates a new control field with the given tag and returns the instance.
newControlField(String, String) - Method in class org.marc4j.marc.MarcFactory
Creates a new control field with the given tag and data and returns the instance.
newDataField() - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Returns a new data field instance.
newDataField(String, char, char) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Creates a new data field with the given tag and indicators and returns the instance.
newDataField(String, char, char, String...) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Creates a new data field with the given tag and indicators and subfields and returns the instance.
newDataField() - Method in class org.marc4j.marc.MarcFactory
Returns a new data field instance.
newDataField(String, char, char) - Method in class org.marc4j.marc.MarcFactory
Creates a new data field with the given tag and indicators and returns the instance.
newDataField(String, char, char, String...) - Method in class org.marc4j.marc.MarcFactory
Creates a new data field with the given tag and indicators and subfields and returns the instance.
newInstance() - Static method in class org.marc4j.marc.MarcFactory
Creates a new factory instance.
newLeader() - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Returns a new leader instance.
newLeader(String) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Creates a new leader with the given String object.
newLeader() - Method in class org.marc4j.marc.MarcFactory
Returns a new leader instance.
newLeader(String) - Method in class org.marc4j.marc.MarcFactory
Creates a new leader with the given String object.
newRecord() - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Returns a new record instance with a default leader.
newRecord(Leader) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Returns a new Record with the supplied Leader.
newRecord(String) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Returns a new Record with a Leader from the supplied string.
newRecord(Leader) - Method in class info.freelibrary.marc4j.impl.SortedMarcFactoryImpl
Returns a new Record from the supplied Leader.
newRecord() - Method in class org.marc4j.marc.MarcFactory
Returns a new record instance.
newRecord(Leader) - Method in class org.marc4j.marc.MarcFactory
Returns a new record instance.
newRecord(String) - Method in class org.marc4j.marc.MarcFactory
Returns a new record instance.
newSubfield() - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Returns a new subfield instance.
newSubfield(char) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Creates a new subfield with the given identifier.
newSubfield(char, String) - Method in class info.freelibrary.marc4j.impl.MarcFactoryImpl
Creates a new subfield with the given identifier and data.
newSubfield() - Method in class org.marc4j.marc.MarcFactory
Returns a new subfield instance.
newSubfield(char) - Method in class org.marc4j.marc.MarcFactory
Creates a new subfield with the given identifier.
newSubfield(char, String) - Method in class org.marc4j.marc.MarcFactory
Creates a new subfield with the given identifier and data.
next() - Method in class org.marc4j.MarcCombiningReader
Returns the next Record record if there is one and null if there isn't.
next() - Method in class org.marc4j.MarcDirStreamReader
Returns the next record in the iteration.
next() - Method in class org.marc4j.MarcJsonReader
Returns the next Record.
next() - Method in class org.marc4j.MarcPermissiveStreamReader
Returns the next record in the iteration.
next() - Method in interface org.marc4j.MarcReader
Returns the next record in the iteration.
next() - Method in class org.marc4j.MarcStreamReader
Returns the next record in the iteration.
next() - Method in class org.marc4j.MarcTranslatedReader
Returns the next Record.
next() - Method in class org.marc4j.MarcXmlReader
Returns the next record in the iteration.
next() - Method in class org.marc4j.samples.PersonalNamesReader
Returns the next Record in the PersonalNamesReader.
next() - Method in class org.marc4j.util.JsonParser
Parse next event from input source.
next() - Method in class org.marc4j.util.RawRecordReader
Returns the next raw record.
next() - Method in class org.solrmarc.marcoverride.MarcUnprettyXmlReader
Returns the next Record from the reader.
NFC - Static variable in class org.marc4j.util.Normalizer
 
NFC_obj - Static variable in class org.marc4j.util.Normalizer
 
NFD - Static variable in class org.marc4j.util.Normalizer
 
NFD_obj - Static variable in class org.marc4j.util.Normalizer
 
NFKC - Static variable in class org.marc4j.util.Normalizer
 
NFKC_obj - Static variable in class org.marc4j.util.Normalizer
 
NFKD - Static variable in class org.marc4j.util.Normalizer
 
NFKD_obj - Static variable in class org.marc4j.util.Normalizer
 
NO_ARRAY - Static variable in class org.marc4j.MarcJsonReader
 
NONE - Static variable in class org.marc4j.util.Normalizer
 
NonSortExample - Class in org.marc4j.samples
Demonstrates getting the title without non-sorting characters.
NonSortExample() - Constructor for class org.marc4j.samples.NonSortExample
 
normalize(String, int) - Static method in class org.marc4j.util.Normalizer
Normalizes the supplied string using the supplied mode.
Normalizer - Class in org.marc4j.util
This class is a shim interface to handle the normalization of unicode characters.

O

OPT_ALL - Static variable in class org.marc4j.util.JsonParser
All options on.
OPT_CONFIG - Static variable in class org.marc4j.util.JsonParser
Recommended for config parsing mode - OPT_UNQUOTED_KEYWORDS, OPT_EOL_IS_COMMA, OPT_MULTILINE_COMMENTS, OPT_SINGLE_QUOTE_STRINGS, OPT_INTERN_KEYWORDS, OPT_INTERN_VALUES.
OPT_EOL_IS_COMMA - Static variable in class org.marc4j.util.JsonParser
Option to allow an end-of-line to be treated as a comma.
OPT_INTERN_KEYWORDS - Static variable in class org.marc4j.util.JsonParser
Option to cause keywords to be interned (String.intern()) - this is not a JSON compliance option.
OPT_INTERN_VALUES - Static variable in class org.marc4j.util.JsonParser
Option to cause keywords to be interned (String.intern()) - this is not a JSON compliance option.
OPT_MESSAGING - Static variable in class org.marc4j.util.JsonParser
Recommended options for messaging parsing mode - OPT_UNQUOTED_KEYWORDS, OPT_INTERN_KEYWORDS.
OPT_MULTILINE_COMMENTS - Static variable in class org.marc4j.util.JsonParser
Option to allow multiline comments using /* and */.
OPT_MULTILINE_STRINGS - Static variable in class org.marc4j.util.JsonParser
Option to allow mutiline strings - this permits strings to be broken over multiple lines in an unambigous manner.
OPT_PRELOAD_INPUT - Static variable in class org.marc4j.util.JsonParser
Option to preload file input data when the input source is set - this is not a JSON compliance option.
OPT_SINGLE_QUOTE_STRINGS - Static variable in class org.marc4j.util.JsonParser
Option to allow single-quotes to be used for strings.
OPT_STRICT - Static variable in class org.marc4j.util.JsonParser
All options off.
OPT_UNQUOTED_KEYWORDS - Static variable in class org.marc4j.util.JsonParser
Option to allow keywords to be unquoted.
org.marc4j - package org.marc4j
Classes to read and write MARC and MARCXML records.
org.marc4j.converter - package org.marc4j.converter
Interfaces for character conversions.
org.marc4j.marc - package org.marc4j.marc
Interfaces for the record object model.
org.marc4j.samples - package org.marc4j.samples
Provides MARC4J examples.
org.marc4j.util - package org.marc4j.util
Provides some basic command-line utilities for converting MARC and MARCXML records.
org.solrmarc.marcoverride - package org.solrmarc.marcoverride
 
out - Variable in class org.marc4j.MarcStreamWriter
 
outputsUnicode() - Method in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Should return true if the CharConverter outputs Unicode encoded characters
outputsUnicode() - Method in class info.freelibrary.marc4j.converter.impl.Iso5426ToUnicode
Should return true if the CharConverter outputs Unicode encoded characters
outputsUnicode() - Method in class info.freelibrary.marc4j.converter.impl.Iso6937ToUnicode
Should return true if the CharConverter outputs Unicode encoded characters
outputsUnicode() - Method in class org.marc4j.converter.CharConverter
Should return true if the CharConverter outputs Unicode encoded characters

P

parse(InputSource) - Method in class org.marc4j.MarcXmlParser
Calls the parser.
parse(InputSource, TransformerHandler) - Method in class org.marc4j.MarcXmlParser
Calls the parser and tries to transform the source into MARCXML using the given stylesheet source before creating Record objects.
passException(RuntimeException) - Method in class org.marc4j.RecordStack
Passes the exception to the thread where the MarcXMLReader is running, so that the next() call that is blocked waiting for this thread, will receive the exception.
PermissiveReaderExample - Class in org.marc4j.samples
 
PermissiveReaderExample() - Constructor for class org.marc4j.samples.PermissiveReaderExample
 
PersonalNamesExample - Class in org.marc4j.samples
Reads personal names from a Tab-separated file.
PersonalNamesExample() - Constructor for class org.marc4j.samples.PersonalNamesExample
 
PersonalNamesReader - Class in org.marc4j.samples
 
PersonalNamesReader(InputStream) - Constructor for class org.marc4j.samples.PersonalNamesReader
Creates a PersonalNamesReader from the supplied InputStream.
pop() - Method in class org.marc4j.RecordStack
Removes the Record object from the stack and returns that object.
processingInstruction(String, String) - Method in class org.marc4j.MarcXmlHandler
An event fired while consuming a processing instruction.
push(Record) - Method in class org.marc4j.RecordStack
Pushes a Record object on the stack.

R

RawRecord - Class in org.marc4j.util
 
RawRecord(DataInputStream) - Constructor for class org.marc4j.util.RawRecord
Creates a RawRecord from the supplied DataInputStream.
RawRecord(RawRecord, RawRecord) - Constructor for class org.marc4j.util.RawRecord
Creates a new raw record from the two supplied raw records.
RawRecordReader - Class in org.marc4j.util
Read a binary MARC file, treating the records mostly as opaque blocks of data.
RawRecordReader(InputStream) - Constructor for class org.marc4j.util.RawRecordReader
Creates a raw record reader from the supplied InputStream.
RawRecordReader(InputStream, boolean) - Constructor for class org.marc4j.util.RawRecordReader
Creates a raw record reader from the supplied {@link InputStream) and merge records boolean flag.
rct - Variable in class info.freelibrary.marc4j.converter.impl.UnicodeToAnsel
 
ReadFromInputSourceExample - Class in org.marc4j.samples
Reads MARC XML from an input source.
ReadFromInputSourceExample() - Constructor for class org.marc4j.samples.ReadFromInputSourceExample
 
ReadMarcExample - Class in org.marc4j.samples
Reads MARC input.
ReadMarcExample() - Constructor for class org.marc4j.samples.ReadMarcExample
 
ReadMarcFromURLExample - Class in org.marc4j.samples
Reads MARC input.
ReadMarcFromURLExample() - Constructor for class org.marc4j.samples.ReadMarcFromURLExample
 
ReadMarcXmlExample - Class in org.marc4j.samples
Reads MARC XML input.
ReadMarcXmlExample() - Constructor for class org.marc4j.samples.ReadMarcXmlExample
 
ReadSingleRecordExample - Class in org.marc4j.samples
Reads a single record.
ReadSingleRecordExample() - Constructor for class org.marc4j.samples.ReadSingleRecordExample
 
Record - Interface in org.marc4j.marc
Represents a MARC record.
RECORD - Static variable in class org.marc4j.MarcXmlWriter
 
RecordImpl - Class in info.freelibrary.marc4j.impl
Represents a MARC record.
RecordImpl() - Constructor for class info.freelibrary.marc4j.impl.RecordImpl
Creates a new Record.
RecordStack - Class in org.marc4j
Provides push and pop operations for Record objects created by MarcXmlParser.
RecordStack() - Constructor for class org.marc4j.RecordStack
Default constuctor.
RemoveLocalFieldsExample - Class in org.marc4j.samples
Removes local field (tag 9XX).
RemoveLocalFieldsExample() - Constructor for class org.marc4j.samples.RemoveLocalFieldsExample
 
removeSubfield(Subfield) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Removes a Subfield from the field.
removeSubfield(Subfield) - Method in interface org.marc4j.marc.DataField
Removes a Subfield.
removeVariableField(VariableField) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Removes the supplied VariableField
removeVariableField(VariableField) - Method in interface org.marc4j.marc.Record
Removes a variable field from the collection.
REP_ALL_NINES - Static variable in class org.marc4j.util.CustomDecimalFormat
 
REP_ALL_ZEROS - Static variable in class org.marc4j.util.CustomDecimalFormat
 
REP_TRUNCATE - Static variable in class org.marc4j.util.CustomDecimalFormat
 
reset() - Method in class org.marc4j.ErrorHandler
Resets the list of errors to empty.
reset() - Method in class org.marc4j.util.JsonParser
Reset this parser to be ready for more input after completing the parsing of some input.
ReverseCodeTable - Class in info.freelibrary.marc4j.converter.impl
ReverseCodeTable is a set of methods to facilitate Unicode to MARC-8 character conversion, it tracks the current charset encodings that are in use, and defines abstract methods isCombining() and getCharTable()which must be overridden in a sub-class to actually implement the Unicode to MARC8 character conversion.
ReverseCodeTable() - Constructor for class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Default constructor for the abstract class, allocates and initializes the structures that are used to track the current character sets in use.
ReverseCodeTableGenerated - Class in info.freelibrary.marc4j.converter.impl
 
ReverseCodeTableGenerated() - Constructor for class info.freelibrary.marc4j.converter.impl.ReverseCodeTableGenerated
 
ReverseCodeTableGenerator - Class in info.freelibrary.marc4j.converter.impl
Invoked at build time to generate a java source file (named ReverseCodeTableGenerated.java) which when compiled will extend the ReverseCodeTable abstract class (primarily through switch statements) and which can be used by the UnicodeToAnsel converter which will produce the same results as the object ReverseCodeTableHash.
The following routines are only used in the code generation process, and are not available to be called from within an application that uses MARC4J.
The routines generated for converting unicode characters to MARC8 multibyte characters are split into several routines to workaround a limitation in java that a method can only contain 64k of code when it is compiled.
ReverseCodeTableGenerator() - Constructor for class info.freelibrary.marc4j.converter.impl.ReverseCodeTableGenerator
 
ReverseCodeTableHandler - Class in info.freelibrary.marc4j.converter.impl
ReverseCodeTableHandler is a SAX2 ContentHandler that builds a data structure to facilitate UnicodeToAnsel character conversion.
ReverseCodeTableHandler() - Constructor for class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHandler
 
ReverseCodeTableHash - Class in info.freelibrary.marc4j.converter.impl
ReverseCodeTableHash defines a data structure to facilitate UnicodeToAnsel character conversion.
ReverseCodeTableHash(InputStream) - Constructor for class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHash
Creates a reverse codetable hash from the supplied InputStream.
ReverseCodeTableHash(String) - Constructor for class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHash
Creates a reverse codetable hash from the supplied file name.
ReverseCodeTableHash(URI) - Constructor for class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHash
Creates a reverse codetable hash from the supplied URI.
RT - Static variable in class org.marc4j.Constants
RECORD TERMINATOR
run() - Method in class org.marc4j.MarcXmlParserThread
Creates a new MarcXmlHandler instance, registers the RecordQueue and sends the InputStream to the MarcXmlParser parser.

S

setAllowOversizeEntry(boolean) - Method in class org.marc4j.MarcStreamWriter
Sets whether an oversized entry is allowed.
setBaseAddressOfData(int) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the base address of data (positions 12-16).
setBaseAddressOfData(int) - Method in interface org.marc4j.marc.Leader
Sets the base address of data (positions 12-16).
setCharCodingScheme(char) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the character encoding scheme (position 09).
setCharCodingScheme(char) - Method in interface org.marc4j.marc.Leader
Sets the character encoding scheme (position 09).
setCode(char) - Method in class info.freelibrary.marc4j.impl.SubfieldImpl
Sets the Subfield code.
setCode(char) - Method in interface org.marc4j.marc.Subfield
Sets the data element identifier.
setConverter(CharConverter) - Method in class org.marc4j.MarcJsonWriter
Sets the character converter.
setConverter(CharConverter) - Method in class org.marc4j.MarcStreamWriter
Sets the character converter.
setConverter(CharConverter) - Method in interface org.marc4j.MarcWriter
Sets the character converter.
setConverter(CharConverter) - Method in class org.marc4j.MarcXmlWriter
Sets the character converter.
setCurrentField(String) - Method in class org.marc4j.ErrorHandler
Sets the field tag to be stored for subsequent error messages that are logged
setCurrentSubfield(String) - Method in class org.marc4j.ErrorHandler
Sets the subfield tag to be stored for subsequent error messages that are logged
setData(String) - Method in class info.freelibrary.marc4j.impl.ControlFieldImpl
Sets the ControlField data.
setData(String) - Method in class info.freelibrary.marc4j.impl.SubfieldImpl
Sets the Subfield data.
setData(String) - Method in interface org.marc4j.marc.ControlField
Sets the data element.
setData(String) - Method in interface org.marc4j.marc.Subfield
Sets the data element.
setDocumentLocator(Locator) - Method in class info.freelibrary.marc4j.converter.impl.CodeTableHandler
Registers the SAX2 Locator object.
setDocumentLocator(Locator) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHandler
Registers the SAX2 Locator object.
setDocumentLocator(Locator) - Method in class org.marc4j.MarcXmlHandler
An event fired while consuming a document locator.
setEntryMap(char[]) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the entry map (positions 20-23).
setEntryMap(char[]) - Method in interface org.marc4j.marc.Leader
Sets the entry map (positions 20-23).
setEscapeSlash(boolean) - Method in class org.marc4j.MarcJsonWriter
Turns on escape slashes.
setHandler(Result, Source) - Method in class org.marc4j.MarcXmlWriter
 
setId(Long) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the ID for the leader.
setId(Long) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Sets the ID for this Record.
setId(Long) - Method in class info.freelibrary.marc4j.impl.SubfieldImpl
Sets the ID for this Subfield.
setId(Long) - Method in class info.freelibrary.marc4j.impl.VariableFieldImpl
Sets an ID.
setId(Long) - Method in interface org.marc4j.marc.Leader
Sets the identifier.
setId(Long) - Method in interface org.marc4j.marc.Record
Sets the identifier.
setId(Long) - Method in interface org.marc4j.marc.Subfield
Sets the identifier.
setId(Long) - Method in interface org.marc4j.marc.VariableField
Sets the identifier.
setImplDefined1(char[]) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets implementation defined values (position 07-08).
setImplDefined1(char[]) - Method in interface org.marc4j.marc.Leader
Sets implementation defined values (position 07-08).
setImplDefined2(char[]) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets implementation defined values (positions 17-19).
setImplDefined2(char[]) - Method in interface org.marc4j.marc.Leader
Sets implementation defined values (positions 17-19).
setIndent(boolean) - Method in class org.marc4j.MarcJsonWriter
Activates or deactivates indentation.
setIndent(boolean) - Method in class org.marc4j.MarcXmlWriter
Activates or deactivates indentation.
setIndicator1(char) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Sets the field's first indicator.
setIndicator1(char) - Method in interface org.marc4j.marc.DataField
Sets the first indicator of the DataField.
setIndicator2(char) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Sets the field's second indicator.
setIndicator2(char) - Method in interface org.marc4j.marc.DataField
Sets the second indicator of the DataField.
setIndicatorCount(int) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the indicator count (position 10).
setIndicatorCount(int) - Method in interface org.marc4j.marc.Leader
Sets the indicator count (position 10).
setInput(String, Reader, boolean) - Method in class org.marc4j.util.JsonParser
Construct a JSON parser from a character input source.
setInput(String, InputStream, String, boolean) - Method in class org.marc4j.util.JsonParser
Construct a JSON parser from a byte input source.
setInput(String, String, int) - Method in class org.marc4j.util.JsonParser
Construct a JSON parser from a file input source.
setInput(File, String, int) - Method in class org.marc4j.util.JsonParser
Construct a JSON parser from a file input source.
setInputSource(InputSource) - Method in class org.marc4j.MarcXmlParserThread
Sets the input stream.
setLeader(Leader) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Sets this Record's Leader.
setLeader(Leader) - Method in interface org.marc4j.marc.Record
Sets the Leader.
setPreviousG0(int) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Routine used for changing which character set is currently in use for characters less than 0x80
setPreviousG1(int) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTable
Routine used for changing which character set is currently in use for characters greater than 0x80
setQuoteLabels(boolean) - Method in class org.marc4j.MarcJsonWriter
Turns on quote labels.
setRecordID(String) - Method in class org.marc4j.ErrorHandler
Sets the record ID to be stored for subsequent error messages that are logged If any previous messages are stored for the current record that don't have a stored record ID, set the value for those entries to this value also.
setRecordLength(int) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the logical record length (positions 00-04).
setRecordLength(int) - Method in interface org.marc4j.marc.Leader
Sets the logical record length (positions 00-04).
setRecordStatus(char) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the record status (position 05).
setRecordStatus(char) - Method in interface org.marc4j.marc.Leader
Sets the record status (position 05).
setSubfieldCodeLength(int) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the subfield code length (position 11).
setSubfieldCodeLength(int) - Method in interface org.marc4j.marc.Leader
Sets the subfield code length (position 11).
setTag(String) - Method in class info.freelibrary.marc4j.impl.ControlFieldImpl
Sets the tag of a ControlField.
setTag(String) - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Sets the tag of a DataField.
setTag(String) - Method in class info.freelibrary.marc4j.impl.VariableFieldImpl
Sets this field's tag.
setTag(String) - Method in interface org.marc4j.marc.VariableField
Sets the tag name.
setTransformerHandler(TransformerHandler) - Method in class org.marc4j.MarcXmlParserThread
Sets the content handler to transform the source to MARCXML.
setTranslateLosslessUnicodeNumericCodeReferencesEnabled(boolean) - Method in class org.marc4j.MarcPermissiveStreamReader
Enable convesion of numeric code references into their corresponding code points when converting to unicode
setTranslateNCR(boolean) - Method in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Sets whether we should translate to NCR.
setType(String) - Method in class info.freelibrary.marc4j.impl.RecordImpl
Sets the type of this Record.
setType(String) - Method in interface org.marc4j.marc.Record
Sets the type of record.
setTypeOfRecord(char) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Sets the type of record (position 06).
setTypeOfRecord(char) - Method in interface org.marc4j.marc.Leader
Sets the type of record (position 06).
setUnicodeNormalization(boolean) - Method in class org.marc4j.MarcJsonWriter
Turns on Unicode normalization.
setUnicodeNormalization(boolean) - Method in class org.marc4j.MarcXmlWriter
If set to true this writer will perform Unicode normalization on data elements using normalization form C (NFC).
severity - Variable in class org.marc4j.ErrorHandler.Error
 
shouldTranslateNCR() - Method in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
Returns true if should translate to NCR.
showDiffs(PrintStream, String, String) - Static method in class org.marc4j.samples.PermissiveReaderExample
Normalizes strings to be able to show diffs.
skipArray() - Method in class org.marc4j.util.JsonParser
Skip the array that the parser is currently positioned at.
skipObject() - Method in class org.marc4j.util.JsonParser
Skip the object that the parser is currently positioned at.
skippedEntity(String) - Method in class org.marc4j.MarcXmlHandler
An event fired while consuming a skipped entity.
SortedMarcFactoryImpl - Class in info.freelibrary.marc4j.impl
 
SortedMarcFactoryImpl() - Constructor for class info.freelibrary.marc4j.impl.SortedMarcFactoryImpl
 
SortedRecordImpl - Class in info.freelibrary.marc4j.impl
 
SortedRecordImpl() - Constructor for class info.freelibrary.marc4j.impl.SortedRecordImpl
 
startDocument() - Method in class org.marc4j.MarcXmlHandler
An event fired at the start of the document.
startElement(String, String, String, Attributes) - Method in class info.freelibrary.marc4j.converter.impl.CodeTableHandler
An event fired at the start of an element.
startElement(String, String, String, Attributes) - Method in class info.freelibrary.marc4j.converter.impl.ReverseCodeTableHandler
 
startElement(String, String, String, Attributes) - Method in class org.marc4j.MarcXmlHandler
An event fired at the start of an element.
startPrefixMapping(String, String) - Method in class org.marc4j.MarcXmlHandler
An event fired at the start of prefix mapping.
stripQuotes(String) - Static method in class org.marc4j.util.JsonParser
Strip the text-value-indicating quotes from the supplied member value, if any.
StylesheetChainExample - Class in org.marc4j.samples
A chain of transformation stages.
StylesheetChainExample() - Constructor for class org.marc4j.samples.StylesheetChainExample
 
SUBCLSMIN - Static variable in exception org.marc4j.util.JsonParser.Escape
Minimum code required for any sub-class.
Subfield - Interface in org.marc4j.marc
Represents a subfield in a MARC record.
SUBFIELD - Static variable in class org.marc4j.MarcXmlWriter
 
SUBFIELD_ARRAY - Static variable in class org.marc4j.MarcJsonReader
 
SubfieldImpl - Class in info.freelibrary.marc4j.impl
Represents a subfield in a MARC record.
SubfieldImpl() - Constructor for class info.freelibrary.marc4j.impl.SubfieldImpl
Creates a new Subfield.
SubfieldImpl(char) - Constructor for class info.freelibrary.marc4j.impl.SubfieldImpl
Creates a new Subfield and sets the data element identifier.
SubfieldImpl(char, String) - Constructor for class info.freelibrary.marc4j.impl.SubfieldImpl
Creates a new Subfield and sets the data element identifier and the data element.
SUBFIELDS_ARRAY - Static variable in class org.marc4j.MarcJsonReader
 

T

TagAnalysisExample - Class in org.marc4j.samples
Outputs list of used tags.
TagAnalysisExample() - Constructor for class org.marc4j.samples.TagAnalysisExample
 
TemplatesExample - Class in org.marc4j.samples
Transformation with compiled stylesheet.
TemplatesExample() - Constructor for class org.marc4j.samples.TemplatesExample
 
toMarcInJson(Record) - Method in class org.marc4j.MarcJsonWriter
 
toMarcJson(Record) - Method in class org.marc4j.MarcJsonWriter
 
toString() - Method in class info.freelibrary.marc4j.impl.ControlFieldImpl
Returns a string representation of this control field.
toString() - Method in class info.freelibrary.marc4j.impl.DataFieldImpl
Returns a string representation of this data field.
toString() - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Returns a string representation of this leader.
toString() - Method in class info.freelibrary.marc4j.impl.RecordImpl
Returns a string representation of this record.
toString() - Method in class info.freelibrary.marc4j.impl.SubfieldImpl
Returns a string representation of this subfield.
toString() - Method in class info.freelibrary.marc4j.impl.VariableFieldImpl
Returns a string representation of this variable field.
toString() - Method in class org.marc4j.ErrorHandler.Error
Formats the error message for display
toString() - Method in class org.marc4j.util.JsonParser.Location
Returns a string representation of the parser.
toXml(Record) - Method in class org.marc4j.MarcXmlWriter
 
translateNCR - Variable in class info.freelibrary.marc4j.converter.impl.AnselToUnicode
 

U

UnicodeToAnsel - Class in info.freelibrary.marc4j.converter.impl
A utility to convert UCS/Unicode data to MARC-8.
UnicodeToAnsel() - Constructor for class info.freelibrary.marc4j.converter.impl.UnicodeToAnsel
Creates a new instance and loads the MARC4J supplied Ansel/Unicode conversion tables based on the official LC tables.
UnicodeToAnsel(boolean) - Constructor for class info.freelibrary.marc4j.converter.impl.UnicodeToAnsel
Creates a new instance and loads the MARC4J supplied Ansel/Unicode conversion tables based on the official LC tables.
UnicodeToAnsel(String) - Constructor for class info.freelibrary.marc4j.converter.impl.UnicodeToAnsel
Constructs an instance with the specified pathname.
UnicodeToAnsel(InputStream) - Constructor for class info.freelibrary.marc4j.converter.impl.UnicodeToAnsel
Constructs an instance with the specified input stream.
UnicodeToIso5426 - Class in info.freelibrary.marc4j.converter.impl
A utility to convert UCS/Unicode data to UNIMARC (ISO 5426 charset).
UnicodeToIso5426() - Constructor for class info.freelibrary.marc4j.converter.impl.UnicodeToIso5426
 
UnicodeToIso6937 - Class in info.freelibrary.marc4j.converter.impl
A utility to convert UCS/Unicode data to ISO 6937.
UnicodeToIso6937() - Constructor for class info.freelibrary.marc4j.converter.impl.UnicodeToIso6937
 
unmarshal(String) - Method in class info.freelibrary.marc4j.impl.LeaderImpl
Creates a leader object from a string object.
unmarshal(String) - Method in interface org.marc4j.marc.Leader
Creates a leader object from a string object.
US - Static variable in class org.marc4j.Constants
SUBFIELD DELIMITER

V

validateControlField(ControlField) - Method in class org.marc4j.marc.MarcFactory
Returns true if supplied ControlField is valid; else, false.
validateDataField(DataField) - Method in class org.marc4j.marc.MarcFactory
Returns true if supplied DataField is valid; else, false.
validateRecord(Record) - Method in class org.marc4j.marc.MarcFactory
Returns true if the Record is valid; else, false.
validateSubField(Subfield) - Method in class org.marc4j.marc.MarcFactory
Returns true if the supplied Subfield is value; else, false.
validateVariableField(VariableField) - Method in class org.marc4j.marc.MarcFactory
Returns true if supplied VariableField is valid; else, false.
VariableField - Interface in org.marc4j.marc
Represents a variable field in a MARC record.
VariableFieldImpl - Class in info.freelibrary.marc4j.impl
Represents a variable field in a MARC record.
VariableFieldImpl() - Constructor for class info.freelibrary.marc4j.impl.VariableFieldImpl
 

W

write(Record) - Method in class org.marc4j.MarcJsonWriter
Writes the supplied Record.
write(Record) - Method in class org.marc4j.MarcSplitStreamWriter
Writes a Record object to the writer.
write(Record) - Method in class org.marc4j.MarcStreamWriter
Writes a Record object to the writer.
write(Record) - Method in interface org.marc4j.MarcWriter
Writes a single Record to the output stream.
write(Record) - Method in class org.marc4j.MarcXmlWriter
Writes a Record object to the result.
write(Record) - Method in class org.solrmarc.marcoverride.MarcSplitStreamWriter
Writes a Record object to the writer.
writeEndDocument() - Method in class org.marc4j.MarcXmlWriter
Writes the root end tag to the result.
writeLeader(Leader) - Method in class org.marc4j.MarcStreamWriter
 
WriteMarcExample - Class in org.marc4j.samples
Writes MARC to standard output.
WriteMarcExample() - Constructor for class org.marc4j.samples.WriteMarcExample
 
writeStartDocument() - Method in class org.marc4j.MarcXmlWriter
Writes the root start tag to the result.

X

XmlMarcDriver - Class in org.marc4j.util
Provides a driver to convert MARCXML records to MARC format.
XmlMarcDriver() - Constructor for class org.marc4j.util.XmlMarcDriver
 
A B C D E F G H I J L M N O P R S T U V W X 

Copyright © 2014 FreeLibrary. All Rights Reserved.