SRU::Response::Diagnostic - An SRU diagnostic message


SRU documentation  | view source Contained in the SRU distribution.

Index


NAME

Top

SRU::Response::Diagnostic - An SRU diagnostic message

SYNOPSIS

Top

    my $d = SRU::Response::Diagnostic->new(
        uri     => '',
        details => ''
        message => '' 
    );
    print $d->asXML();

DESCRIPTION

Top

You probably won't need to use this class since it used interally to store diagnostic messages.

METHOD

Top

new()

Pass in uri, details and message attributes as needed. You'll probably find using newFromCode() easier to work with.

newFromCode()

Create a SRU::Response::Diagnostic object from a code. For a complete list of the codes see the SRW/SRU documentation.

details()

message()

asXML()


SRU documentation  | view source Contained in the SRU distribution.