Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sru::request(3pm) [debian man page]

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

NAME
SRU::Request - Factories for creating SRU request objects. SYNOPSIS
use SRU::Request; my $request = SRU::Request->newFromURI( $uri ); DESCRIPTION
SRU::Request allows you to create the appropriate SRU request object from a URI object. This allows you to pass in a URI and get back one of SRU::Request::Explain, SRU::Request::Scan or SRU::Request::SearchRetrieve depending on the type of URI that is passed in. See the docs for those classes for more information about what they contain. METHODS
newFromURI() newFromURI() is a factory method which you pass a complete SRU url. newFromURI() will return an appropriate object for the type of request being conducted: o SRU::Request::Explain o SRU::Request::Scan o SRU::Request::SearchRetrieve If the request is not formatted properly the call will return undef. The error encountered should be available in $SRU::Error. newFromCGI() A factory method for creating a request object from a CGI object. my $cgi = CGI->new(); my $request = SRU::Request->newFromCGI( $cgi ); asXML() Used to generate <echoedExplainRequest>, <echoedSearchRetrieveRequest> and <echoedScanRequest> elements in the response. type() Returns 'searchRetrieve', 'scan' or 'explain' depending on what type of object it is. perl v5.12.4 2009-11-20 SRU::Request(3pm)

Check Out this Related Man Page

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

NAME
SRU::Response::Record - A class for representing a result record in a searchRetrieve response. SYNOPSIS
my $record = SRU::Response::Record->new(); $record->recordData( '<title>Huck Finn</title>' ); $response->addRecord( $record ); DESCRIPTION
SRU::Response::Record is used to bundle up the information about a particular metadata record in a SRU::Response::SearchRetrieve object. Typically you'll construct a record object and add it to the SearchRetrieve response. METHODS
new() You must supply the recordSchema and recordData parameters. recordPacking, recordPosition, and extraRecordData may also be supplied. my $record = SRU::Response::Record->new( recordSchema => 'info:srw/schema/1/dc-v1.1', recordData => '<title>Huckleberry Finn</title>' ); recordSchema() The URI identifier of the XML schema in which the record is encoded. Although the request may use the server's assigned short name, the response must always be the full URI. recordData() The record itself, either as a string or embedded XML. If would like to pass an object in here you may do so as long as it imlements the asXML() method. recordPacking() The packing used in recordData, as requested by the client or the default: "XML". recordPosition() The position of the record within the result set. If you don't pass this in recordPosition will be automaticlly calculated for you when add or retrieve a record from a SRU::Response::SearchRetrieve object. extraRecordData() Any extra data associated with the record. See the section on extensions for more information. asXML() perl v5.12.4 2009-11-20 SRU::Response::Record(3pm)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the output of the command....

Explain the output of the command “sort -rfn file1 | more” (1 Reply)
Discussion started by: wickbc
1 Replies

2. Shell Programming and Scripting

What Is A Codec? Anyone

Can Anyone Explain. (2 Replies)
Discussion started by: kprescod4158
2 Replies

3. Post Here to Contact Site Administrators and Moderators

Request

Hi; I'd like to change my user name. How can i do that? (1 Reply)
Discussion started by: moe2266
1 Replies

4. Shell Programming and Scripting

awk, sed, grep...weird style

my desired output is like this: so the thing is, I only need to show every of this part out but the frequency of that data is not fixed, so sometimes it may have 4 lines, or 6 lines or whatever in that file. However, the last line will always have empty space/line below it. (13 Replies)
Discussion started by: finalight
13 Replies

5. Shell Programming and Scripting

ls help..

Explain the output of ls -l?/ (1 Reply)
Discussion started by: anupdas
1 Replies

6. Shell Programming and Scripting

Explain following sed syntax please

Thanks to this forum I have managed to work out a solution to my problem and actually understand most of it, but one thing is confusing me and I am sure someone here can explain. I need to insert a piece of txt into a file. This txt is awk '{ sub(/$/,"\r"); print }' $JCL_WBB50103_EFTOUT >... (2 Replies)
Discussion started by: hukcjv
2 Replies

7. UNIX for Dummies Questions & Answers

How can i change the ip address in RHEL 6?

I need to change the ip address in RHEL 6 . Please tell me the files to be edited....complete procedure.......... Don't tell the graphical method ........ Explain everything in CLI ........... Thanks in Advance:b: (3 Replies)
Discussion started by: vamshigvk475
3 Replies

8. UNIX for Advanced & Expert Users

Tanmoy

Below is the line GMDCOM.27936 : Process Request <36812974> i want to display : Process Request <36812974> in a new file using shell script. Please help me. Its very urgent. (1 Reply)
Discussion started by: ghosh_tanmoy
1 Replies

9. Forum Support Area for Unregistered Users & Account Problems

Request to enable my login id

Hello Myself Ravi, ex-member of your forum. I would request if my ID can be enabled which got disabled a few months back. That time our mood may be that that you had taken the step but I think it shouldn't be hard for you to accept my request to enable it again. My email is mentioned in my... (1 Reply)
Discussion started by: Unregistered
1 Replies

10. Solaris

Solaris 11.2 upgrade question

Currently we are having solaris 11.1 SRU 11.1.21.4.1 installed on server. We need to upgrade it to solaris 11.2 SRU 11.2.9.5.0 Is it possible to upgrade to SRU 11.2.9.50 directly by downloading repo files or do I need to upgrade to 11.2 first and then upgrade to SRU 11.2.9.5.0? (1 Reply)
Discussion started by: sureshsun
1 Replies

11. Solaris

Unable to fully log into non-global-zones after a SRU

tldr; after SRU patches applied on newly created boot environment, reboot with ability to log into global zone but unable to "fully" log into non-global-zones. Without going into much detail here's what we did; 1) Activated new boot environment with latest SRU patches from Oracle 2)... (1 Reply)
Discussion started by: samthewildone
1 Replies

12. Solaris

Solaris 11 SRU latest version

Hi During a host review session I was told to check if the engineers have been updating Solaris 11 OS regularly by verifying the SRU version of the system. However i was having no luck in finding the latest SRU version number in oracle website for hours. I wonder did anyone here know where i... (4 Replies)
Discussion started by: kaze
4 Replies