Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: ucb ::
interface XContentProvider
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XContentProvider
Description a content provider which creates and manages XContent s. See also XContent See also XContentIdentifier Developers Guide 14.4.2 Universal Content Broker - Using the UCB API - 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 XContentIdentifier s.

Methods' Details
queryContent
XContent queryContent( | [in] XContentIdentifier raises( | Identifier ) 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 [in] XContentIdentifier | Id1, Id2 );
Description compares two XContentIdentifier s. 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

Copyright © 2003 Sun Microsystems, Inc.