fuelIAnnotations

Interface representing a collection of annotations associated
with a bookmark or bookmark folder.

Methods

has(aName)

Determines if an annotation exists with the given name.

Parameters

aName The name of the annotation

Returns

true if an annotation exists with the given name, false otherwise.

get(aName)

Gets the value of an annotation with the given name.

Parameters

aName The name of the annotation

Returns

A variant containing the value of the annotation. Supports string, boolean and number.

set(aName, aValue, aExpiration)

Sets the value of an annotation with the given name.

Parameters

aName The name of the annotation
aValue The new value of the annotation. Supports string, boolean and number
aExpiration The expiration policy for the annotation. See nsIAnnotationService.

remove(aName)

Removes the named annotation from the owner item.

Parameters

aName The name of annotation.

Attributes

names

Array of the annotation names associated with the owning item