All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.vt.marian.Document.MarcPersNameField

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

public class MarcPersNameField
extends PresentableMarcVarField
A "variable field" in a US MARC record that contains a personal name: that is, a 100, 400, 600, 700, or 800 field.


Constructor Index

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

Method Index

 o presentLong(int, BufferedWriter)
"Long" presentation for a personal name variable field.
 o presentShort(int, BufferedWriter)
"Short" presentation for a personal name variable field: use 'a' and 'b' subfields.

Constructors

 o MarcPersNameField
 public MarcPersNameField(int id,
                          EntityMap xMap,
                          Debug debug)
Create a MarcPersNameField 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 presentShort
 public int presentShort(int markupType,
                         BufferedWriter out) throws IOException
"Short" presentation for a personal name variable field: use 'a' and 'b' subfields.

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:
presentShort in class PresentableMarcVarField
 o presentLong
 public int presentLong(int markupType,
                        BufferedWriter out) throws IOException
"Long" presentation for a personal name variable field.

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