|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.larkc.core.pluginManager.remote.GAT.ResourceDescription
public class ResourceDescription
This class provides functions for extracting information out of a workflow
description and creating GatResourceDescription
for the
GatPluginManager.
Field Summary | |
---|---|
static org.openrdf.model.URI |
NAMESPACE_URI
This URI represents a mapping between an abbreviation and the corresponding namespace. |
Constructor Summary | |
---|---|
ResourceDescription()
|
Method Summary | |
---|---|
static SetOfStatements |
getDescriptionParametersForResource(SetOfStatements resourceDescription,
java.lang.String resourceID)
This method extracts all statements out of a resource description that are relevant for a specific resource. |
static GatResourceDescription |
getGatResourceDescriptionFromProperties(SetOfStatements resourceProperties)
Creates a GatResourceDescription out of a SetOfStaments
describing the resource |
static JeeResourceDescription |
getJeeResourceDescriptionFromProperties(SetOfStatements resourceProperties)
Creates a GatResourceDescription out of a SetOfStaments
describing the resource |
static SetOfStatements |
getResourceDescriptionFromRdfFile(java.lang.String resourceID)
This method extracts the resource description out of an .rdf file. |
static org.openrdf.model.Statement |
getResourceTypeForResource(SetOfStatements resourceDescription,
java.lang.String resourceID)
Returns a statement containing the remote resource type (e.g. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.openrdf.model.URI NAMESPACE_URI
Constructor Detail |
---|
public ResourceDescription()
Method Detail |
---|
public static SetOfStatements getDescriptionParametersForResource(SetOfStatements resourceDescription, java.lang.String resourceID) throws MultiplePluginParametersException
resourceDescription
- the SetOfStatements containing resource descriptionresourceID
- the id of the resource the information is to be extracted for
MultiplePluginParametersException
public static org.openrdf.model.Statement getResourceTypeForResource(SetOfStatements resourceDescription, java.lang.String resourceID) throws MultiplePluginParametersException
resourceDescription
- the SetOfStatements containing resource descriptionresourceID
- the id of the resource the information is to be extracted for
MultiplePluginParametersException
public static SetOfStatements getResourceDescriptionFromRdfFile(java.lang.String resourceID) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, java.io.IOException
resourceID
- identification of the resource, used to extract the
information from the file "identificator.rdf"
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
java.io.IOException
public static GatResourceDescription getGatResourceDescriptionFromProperties(SetOfStatements resourceProperties)
GatResourceDescription
out of a SetOfStaments
describing the resource
resourceProperties
- the SetOfStatements containing resource properties
public static JeeResourceDescription getJeeResourceDescriptionFromProperties(SetOfStatements resourceProperties)
GatResourceDescription
out of a SetOfStaments
describing the resource
resourceProperties
- the SetOfStatements containing resource properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |