|
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.AddFullTextButton
The AddFullTextButton class is a record formatting rule that creates a FETCH hot-link to display Full-Text for a record when the data in the input field matches the data specified as the the matching criteria. The HTML or Text specifications defined in the DisplayUserData object are used to delimit data found in the input record to create the formatted text.
The parameters this rule recognizes are:
STARTSWITH
indicates that the field data should start with
the matchingString ENDSWITH
indicates that the field data should end with
the matchingStringEQUALS
indicates that the field data should equal the
matchingString. The default setting NOTEQUALS
indicates that the field data should NOT equal the
matchingStringHAS
indicates that the field should contain anywhere,
the matching string
BEFORE
indicates that the data from the field
gets stored in the format buffer first, then the anchor if matches.AFTER
indicates that the anchor is created, then the
data from the field gets stored in the format buffer.NO
indicates that only the anchor is created if
it matches the criteria.
beforeFieldLabel
.
fieldTrailer
.
afterFTAnchor
.
RuleSpec
,
FormatBerUtil
,
DisplayUserData
Constructor Summary | |
AddFullTextButton()
|
Method Summary | |
void |
doRule(DataDir dir,
int recordNumber,
RuleSpec ruleSpec,
FormatBerUtil fmtUtil,
DisplayUserData userData)
Creates a FETCH hot-link to display Full-Text for the input record based on the fields specified in the RuleSpec object and the matching criteria specified in the rules parameters. |
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 AddFullTextButton()
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 |