|
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.rules.RuleUtil | +--ORG.oclc.fmts.rules.AddCompoundSubjectPhrase
The AddCompoundSubjectPhrase class is the record formatting rule that creates a formatted string for Subject fields in the FirstSearch Z39.50 databases using the field specifications in the RuleSpec and the HTML or Text specifications defined in the DisplayUserData object to delimit the data found in the input record.
This rule makes a boolean phrase search of each subfield in order to provide accurate retrieval for subject heading hot-links.
The parameters recognized by this rule are:
&StyleTable.defaults.QueryCommand;
.
true
/false
value indicating whether any filtering
should be done by the formatting class on the data that goes into the
query anchor. The default value is true
.
&StyleTable.pages.searchResults;
.
&StyleTable.pages.badquery;
.
entitytoprecno=1&entitycurrecno=1&numrecs=&srchnumrecs;
.
true
/false
value indicating whether to add the link to show the thesuarus tree, where
the default value is false
.
&StyleTable.targets.searchResults;
.
beforeFieldLabel
.
afterFieldLabel
.
fieldTrailer
.
The special wrapper data entries that are recognized:
RuleSpec
,
FormatBerUtil
,
DisplayUserData
Constructor Summary | |
AddCompoundSubjectPhrase()
|
Method Summary | |
void |
doRule(DataDir dir,
int recordNumber,
RuleSpec ruleSpec,
FormatBerUtil fmtUtil,
DisplayUserData userData)
Appends formatted record data for the input record according to the specifications found in the input RuleSpec object. |
Methods inherited from class ORG.oclc.fmts.rules.RuleUtil |
appendEntityData,
getData,
getData,
getWrapperData,
getWrapperData,
getWrapperDataFromRuleParm,
labelMaker,
saveDataInEntity |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AddCompoundSubjectPhrase()
Method Detail |
public void doRule(DataDir dir, int recordNumber, RuleSpec ruleSpec, FormatBerUtil fmtUtil, DisplayUserData userData)
dir
- the DataDir object containing the data recordrecordNumber
- the record number of the item within the listruleSpec
- the field specification for locating the datafmtUtil
- the FormatBerUtil object containing the current formatted
data buffer and the formatting utilities.userData
- the DisplayUserData object containing the user's
context for formatting the data records.
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |