NAME

ODO::Jena::Node::Parser - Package of functions used to parse encoded database statements

SYNOPSIS

Synopsis

DESCRIPTION

The functions provided by this package parse statemen strings returned from a database that was created by Jena http://jena.sourceforge.net.

METHODS

parse( $node_string )
__parse_literal_node( $string )

Determines whether or not the given string is a Jena literal value.

Parameters: $string - The string to examine.

Returns: undef if it is not a literal value; an ODO::Jena::Node::Literal otherwise

__parse_literal_reference( $string)

Determines whether or not the given string is a literal reference.

Parameters: $literal - Required. The string to examine.

Returns: undef if the string is not a literal reference

__parse_resource_node( $string )

Determines whether or not the given string is a resource value.

Parameters: $string - The string to examine.

Returns: undef if the given string is not a resource value; an ODO::Jena::Node::Resource otherwise

__parse_resource_reference( $string )

Determines whether or not the given string is a resource reference.

Parameters: $resource - Required. The string to examine.

Returns: undef if the given string is not a resource reference.

__parse_variable_node( $string )

Determines whether or not the given string is a variable node.

Parameters: $string - The string to examine.

Returns: undef if it is not a variable node; an ODO::Jena::Node::Variable otherwise

__parse_blank_node( $string )

Determines whether or not the given string is a blank node.

Parameters: $string - The string to examine.

Returns:

 undef if the given string is not a blank node; an ODO::Jena::Node::Blank otherwise
__parse_blank_reference( $string )

Determines whether or not the given string is a blank node reference.

Parameters: $blankID - Required. The string to examine.

Returns: undef if the given string is not a blank node reference.

AUTHOR

IBM Corporation

SEE ALSO

ODO::Jena, ODO::Node, ODO::Jena::Node

COPYRIGHT

Copyright (c) 2004-2006 IBM Corporation.

All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html