Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XContent

Base Interface
com::sun::star::uno::XInterface

Description
specifies a content with a type and an identifier, which is able to manage listeners for events that are related to contents.
See also
XContentIdentifier
See also
XContentEventListener


Known Services which Export this Interface

com::sun::star::ucb::HierarchyRootFolderContent A HCP Root Folder is the root container for all other HCP Folders and HCP Links.
com::sun::star::ucb::WebDAVFolderContent A DCP Folder is a container for other DCP Folders or Documents.
com::sun::star::ucb::HierarchyFolderContent A HCP Folder is a container for other HCP Folders and HCP Links.
com::sun::star::ucb::FileContent A File Content represents either a directory or a file in the local file system.
com::sun::star::ucb::PackageFolderContent A PCP Folder is a container for other PCP Folders and PCP Streams.
com::sun::star::ucb::PackageStreamContent A PCP Stream is a content which represents a file inside a package.
com::sun::star::ucb::WebDAVDocumentContent A DCP Document is a container for Document data/content.
com::sun::star::ucb::HierarchyLinkContent A HCP Link is a content which points to another location.
com::sun::star::ucb::ChaosContent [ DEPRECATED ]
A Chaos Content is a representation of a resource provided by the Chaos Content Provider.
com::sun::star::ucb::Content A Content is a service that provides access to data of a content provided by an implementation of the service ContentProvider .

Methods' Summary

getIdentifier returns the identifier of the content.
getContentType returns a type string, which is unique for that type of content (e.g. "application/vnd.sun.star.hierarchy-folder").
addContentEventListener adds a listener for content events.
removeContentEventListener removes a listener for content events.

Methods' Details

getIdentifier
 
com::sun::star::ucb::XContentIdentifier
getIdentifier();
Description
returns the identifier of the content.
Returns
the identifier.
getContentType
 
string
getContentType();
Description
returns a type string, which is unique for that type of content (e.g. "application/vnd.sun.star.hierarchy-folder").
Returns
the content type string.
addContentEventListener
 
[ oneway ] void
addContentEventListener(
[ in ] com::sun::star::ucb::XContentEventListener Listener );

Description
adds a listener for content events.
Parameter Listener
the listener to add.
See also
ContentEvent
removeContentEventListener
 
[ oneway ] void
removeContentEventListener(
[ in ] com::sun::star::ucb::XContentEventListener Listener );

Description
removes a listener for content events.
Parameter Listener
the listener to remove.
See also
ContentEvent

Top of Page