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/



History:

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

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

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 63)

Get the reference to the assocoated model.

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

Sets the reference to the assocoated model.

  • access: public
void setAssociatedModel (object model &$model)
  • object 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, 17 Dec 2004 16:17:54 +0100 by phpDocumentor 1.3.0RC3