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.

fuelIAnnotations

IID:335c9292-91a1-4ca0-ad0b-07d5f63ed6cd
Inherits From:nsISupports

Properties

readonly nsIVariant names

Array of the annotation names associated with the owning item


Methods

nsIVariant get ( AString name ) PRBool has ( AString name ) void remove ( AString name ) void set ( AString name , nsIVariant value , PRInt32 expiration )

nsIVariant get ( AString name )

Gets the value of an annotation with the given name.

Arguments:
name: The name of the annotation

PRBool has ( AString name )

Determines if an annotation exists with the given name.

Arguments:
name: The name of the annotation

void remove ( AString name )

Removes the named annotation from the owner item.

Arguments:
name: The name of annotation.

void set ( AString name , nsIVariant value , PRInt32 expiration )

Sets the value of an annotation with the given name.

Arguments:
name: The name of the annotation
value: The new value of the annotation. Supports string, boolean and number
expiration: The expiration policy for the annotation. See nsIAnnotationService.

References

This interface is the type of the following properties:

fuelIBookmark.annotations, fuelIBookmarkFolder.annotations

Reference documentation is generated from Mozilla's source.