(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 ::

service HierarchyContentProvider
Description
The Hierarchy Content Provider (HCP) implements a ContentProvider for the UniversalContentBroker (UCB).

It provides access to a persistent, customizable hierarchy of contents (folders and links).

See also
Content

Exported Interfaces - Summary
XContentProvider

provides three types of contents: Link, Folder and Root Folder. (details)

Exported Interfaces - Details
XContentProvider
Description
provides three types of contents: Link, Folder and Root Folder.

HCP Contents

  1. A HCP Link (HierarchyLinkContent) is a content which points to another (UCB) content. It is always contained in HCP Folder. A HCP Link has no children.
  2. A HCP Folder (HierarchyFolderContent) is a container for other HCP Folders and HCP Links.
  3. There is at most one instance of a HCP Root Folder ( HierarchyRootFolderContent ) at a time. All other HCP contents are children of this folder. The HCP Root Folder can contain HCP Folders and HCP Links. It has the URL "vnd.sun.star.hier:/".

URL Scheme for HCP Contents

Each HCP content has an identifier corresponding to the following scheme:

  • vnd.sun.star.hier:/<path>, where <path> is a hierarchical path of the form <name>/.../<name> and where <name> is a string encoded according to the URL conventions.

Examples:

  • vnd.sun.star.hier:/ (The URL of the HCP Root Folder)
  • vnd.sun.star.hier:/Bookmarks/Sun%20Microsystems%20Home%20Page
  • vnd.sun.star.hier:/Workplace/Printers


 
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.