info.sswap.impl.empire.io
Class ClosureModelResolver

java.lang.Object
  extended by info.sswap.impl.empire.io.ClosureModelResolver
All Implemented Interfaces:
ModelResolver

public class ClosureModelResolver
extends java.lang.Object
implements ModelResolver

Invokes the closure builder for model resolution

Author:
Pavel Klinov

Constructor Summary
ClosureModelResolver()
           
 
Method Summary
private  ClosureBuilder getClosureBuilder(SourceModelImpl model)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosureModelResolver

public ClosureModelResolver()
Method Detail

getClosureBuilder

private ClosureBuilder getClosureBuilder(SourceModelImpl model)

resolveSourceModel

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

resolveProtocolModel

public com.hp.hpl.jena.rdf.model.Model resolveProtocolModel(SSWAPProtocol protocol)
Description copied from interface: ModelResolver
Resolves a graph by performing a more specific resolution than for a generic source model

Specified by:
resolveProtocolModel in interface ModelResolver
Parameters:
protocol - Protocol graph to be resolved
Returns:
The resolved graph's model

resolveTerm

public com.hp.hpl.jena.rdf.model.Model resolveTerm(java.net.URI termURI)
Description copied from interface: ModelResolver
Resolves a specific term

Specified by:
resolveTerm in interface ModelResolver
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.