org.weblab_project.core.helper.impl
Class JenaSingleResourceHelper

java.lang.Object
  extended by org.weblab_project.core.helper.impl.JenaResourceHelper
      extended by org.weblab_project.core.helper.impl.JenaSingleResourceHelper
All Implemented Interfaces:
org.weblab_project.core.helper.ResourceHelper

public class JenaSingleResourceHelper
extends JenaResourceHelper

This is the simplest implementation of the ResourceHelperExtended. It only loads every Annotations that are on this object. No crawling of the Resource. If the loaded Resource is an Annotation, its content won't be loaded.

Author:
EADS WebLab Team
To do:
Prevent the direct instantiation of this class.
Date:
2008-11-25

Field Summary
 
Fields inherited from class org.weblab_project.core.helper.impl.JenaResourceHelper
bejh, resource, resourcesMap
 
Constructor Summary
JenaSingleResourceHelper()
           
 
Method Summary
protected  void addResource(org.weblab_project.core.model.Resource res)
          Method recursively called to add every resources in the model and in the map.
 
Methods inherited from class org.weblab_project.core.helper.impl.JenaResourceHelper
addCell, addComposedQuery, addComposedUnit, addLine, addMediaUnit, addPieceOfKnowledge, addResourceCollection, addResultSet, addSimilarityQuery, addTable, getLitsOnPredSubj, getLitsOnPredSubj, getPreds, getPredsOnSubj, getRdfXml, getResource, getResource, getRessOnPredSubj, getSpecificResource, getSubjs, getSubjsOnPred, getSubjsOnPredLit, getSubjsOnPredRes, getType, hasLitStat, hasResStat, isDefinedResource, isFullyDefinedResource, loadFromRdfXml, loadFromRdfXml, setResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenaSingleResourceHelper

public JenaSingleResourceHelper()
Method Detail

addResource

protected void addResource(org.weblab_project.core.model.Resource res)
Description copied from class: JenaResourceHelper
Method recursively called to add every resources in the model and in the map.

Overrides:
addResource in class JenaResourceHelper
Parameters:
res - The resource to add.


Copyright © 2004-2009. All Rights Reserved.