Aaron Straup Cope

NAME

Apache::XPointer::RDQL::Parser - Apache::XPointer::RDQL specific methods for RDQL::Parser

SYNOPSIS

 use Apache:::XPointer::RDQL::Parser;

 my $query  = "SELECT ...";
 my $parser = Apache::XPointer::RDQL::Parser->new();

 $parser->parse($query);

 foreach my $var ($parser->bind_variables()) {

     my ($prefix, $localname) = $parser->bind_predicate($var);
     my $uri = $parser->lookup_namespaceURI($prefix);
 }

DESCRIPTION

Apache::XPointer::RDQL specific methods for RDQL::Parser.

OBJECT METHODS

This pacakages subclasses RDQL::Parser a defines the following helper methods :

$obj->query_string()

Returns the original RDQL query string.

$obj->bind_variables()

Returns a list.

$obj->bind_predicate($bind_variable)

Returns a list containting a prefix and a localname.

$obj->lookup_namespaceURI($prefix)

Returns a string.

VERSION

1.1

DATE

$Date: 2004/11/16 04:36:26 $

AUTHOR

Aaron Straup Cope <ascope@cpan.org>

SEE ALSO

Apache::XPointer

RDQL::Parser

LICENSE

Copyright (c) 2004 Aaron Straup Cope. All rights reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.