(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 XContentIdentifier
Description
An identifier for contents.
See also
XContent

Methods' Summary
getContentIdentifier returns the content identifier string.  
getContentProviderScheme returns the content provider scheme string.  
Methods' Details
getContentIdentifier
string
getContentIdentifier();

Description
returns the content identifier string.
Returns
the content identifier string. This must be a valid URI (Uniform Resource Identifier, see RFC 2396). This string is required. If a content provider 'implements' some existent URI scheme (e.g., a content provider offering access to a file system would implement the 'file' scheme, and a content provider offering access to IMAP servers would implement the 'imap' scheme), the content identifier strings should use that scheme. If on the other hand a content provider offers access to content for which no appropriate URI scheme exists, a vendor-specific URL scheme starting with 'vnd.' must be created (see the Internet Draft draft-king-vnd-urlscheme-00.txt).
getContentProviderScheme
string
getContentProviderScheme();

Description
returns the content provider scheme string.

This string will be calculated from the content identifier string and must be lower-cased(!). It is the 'scheme' the content provider is registered for. In example, a provider for FTP contents will use ftp-URL's as content identifiers. The content provider scheme for all contents provided by that provider will be "ftp".

Returns
the content provider scheme string.
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.