interface XContentProvider in module com::sun::star::ucb::

(Global Index)

Syntax

interface XContentProvider : com::sun::star::uno::XInterface ;

Description

a content provider which creates and manages XContent s.

See also

XContent

See also

XContentIdentifier

Method Summary

queryContent creates a new XContent instance, if the given matches a content provided by the implementation of this interface.

compareContentIds compares two XContentIdentifier s.

Known Services Which Export this Interface

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

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

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

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

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

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

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

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

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

Method Details



queryContent

Syntax

com::sun::star::ucb::XContent queryContent (
com::sun::star::ucb::XContentIdentifier Identifier )
raises ( com::sun::star::ucb::IllegalIdentifierException );

Description

creates a new XContent instance, if the given 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

Syntax

long compareContentIds (
com::sun::star::ucb::XContentIdentifier Id1,
com::sun::star::ucb::XContentIdentifier 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