:: com :: sun :: star :: ucb ::

interface XContentProvider
Description
a content provider which creates and manages XContents.
See also
XContent, XContentIdentifier
Developers Guide
UCB - Accessing a UCB Content

Methods' Summary
queryContent creates a new XContent instance, if the given XContentIdentifier matches a content provided by the implementation of this interface.  
compareContentIds compares two XContentIdentifiers.  
Methods' Details
queryContent
XContent
queryContent( [in] XContentIdentifier  Identifier )
raises( IllegalIdentifierException );

Description
creates a new XContent instance, if the given XContentIdentifier matches a content provided by the implementation of this interface.
Parameter Identifier
an identifier for the content to query.
Returns
the content.
Throws
IllegalIdentifierException if the given identifier does not match a content provided by the implementation of this interface
compareContentIds
long
compareContentIds( [in] XContentIdentifier  Id1,
[in] XContentIdentifier  Id2 );

Description
compares two XContentIdentifiers.
Parameter Id1
first content identifier.
Parameter Id2
second content identifier.
Returns
0 is returned, if the identifiers are equal. A value less than 0 indiactes, that the Id1 is less than Id2. A value greater than 0 is returned, if Id1 is greater than Id2.
Top of Page