RDF::Base::Literal::String
Represents a String RDF::Base::Literal.
These can be called with the class name or any List object.
Values from valbin those valtype is NOT a subclass of text_large, will not be treated as text and thus not converted from UTF8 encoding.
$class->parse( \$value, \%args )
For parsing any type of input. Expecially as given by html forms.
Parsing an existing literal object may MODIFY it''s content and valtype
Supported args are: valtype coltype arclim
Will use RDF::Base::Resource/get_by_anything for lists and queries.
The valtype may be given for cases there the class handles several valtypes.
$n->desig()
The designation of the literal, meant for human admins
Returns a unique predictable id representing this object
$n->literal()
The literal value that this object represents.
$lit->loc $lit->loc(@args)
Uses the args in Para::Frame::L10N/compile.
Returns: the value as a plain string
aka literal
Make it a plain value. Safer than using ->literal, since it also works for Undef objects.
Returns the clean version of the value as a Literal obj
Returns the clean version of the value as a plain string
$string->begins( $substr )
Returns true if the string begins with $substr.
$class->wuirc( $subj, $pred, \%args )
Display field for updating a string property of a node
Supported args are:
proplim arclim default_create unique_arcs_prio range (valtype) range_scof rows cols size inputtype maxlength newsubj maxw maxh label tdlabel separator id label_class disabled image_url class default_value vnode multi
document newsubj!
the query param "arc___pred_$pred__subj_$nid" can be used for default new value
the query param "arc___pred_$pred" can be used for default new value
Display field for updating a string property of a node
var node must be defined
the query param "arc___pred_$pred__subj_$nid" can be used for default new value
the query param "arc___pred_$pred" can be used for default new value
RDF::Base::Literal, RDF::Base::Resource, RDF::Base::Arc, RDF::Base::Pred, RDF::Base::Search