Module for a sru service for refdb
use RefDB::SRU; my $sru_query = new RefDB::SRU(\%params); print $sru_query->result();
Implements the backend code of a \s-1SRU\s0 service to query RefDB databases. Your own code must provide the networking interface which invokes the code in this module
Send bug reports, questions, and comments to the refdb-users mailing list at:
For list information and archives, please visit:
http://lists.sourceforge.net/lists/listinfo/refdb-users
Markus Hoenicka, [email protected]
This module is part of the RefDB package, a reference manager and bibliography tool for markup languages. Please visit http://refdb.sourceforge.net for further information.
Title : new
Usage : $diag = Diagnostics::new($number, $detail)
Function: creates a new Diagnostics object
Parameter: $number: the \s-1SRU\s0 diagnostic number
Parameter: $detail: the \s-1SRU\s0 diagnostic detail
Title : diag_uri
Usage : $uri = $diag->diag_uri()
Function: returns the \s-1URI\s0 associated with the diagnostic
Title : diag_detail
Usage : $detail = $diag->diag_detail()
Function: returns the detail associated with the diagnostic
Title : diag_message
Usage : $message = $diag->diag_message()
Function: returns the message associated with the diagnostic
Title : visit
Usage : called by \s-1CQL\s0 parser at each node
Function: processes each node
Title : boolean
Usage : called by visit
Function: translates boolean notes into the RefDB syntax
Title : term
Usage : called by visit()
Function: translates qualifier and terms into RefDB syntax
Title : _translage_regex
Usage : _translate_regex($string)
Function: translates regular expressions from the \s-1CQL\s0 syntax to the database engine syntax
Title : _maybeQuote
Usage : _maybeQuote($string)
Function: quotes particular characters
Title : new
Usage : $my_query->new(\%params);
Function: creates and initializes a new query object
Arguments: reference to a hash containing the query parameter-value pairs
Returns : new object
Title : print_vars
Usage : $my_query->print_vars;
Function: displays the parameter/value pairs for debugging purposes
Title : run
Usage : $my_query->run;
Function: analyzes the parameter values and runs an appropriate operation
Title : response
Usage : $query->response()
Function: accessor for the query response string