Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.