A representation of a literal node.
Literal nodes can have a type and a language, but not both.
Located in /Node.php (line 264)
LibRDF_Node | --LibRDF_LiteralNode
Create a new Literal node.
Both the $language and $datatype parameters are optional.
The value of the literal node can either be a string or an XML literal in the form of a DOMNodeList object. If using XML, a datatype of http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral is implied, so the datatype parameter cannot be used with XML. A literal cannot have both a language and a datatype.
Return the datattype URI or NULL if this literal has no datatype.
Return the language of this literal or NULL if the literal has no language.
Inherited From LibRDF_Node
LibRDF_Node::getNode()
LibRDF_Node::isEqual()
LibRDF_Node::makeNode()
LibRDF_Node::__clone()
LibRDF_Node::__destruct()
LibRDF_Node::__toString()
Documentation generated on Thu, 15 Jun 2006 19:25:12 -0400 by phpDocumentor 1.3.0