Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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 Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.