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.
-
MarcPersNameField(int, EntityMap, Debug)
- Create a MarcPersNameField object with no subfields.
-
presentLong(int, BufferedWriter)
- "Long" presentation for a personal name variable field.
-
presentShort(int, BufferedWriter)
- "Short" presentation for a personal name variable field: use 'a' and 'b'
subfields.
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
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
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