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.


Constructor Index

 o MarcSubField(char, String, EntityMap, Debug)
create a marc_subfield object from label and data

Method Index

 o getData()
return the data of this object
 o getLabel()
return the label of this object
 o present(int, BufferedWriter)

Constructors

 o 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

Methods

 o getLabel
 public char getLabel()
return the label of this object

Returns:
the id of this object as a char
 o getData
 public String getData()
return the data of this object

Returns:
the data of this object as a string
 o present
 public int present(int markupType,
                    BufferedWriter out) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index