The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XML::Atom::Ext::OpenSearch::Query - OpenSearch query element

SYNOPSIS

    my $query = XML::Atom::Ext:OpenSearch::Query->new;
    $query->title( 'foo' );
    $feed->add_Query( $query );

DESCRIPTION

This elements represents query that was or can be performed by the client. It can be used to echo the request, or even provide an example query. Review the specification (http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_Query_element) for more information.

METHODS

role( $role )

title( $title )

totalResults( $total )

searchTerms( $terms )

count( $count )

startIndex( $index )

startPage( $page )

language( $language )

outputEncoding( $encoding )

inputEncoding( $encoding )

element_name( )

Returns 'Query'.

element_ns( )

Returns the opensearch namespace, http://a9.com/-/spec/opensearch/1.1.

AUTHOR

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007-2011 by Brian Cassidy

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

SEE ALSO