Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: ucb ::
interface XContent
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XContent
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 Developers Guide 14.2 Universal Content Broker - Services and Interfaces

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
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] XContentEventListener | Listener );
Description adds a listener for content events. Parameter Listener the listener to add. See also ContentEvent
removeContentEventListener
[oneway] void removeContentEventListener( | [in] XContentEventListener | Listener );
Description removes a listener for content events. Parameter Listener the listener to remove. See also ContentEvent

Top of Page

Copyright © 2003 Sun Microsystems, Inc.