GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SRU::RESPONSE (3)

.ds Aq ’

NAME

SRU::Response - A factory for creating SRU response objects

CONTENTS

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()

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Ed Summers.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SRU::RESPONSE (3) 2013-10-18

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.