ORG.oclc.webz
Class SSWidgets2Infix
java.lang.Object
|
+--ORG.oclc.webz.SSWidgets2Infix
- public class SSWidgets2Infix
- extends Object
- implements Widgets2Infix
The SSWidgets2Infix class is a utility class for Z39.50 search and scan -
It creates a query string from an input URL and invokes the
Z39.58 query parser to create a query string to pass the Z39.50
search and scan classes.
- See Also:
Z3958Parser
,
UserStateObject
,
ZDb
,
Log
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SSWidgets2Infix
public SSWidgets2Infix()
- Constructs a SSWidgets2Infix object
widgets2infix
public DataPairs widgets2infix(UserStateObject user,
DataPairs widgets,
ZDb db,
boolean scan)
- Creates a DataPairs object containing parsed URL input query data
for a SEARCH or SCAN that is ready for the Z39.58 parser.
It recognizes the widgets named:
termxx
queryxx
limitxx
indexxx
operatorxx
It stores a display query string, the parsed query string,
a display limit query string, the parsed limit string, and
the input of each individual widget component as separate
entries in the DataPairs object which are accessbible thru
methods in ZUserData.
- Specified by:
- widgets2infix in interface Widgets2Infix
- Parameters:
user
- the current UserStateObjectwidgets
- the DataPairs object containing the url parametersdb
- the database object for the queryfScan
- to indicate whether this is a scan request(true) or a
search request(false).- Returns:
- DataPairs