Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Org.eclipse.higgins.idas.cp.rdf"

(New page: {{#eclipseproject:technology.higgins}} right The IdAS RDF Context Provider is a very simple, read-only context provider that can retrieve an RDF...)
 
Line 1: Line 1:
 
{{#eclipseproject:technology.higgins}}
 
{{#eclipseproject:technology.higgins}}
 
[[Image:Higgins_logo_76Wx100H.jpg|right]]
 
[[Image:Higgins_logo_76Wx100H.jpg|right]]
The [[IdAS]] RDF [[Context Provider]] is a very simple, read-only context provider that can retrieve an RDF document from a URI and expose it as a Higgins [[Context]].
+
The RDF CP is a very simple, read-only [[IdAS]] [[Context Provider]] that can retrieve an RDF document from a URI and expose it as a Higgins [[Context]].
  
 
==Details==
 
==Details==

Revision as of 13:08, 19 August 2008

{{#eclipseproject:technology.higgins}}

Higgins logo 76Wx100H.jpg

The RDF CP is a very simple, read-only IdAS Context Provider that can retrieve an RDF document from a URI and expose it as a Higgins Context.

Details

  • Javadoc: Javadoc
  • Status: first code in Higgins B-1-1-M3
  • Language: Java
  • Packaging: OSGI bundle

Plan

  • no plan

Configuration

The RDF CP retrieves a single configuration setting in its ContextId via the Configuration API: "uri"

Example configuration using an XML configuration file: <Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://higgins.eclipse.org/Configuration" xmlns:htf="http://higgins.eclipse.org/Configuration"> xsd:schemaLocation="http://higgins.eclipse.org/Configuration Configuration.xsd ">

<SettingHandlers> <SettingHandler Type="htf:map" Class="java.util.Map" Handler="org.eclipse.higgins.configuration.xml.MapHandler"/> <SettingHandler Type="htf:list" Class="java.util.List" Handler="org.eclipse.higgins.configuration.xml.ListHandler"/> <SettingHandler Type="xsd:string" Class="java.lang.String" Handler="org.eclipse.higgins.configuration.xml.StringHandler"/> <SettingHandler Type="htf:classinstance" Class="java.lang.Object" Handler="org.eclipse.higgins.configuration.xml.ClassInstanceHandler"/> <SettingHandler Type="htf:classsingleton" Class="java.lang.Object" Handler="org.eclipse.higgins.configuration.xml.ClassSingletonHandler"/> <SettingHandler Type="htf:uri" Class="java.net.URI" Handler="org.eclipse.higgins.configuration.xml.URIHandler"/> </SettingHandlers>

<Setting Name="DeploymentConfiguration" Type="htf:map">

<Setting Name="ComponentSettings" Type="htf:map"> <Setting Name="RDFContextFactory" Type="htf:map" /> <Setting Name="IdASRegistry" Type="htf:map"> <Setting Name="ContextFactoryInstancesList" Type="htf:list"> <Setting Name="RDFContextFactory" Type="htf:map"> <Setting Name="Instance" Type="htf:string">RDFContextFactory</Setting> <Setting Name="ContextTypes" Type="htf:list"> <Setting Name="ContextType1" Type="htf:string">$context$mime*application*rdf.xml</Setting> </Setting> </Setting> </Setting>

<Setting Name="ContextIdsList" Type="htf:list"> <Setting Name="ContextId1" Type="htf:map"> <Setting Name="ContextId" Type="xsd:string">rdfTestContext</Setting> <Setting Name="ContextTypes" Type="htf:list"> <Setting Name="HigginsContextType" Type="xsd:string">$context$mime*application*rdf.xml</Setting> </Setting> <Setting Name="uris" Type="htf:list"> <Setting Name="uri1" Type="htf:uri">http://myopenlink.net/dataspace/person/danieljohnlewis</Setting> </Setting> </Setting> </Setting> </Setting> </Setting>

<Setting Name="RDFContextFactory" Type="htf:classinstance">org.eclipse.higgins.idas.cp.rdf.RDFContextFactory</Setting>

<Setting Name="IdASRegistry" Type="htf:classsingleton">org.eclipse.higgins.idas.registry.IdASRegistry</Setting>

</Setting>

</Configuration>


Service

  • The RDF CP does not require authentication materials. It assumes that anyone can retrieve the URI with the RDF data.

See Also

Back to the top