All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.vt.marian.Document.MarcTitleField

java.lang.Object
   |
   +----edu.vt.marian.Document.MarcVarField
           |
           +----edu.vt.marian.Document.PresentableMarcVarField
                   |
                   +----edu.vt.marian.Document.MarcTitleField

public class MarcTitleField
extends PresentableMarcVarField
A "variable field" in a US MARC record that contains a title: that is, a 130, 24x, 440, 730, 740, 830, or 840 field.


Constructor Index

 o MarcTitleField(int, EntityMap, Debug)
Create a MarcTitleField object with no subfields.

Method Index

 o presentLong(int, BufferedWriter)
"Long" presentation for a title variable field: use all subfields with slash separator.

Constructors

 o MarcTitleField
 public MarcTitleField(int id,
                       EntityMap xMap,
                       Debug debug)
Create a MarcTitleField object with no subfields.

Parameters:
id - -- the variable field id.
xMap - -- used to convert ANSEL to (e.g.) XML.
debug - -- used for debugging

Methods

 o presentLong
 public int presentLong(int markupType,
                        BufferedWriter out) throws IOException
"Long" presentation for a title variable field: use all subfields with slash separator.

Parameters:
markupType - see edu.vt.marian.common.DigInfObj
out - A BufferedWriter (presumably String or OutputStream) to present on.
Returns:
OK -- everything jake.
IO_ERROR or PARSE_ERROR -- problems.
Overrides:
presentLong in class PresentableMarcVarField

All Packages  Class Hierarchy  This Package  Previous  Next  Index