|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.fmts.ZBaseFormatter
The ZBaseFormatter class is the parent class for all the ZBase database record formatting classes that convert BER data to MARC format. It defines variables commonly used by all the formats and houses commonly used methods to format database records.
Z39Formatter
,
MarcBuilder
,
FormatBerUtil
Field Summary | |
protected String |
fieldData
String data type containing data for a record field. |
protected FormatBerUtil |
fmtUtil
FormatBerUtil object containing methods to retrieve data fields from a BER record. |
protected byte[] |
marcbytes
byte array object used to store byte data from a data field. |
protected MarcBuilder |
marcRec
MarcBuilder object containing methods to build a MARC record. |
protected DataDir |
newDir
DataDir object containing the returned record from the formatting activity. |
Constructor Summary | |
ZBaseFormatter()
Constructs a ZBaseFormatter object. |
Method Summary | |
BerString |
buildTextRecord(String textData)
Creates a BerString object containing a single node containing the input text record. |
BerString[] |
doFormat(BerString[] records)
Parent doFormat method for an input array of BerString objects that returns a null when called at this level. |
BerString |
doFormat(DataDir record)
Parent doFormat method for an input DataDir object that returns a null when called at this level. |
BerString |
makeMarcBerString(String marcString)
Creates a BerString object containing a Marc representation of the input marc record string. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected String fieldData
protected MarcBuilder marcRec
protected byte[] marcbytes
protected FormatBerUtil fmtUtil
protected DataDir newDir
Constructor Detail |
public ZBaseFormatter()
Method Detail |
public BerString doFormat(DataDir record)
record
- a BER record.public BerString[] doFormat(BerString[] records)
records[]
- an array of BER formatted records.public BerString makeMarcBerString(String marcString)
marcString
- the Marc record string.public BerString buildTextRecord(String textData)
textData
- the text record string.
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |