info.sswap.api.model
Interface RDG
- All Superinterfaces:
- SSWAPDocument, SSWAPModel, SSWAPProtocol
- All Known Implementing Classes:
- RDGImpl
public interface RDG
- extends SSWAPProtocol
A Resource Description Graph (RDG
) describes a SSWAP semantic
web service. SSWAPProvider
s host one or more of these services,
each described by its own RDG
, each accessible to any one on the
web by dereferencing the URI of the SSWAPResource
.
RDG
s are the core of the SSWAP architecture.
For more on the protocol, see SSWAP
Protocol.
- Author:
- Blazej Bulka , Damian Gessler
- See Also:
PDG
,
RIG
,
RRG
,
RQG
,
SSWAPProvider
,
SSWAPResource
Method Summary |
RIG |
getRIG()
Gets the RIG that can be used to invoke the service described in this RDG (after setting the values for
the properties). |
RIG |
getRIG(java.io.InputStream is)
Creates a RIG object based on the serialized RIG (e.g., sent by a client of a service). |
Methods inherited from interface info.sswap.api.model.SSWAPDocument |
createAnonymousDatatype, createAnonymousType, createIndividual, createIndividual, createIntersectionOf, createList, createLiteral, createTypedLiteral, createUnionOf, getDatatype, getPredicate, getType, newIndividual, newIndividual |
Methods inherited from interface info.sswap.api.model.SSWAPModel |
addImport, checkProfile, dereference, dereference, doClosure, getDocument, getImports, getInputStream, getNsPrefixMap, getReasoningService, getTypeSignature, getURI, isDereferenced, removeImport, removeNsPrefix, serialize, serialize, setNsPrefix, validate |
getRIG
RIG getRIG()
throws DataAccessException
- Gets the RIG that can be used to invoke the service described in this RDG (after setting the values for
the properties).
- Returns:
- the RIG created based on this RDG
- Throws:
DataAccessException
- if an error should occur while accessing the data in the RDG to create the RIG
getRIG
RIG getRIG(java.io.InputStream is)
throws ValidationException,
DataAccessException
- Creates a RIG object based on the serialized RIG (e.g., sent by a client of a service). The RIG
should be an invocation of the service described in this RDG, and this method validates that this
is the case.
- Parameters:
is
- the input stream to read the RIG
- Returns:
- the created RIG
- Throws:
ValidationException
- if the submitted data is not a valid RIG for this service.
DataAccessException
- if an error should occur while reading the data (either an I/O error or problem parsing the data)
Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.