info.sswap.api.model
Interface ModelResolver

All Known Implementing Classes:
ClosureModelResolver

public interface ModelResolver

Resolves a source model/SSWAP protocol graph by extracting definitions for all externally defined types

Author:
Pavel Klinov

Method Summary
 com.hp.hpl.jena.rdf.model.Model resolveProtocolModel(SSWAPProtocol protocol)
          Resolves a graph by performing a more specific resolution than for a generic source model
 com.hp.hpl.jena.rdf.model.Model resolveSourceModel(SourceModel model)
           
 com.hp.hpl.jena.rdf.model.Model resolveTerm(java.net.URI termURI)
          Resolves a specific term
 

Method Detail

resolveSourceModel

com.hp.hpl.jena.rdf.model.Model resolveSourceModel(SourceModel model)
Parameters:
model - Model to be resolved
Returns:
The resolved model which includes the source model

resolveProtocolModel

com.hp.hpl.jena.rdf.model.Model resolveProtocolModel(SSWAPProtocol protocol)
Resolves a graph by performing a more specific resolution than for a generic source model

Parameters:
protocol - Protocol graph to be resolved
Returns:
The resolved graph's model

resolveTerm

com.hp.hpl.jena.rdf.model.Model resolveTerm(java.net.URI termURI)
Resolves a specific term

Parameters:
termURI - Term URI to be resolved
Returns:
The term's definition


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.