All Packages Class Hierarchy This Package Previous Next Index
Class edu.vt.marian.Document.MarcSubField
java.lang.Object
|
+----edu.vt.marian.Document.MarcSubField
- public class MarcSubField
- extends Object
A subfield of a variable field in a USMARC record. A subfield is
composed of a single-character label and a data string.
-
MarcSubField(char, String, EntityMap, Debug)
- create a marc_subfield object from label and data
-
getData()
- return the data of this object
-
getLabel()
- return the label of this object
-
present(int, BufferedWriter)
-
MarcSubField
public MarcSubField(char lbl,
String dataStr,
EntityMap xMap,
Debug dbg)
- create a marc_subfield object from label and data
- Parameters:
- label - --- this will be the label of this object
- data - -- this will be the data of this object
- debug - -- used for debugging
getLabel
public char getLabel()
- return the label of this object
- Returns:
- the id of this object as a char
getData
public String getData()
- return the data of this object
- Returns:
- the data of this object as a string
present
public int present(int markupType,
BufferedWriter out) throws IOException
All Packages Class Hierarchy This Package Previous Next Index