(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.