All Packages Class Hierarchy This Package Previous Next Index
Class edu.vt.marian.Document.MarcSubjectField
java.lang.Object
|
+----edu.vt.marian.Document.MarcVarField
|
+----edu.vt.marian.Document.PresentableMarcVarField
|
+----edu.vt.marian.Document.MarcSubjectField
- public class MarcSubjectField
- extends PresentableMarcVarField
A "variable field" in a US MARC record that contains a subject:
that is, a 6xx field.
-
MarcSubjectField(int, EntityMap, Debug)
- Create a MarcSubjectField object with no subfields.
-
presentLong(int, BufferedWriter)
- "Long" presentation for a subject variable field.
-
presentShort(int, BufferedWriter)
- "Short" presentation for a subject variable field: use 'a'
subfields, separated with commas.
MarcSubjectField
public MarcSubjectField(int id,
EntityMap xMap,
Debug debug)
- Create a MarcSubjectField 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 subject variable field: use 'a'
subfields, separated with commas.
- 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 subject 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