|
|
The Hierarchy Content ProviderPrefaceThe Hierarchy Content Provider ( HCP ) implements a Content Provider for the Universal Content Broker (UCB). It provides access to a persistent, customizable hierarchy of contents. HCP ContentsThe HCP provides three different types of contents: Link, Folder and Root Folder.
Creation Of New HCP ContentsHCP Folders and the HCP Root Folder implement the interface XContentCreator. HCP Links and HCP Folders support the command insert. Thats why all HCP Folders and the HCP Root Folder as well can create new HCP Folders and HCP Links. To create a new child of a HCP Folder:
URL Scheme for HCP ContentsEach 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>/.../<name> 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%20Microssystems%20Home%20Page vnd.sun.star.hier:/Workplace/Printers
AppendixThe following table gives an overview of the different HCP contents.
*) The transfer command only transfers HCP-contents to HCP folders. It does not handle contents with a URL scheme other then the HCP-URL-scheme. |



