Class ResLiteral

Description

An RDF literal.

The literal supports the xml:lang and rdf:datatype property. For XML datatypes see: http://www.w3.org/TR/xmlschema-2/

Located in /resModel/ResLiteral.php (line 19)

Object
   |
   --Node
      |
      --Literal
         |
         --ResLiteral
Method Summary
ResLiteral ResLiteral (string $str, [string $language = null])
object model &getAssociatedModel ()
void setAssociatedModel ( &$model, object model $model)
Methods
Constructor ResLiteral (line 36)

Constructor You have to supply a string.

ResLiteral ResLiteral (string $str, [string $language = null])
  • string $str: label of the literal
  • string $language: optional language identifier
getAssociatedModel (line 59)

Get the reference to the assocoated model.

  • access: public
object model &getAssociatedModel ()
setAssociatedModel (line 48)

Sets the reference to the assocoated model.

  • access: public
void setAssociatedModel ( &$model, object model $model)
  • object model $model
  • &$model

Inherited Methods

Inherited From Literal

Literal::Literal()
Literal::equals()
Literal::getDatatype()
Literal::getLabel()
Literal::getLanguage()
Literal::setDatatype()
Literal::setLanguage()
Literal::toString()

Inherited From Object

Object::toString()

Documentation generated on Fri, 1 Jun 2007 16:51:30 +0200 by phpDocumentor 1.3.2