NAME

ODO::Jena::Node - Jena node definitions

SYNOPSIS

use ODO::Jena::Node;

DESCRIPTION

Description.

COMMON METHODS

reference( )
reference( $boolean )

Manipulates whether or not this object is a reference in to the LONG_* tables

Parameters: $boolean - Optional. If set, the reference will be set to the given parameter.

Returns: Whether or not this object is a reference.

is_reference( )
is_value( )
jena_node( $node )

NODE TYPES

ODO::Jena::Node::Literal

serialize( )
Literal node encoding:
 Short: Lv:[length(language)]:[length(datatype)]:[language][datatype]value[:]
 Long: Lr:long_id

Literal node encoding for long literals:
 Lv:[length(language)]:[length(datatype)]:[language][datatype]head[:] hash tail

ODO::Jena::Node::Resource

serialize( )
URI node encoding:
 Short: Uv:[prefix_id]:value[:]
 Long: Ur:[prefix_id]:long_id

URI node encoding for long URIs:
 Uv:head[:] hash tail

ODO::Jena::Node::Blank

serialize( )
Blank node encoding:
 Short: Bv:[prefix_id]:value[:]
 Long: Br:[prefix_id]:long_id

Blank node encoding for long bnodes:
 Bv:head[:] hash tail

ODO::Jena::Node::Variable

serialize( )

Variable node encoding: 'Vv:name'

ODO::Jena::Node::Any

serialize( )

Any node encoding: 'Av:'

AUTHOR

IBM Corporation

SEE ALSO

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

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