NAME

Rit::Base::String

DESCRIPTION

Represents a String Rit::Base::Literal.

Constructors

These can be called with the class name or any List object.

new

new_if_length

Accessors

desig

  $n->desig()

The designation of the literal

sysdesig

  $n->sysdesig()

The designation of an object, to be used for node administration or debugging. This version of desig indludes the node id.

syskey

Returns a unique predictable id representing this object

literal

  $n->literal()

The literal value that this object represents. This asumes that the object is a value node or a list of value nodes.

cmp_string

cmp_numeric

loc

  $lit->loc
  $lit->loc(@args)

Return the value, since only one exists.

Uses the args in Para::Frame::L10N/compile.

value

aka literal

plain

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

clean

Returns the clean version of the value as a Literal obj

begins

  $string->begins( $substr )

Returns true if the string begins with $substr.

SEE ALSO

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