RDFLiteral

This object holds a literal resource in a datasource. A literal is a string which contains no child resources.

Properties and Methods:

getInProperties ( )

Returns an RDFEnumerator of all of the properties that point into the literal. This means the properties that have this node as its value.

getSource ( prop )

Returns the source of the literal via the given property. If more than one exists, the first one is returned.

getSources ( prop )

Returns an enumeration of all sources pointing to the literal via the given property.

inPropertyExists ( prop )

Returns true if there is a property that points into the literal.

modifySource ( prop , oldsource , newsource )

Change an assertion that points to the literal from oldsource to newsource. This is like changing the parent of a resource.


Copyright (C) 1999 - 2003 XulPlanet.com