Uses of Interface
org.apache.stanbol.enhancer.servicesapi.ContentItem

Packages that use ContentItem
org.apache.stanbol.enhancer.servicesapi Stanbol Enhancer services API 
org.apache.stanbol.enhancer.servicesapi.helper   
 

Uses of ContentItem in org.apache.stanbol.enhancer.servicesapi
 

Methods in org.apache.stanbol.enhancer.servicesapi with parameters of type ContentItem
 int EnhancementEngine.canEnhance(ContentItem ci)
          Indicate if this engine can enhance supplied ContentItem, and if it suggests enhancing it synchronously or asynchronously.
 void EnhancementEngine.computeEnhancements(ContentItem ci)
          Compute enhancements for supplied ContentItem.
 void EnhancementJobManager.enhanceContent(ContentItem ci)
          Enhances the parsed contentItem by using the default enhancement Chain.
 void EnhancementJobManager.enhanceContent(ContentItem ci, Chain chain)
          Processes the parsed ContentItem by using the execution plan provided by the Chain.
 

Constructors in org.apache.stanbol.enhancer.servicesapi with parameters of type ContentItem
EngineException(EnhancementEngine ee, ContentItem ci, java.lang.String message, java.lang.Throwable cause)
           
EngineException(EnhancementEngine ee, ContentItem ci, java.lang.Throwable cause)
           
InvalidContentException(EnhancementEngine ee, ContentItem ci, java.lang.Throwable cause)
           
 

Uses of ContentItem in org.apache.stanbol.enhancer.servicesapi.helper
 

Classes in org.apache.stanbol.enhancer.servicesapi.helper that implement ContentItem
 class ContentItemImpl
          A generic ContentItem implementation that takes the uri, main content part and the graph used to store the metadata as parameter.
 class InMemoryContentItem
          ContentItem implementation that holds a complete copy of the data in memory.
 class WebContentItem
          A ContentItem retrieving its content and MediaType by dereferencing a given URI.
 

Methods in org.apache.stanbol.enhancer.servicesapi.helper with parameters of type ContentItem
static org.apache.clerezza.rdf.core.UriRef EnhancementEngineHelper.createEntityEnhancement(ContentItem ci, EnhancementEngine engine)
          Create a new instance with the types enhancer:Enhancement and enhancer:EntityAnnotation in the metadata-graph of the content item along with default properties (dc:creator and dc:created) and return the UriRef of the extraction so that engines can further add
static org.apache.clerezza.rdf.core.UriRef EnhancementEngineHelper.createNewExtraction(ContentItem ci, EnhancementEngine engine)
          Deprecated.  
static org.apache.clerezza.rdf.core.UriRef EnhancementEngineHelper.createTextEnhancement(ContentItem ci, EnhancementEngine engine)
          Create a new instance with the types enhancer:Enhancement and enhancer:TextAnnotation in the metadata-graph of the content item along with default properties (dc:creator and dc:created) and return the UriRef of the extraction so that engines can further add.
static org.apache.clerezza.rdf.core.UriRef ContentItemHelper.ensureUri(ContentItem ci)
          Check that ContentItem#getId returns a valid URI or make an urn out of it.
static java.util.Map.Entry<org.apache.clerezza.rdf.core.UriRef,Blob> ContentItemHelper.getBlob(ContentItem ci, java.util.Set<java.lang.String> mimeTypes)
          Searches an content part of the type Blob with one of the the parsed mimeTypes.
static
<T> java.util.LinkedHashMap<org.apache.clerezza.rdf.core.UriRef,T>
ContentItemHelper.getContentParts(ContentItem ci, java.lang.Class<T> clazz)
          Returns a Map with the current content parts of the parsed type.
static org.apache.clerezza.rdf.core.MGraph ExecutionMetadataHelper.initExecutionMetadataContentPart(ContentItem contentItem)
          Getter/Initialiser for the execution metadata content part of the parsed content item.
 



Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.