Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIRDFContainerUtils Interface Reference

import "nsIRDFContainerUtils.idl";

Inheritance diagram for nsIRDFContainerUtils:
Inheritance graph
[legend]
Collaboration diagram for nsIRDFContainerUtils:
Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean IsOrdinalProperty (in nsIRDFResource aProperty)
 Returns 'true' if the property is an RDF ordinal property.
nsIRDFResource IndexToOrdinalResource (in long aIndex)
 Convert the specified index to an ordinal property.
long OrdinalResourceToIndex (in nsIRDFResource aOrdinal)
 Convert the specified ordinal property into an index.
boolean IsContainer (in nsIRDFDataSource aDataSource, in nsIRDFResource aResource)
 Return 'true' if the specified resource is a container.
boolean IsEmpty (in nsIRDFDataSource aDataSource, in nsIRDFResource aResource)
 Return 'true' if the specified resource is a container and it is empty.
boolean IsBag (in nsIRDFDataSource aDataSource, in nsIRDFResource aResource)
 Return 'true' if the specified resource is a bag.
boolean IsSeq (in nsIRDFDataSource aDataSource, in nsIRDFResource aResource)
 Return 'true' if the specified resource is a sequence.
boolean IsAlt (in nsIRDFDataSource aDataSource, in nsIRDFResource aResource)
 Return 'true' if the specified resource is an alternation.
nsIRDFContainer MakeBag (in nsIRDFDataSource aDataSource, in nsIRDFResource aResource)
 Decorates the specified resource appropriately to make it usable as an empty bag in the specified data source.
nsIRDFContainer MakeSeq (in nsIRDFDataSource aDataSource, in nsIRDFResource aResource)
 Decorates the specified resource appropriately to make it usable as an empty sequence in the specified data source.
nsIRDFContainer MakeAlt (in nsIRDFDataSource aDataSource, in nsIRDFResource aResource)
 Decorates the specified resource appropriately to make it usable as an empty alternation in the specified data source.
long indexOf (in nsIRDFDataSource aDataSource, in nsIRDFResource aContainer, in nsIRDFNode aElement)
 Retrieve the index of element in the container.

Detailed Description

Definition at line 45 of file nsIRDFContainerUtils.idl.


Member Function Documentation

long nsIRDFContainerUtils::indexOf ( in nsIRDFDataSource  aDataSource,
in nsIRDFResource  aContainer,
in nsIRDFNode  aElement 
)

Retrieve the index of element in the container.

Returns -1 if the element is not in the container.

Convert the specified index to an ordinal property.

Here is the caller graph for this function:

Return 'true' if the specified resource is an alternation.

Here is the caller graph for this function:

Return 'true' if the specified resource is a bag.

Here is the caller graph for this function:

Return 'true' if the specified resource is a container.

Here is the caller graph for this function:

Return 'true' if the specified resource is a container and it is empty.

Here is the caller graph for this function:

Returns 'true' if the property is an RDF ordinal property.

Here is the caller graph for this function:

Return 'true' if the specified resource is a sequence.

Here is the caller graph for this function:

Decorates the specified resource appropriately to make it usable as an empty alternation in the specified data source.

Here is the caller graph for this function:

Decorates the specified resource appropriately to make it usable as an empty bag in the specified data source.

Here is the caller graph for this function:

Decorates the specified resource appropriately to make it usable as an empty sequence in the specified data source.

Here is the caller graph for this function:

Convert the specified ordinal property into an index.


The documentation for this interface was generated from the following file: