debian man page for sru::response

Query: sru::response

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SRU::Response(3pm)					User Contributed Perl Documentation					SRU::Response(3pm)

NAME
SRU::Response - A factory for creating SRU response objects
SYNOPSIS
my $request = SRU::Request->newFromURI( $uri ); my $response = SRU::Response->newFromRequest( $request );
DESCRIPTION
SRU::Response provides a mechanism for creating the appropriate response object based on a request that is passed in. For example, if you pass in a SRU::Request::Scan object you'll get back a SRU::Response::Scan object with some of the particulars filled in.
METHODS
newFromRequest() The factory method which you must pass in a valid request object: SRU::Request::Explain, SRU::Request::Scan or SRU::Request::SearchRetrieve. If you fail to pass in the correct object you will be returned undef, with an appropriate error stored in $SRU::Error.
INHERITED METHODS
SRU::Resonse also serves as the base class for the three response types, and thus provides some general functionality to the child classes. type() Returns 'searchRetrieve', 'scan' or 'explain' depending on what type of object it is. addDiagnostic() diagnosticsXML() stylesheetXML() perl v5.12.4 2009-11-20 SRU::Response(3pm)
Related Man Pages
sru(3pm) - debian
flickr::api(3pm) - debian
net::z3950::simple2zoom(3pm) - debian
sru::response::record(3pm) - debian
sru::response::searchretrieve(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Introduction
Detecting unused variables...
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?