NAME

RDF::Base::Literal::URL

DESCRIPTION

Represents an URL (or URI). This is a wrapper for URI that redirects calls to that class. It's extended as a RDF::Base::Literal::String.

new

  $this->new( $value, $valtype )

parse

  $this->parse( $value, $valtype )

special args:

  with_host

new_from_db

  $this->new_from_db( $value, $valtype )

Assumes that the value from DB is correct

getset

Used by most get/set wrapper methods

Updated the arc

syskey

Returns a unique predictable id representing this object

literal

  $n->literal()

The literal value that this object represents.

loc

  $lit->loc

Just returns the plain string

plain

Make it a plain value. Safer than using ->literal, since it also works for Undef objects.

getset_query

Used by query get/set wrapper methods

Updated the arc

default_valtype

SEE ALSO

RDF::Base::Literal, RDF::Base::Resource, RDF::Base::Arc, RDF::Base::Pred, RDF::Base::Search