WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIRDFLiteral

IID:E0C493D2-9542-11d2-8EB8-00805F29F370
Inherits From:nsIRDFNode

A literal node in the graph, whose value is a string.

An object of this interface should be created in the following way:

RDFService.GetLiteral(string);

Properties

readonly PRUnichar* Value

The Unicode string value of the literal.


Methods

[noscript] void GetValueConst ( out PRUnichar* constValue )

void GetValueConst ( out PRUnichar* constValue )

An unscriptable version used to avoid a string copy. Meant for use as a performance optimization.

Arguments:
constValue

References

This interface is returned from the following methods:

nsIRDFService.GetLiteral

Reference documentation is generated from Mozilla's source.