NAME

Rit::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 Rit::Base::Literal::String.

new

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

parse

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

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

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