sbILibraryFactory Interface Reference

Factory for new library instances. More...

import"sbILibraryFactory.idl";

Inheritance diagram for sbILibraryFactory:
[legend]
Collaboration diagram for sbILibraryFactory:
[legend]

Public Member Functions

sbILibrary createLibrary (in nsIPropertyBag2 aCreationParameters)
 Create a new instance of a library. More...
 

Public Attributes

readonly attribute AString type
 A human-readable string identifying the type of library that will be created by this factory. More...
 
readonly attribute ACString contractID
 The contract ID through which an instance of this factory can be created. More...
 

Detailed Description

Factory for new library instances.

This interface is used to create new instances of a library.

See Also
sbILibrary

Definition at line 47 of file sbILibraryFactory.idl.

Member Function Documentation

sbILibrary sbILibraryFactory::createLibrary ( in nsIPropertyBag2  aCreationParameters)

Create a new instance of a library.

Parameters
aCreationParameters- A collection of properties that will be used to create the library. The accepted parameters vary for each library implementation.
  • For the localdatabase implementation, a databaseFile parameter containing a nsILocalFile to store the database in is required.
Returns
A new library instance.

Member Data Documentation

readonly attribute ACString sbILibraryFactory::contractID

The contract ID through which an instance of this factory can be created.

Definition at line 59 of file sbILibraryFactory.idl.

readonly attribute AString sbILibraryFactory::type

A human-readable string identifying the type of library that will be created by this factory.

Definition at line 53 of file sbILibraryFactory.idl.


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