info.sswap.impl.empire.io
Class ClosureModelResolver
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosureModelResolver
public ClosureModelResolver()
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.