All Packages Class Hierarchy This Package Previous Next Index
Class edu.vt.marian.Document.MarcCorpNameField
java.lang.Object
|
+----edu.vt.marian.Document.MarcVarField
|
+----edu.vt.marian.Document.PresentableMarcVarField
|
+----edu.vt.marian.Document.MarcCorpNameField
- public class MarcCorpNameField
- extends PresentableMarcVarField
A "variable field" in a US MARC record that contains a corporate name:
that is, a 110, 410, 610, 710, or 810 field.
-
MarcCorpNameField(int, EntityMap, Debug)
- Create a MarcCorpNameField object with no subfields.
-
presentLong(int, BufferedWriter)
- "Long" presentation for a corporate name variable field.
-
presentShort(int, BufferedWriter)
- "Short" presentation for a corporate name variable field: use 'a' and 'b'
subfields.
MarcCorpNameField
public MarcCorpNameField(int id,
EntityMap xMap,
Debug debug)
- Create a MarcCorpNameField 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 corporate 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 corporate 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