A B C D E F G H I L M N O P R S T U V W

A

AbstractChain - Class in org.apache.stanbol.enhancer.servicesapi.helper
Abstract base implementation that reads the of the Chain.PROPERTY_NAME from configuration parsed in the activate methods and implements the AbstractChain.getName() method.
AbstractChain() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.AbstractChain
 
AbstractEnhancementEngine<A extends java.lang.Exception,D extends java.lang.Exception> - Class in org.apache.stanbol.enhancer.servicesapi.helper
Abstract base implementation that reads the of the EnhancementEngine.PROPERTY_NAME from configuration parsed in the activate methods and implements the AbstractEnhancementEngine.getName() method.
AbstractEnhancementEngine() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.AbstractEnhancementEngine
 
activate(ComponentContext) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.AbstractChain
 
activate(ComponentContext) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.AbstractEnhancementEngine
activator that reads and validates the EnhancementEngine.PROPERTY_NAME property from the ComponentContext.getProperties().
addDependend(Collection<NonLiteral>, TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
 
addingService(ServiceReference) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
 
addPart(UriRef, Object) - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
Add a new part to this ContentItem
addPart(UriRef, Object) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
ANNOTEA_ANNOTATION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.TechnicalClasses
Deprecated.  

B

Blob - Interface in org.apache.stanbol.enhancer.servicesapi
represents a finite sequence of bytes associated to a mime-type

C

calculateExecutionPlan(String, List<EnhancementEngine>, Set<String>, Set<String>) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
Creates an execution plan based on the ServiceProperties.ENHANCEMENT_ENGINE_ORDERING of the parsed EnhancementEngines.
canEnhance(ContentItem) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngine
Indicate if this engine can enhance supplied ContentItem, and if it suggests enhancing it synchronously or asynchronously.
CANNOT_ENHANCE - Static variable in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngine
Return value for EnhancementEngine.canEnhance(org.apache.stanbol.enhancer.servicesapi.ContentItem), meaning this engine cannot enhance supplied ContentItem
Chain - Interface in org.apache.stanbol.enhancer.servicesapi
An Enhancement Chain represents a configuration that defines what engines and in what order are used to process ContentItems.
CHAIN - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionPlan
The property ep:chain linking an ExecutionPlan.EXECUTION_PLAN to the name of the chain this plan is defined for
CHAIN_EXECUTION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Class representing the execution of a Chain.
ChainException - Exception in org.apache.stanbol.enhancer.servicesapi
BaseException thrown by Chain implementations or EnhancementJobManager implementations when encountering problems while executing e Chain
ChainException(String) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.ChainException
 
ChainException(String, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.ChainException
 
ChainException(Graph, NonLiteral, String, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.ChainException
Creates a chain exception for the parsed node within the parsed executionPlan
ChainManager - Interface in org.apache.stanbol.enhancer.servicesapi
Interface that allows to lookup ServiceReference and Chain services based on the name.
ChainsTracker - Class in org.apache.stanbol.enhancer.servicesapi.helper
Utility similar to ServiceTracker that allows to track one/some/all Chains.
ChainsTracker() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Protected constructor intended to be used by subclasses that do not want to compete the initialisation as part of construction(e.g.
ChainsTracker(BundleContext, String...) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Creates a new ChainsTracker for the parsed BundleContext and chain names.
ChainsTracker(BundleContext, Set<String>, ServiceTrackerCustomizer) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Creates a new ChainsTracker for the parsed BundleContext and chain names.
close() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Closes this tracker
close() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Closes this tracker
compare(ServiceReference, ServiceReference) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ServiceReferenceRankingComparator
 
COMPLETED - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
The 'xsd:dateTime' when an ExecutionMetadata.EXECUTION execution completed or failed.
computeEnhancements(ContentItem) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngine
Compute enhancements for supplied ContentItem.
ConfigUtils - Class in org.apache.stanbol.enhancer.servicesapi.helper
Utility Class with methods allowing to parse line based configurations formatted like:
ContentItem - Interface in org.apache.stanbol.enhancer.servicesapi
A unit of content that Stanbol Enhancer can enhance.
ContentItemHelper - Class in org.apache.stanbol.enhancer.servicesapi.helper
Helper class to factorize common code for ContentItem handling.
ContentItemHelper() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
ContentItemImpl - Class in org.apache.stanbol.enhancer.servicesapi.helper
A generic ContentItem implementation that takes the uri, main content part and the graph used to store the metadata as parameter.
ContentItemImpl(UriRef, Blob, MGraph) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
context - Variable in class org.apache.stanbol.enhancer.servicesapi.helper.AbstractChain
The ComponentContext set in the AbstractChain.activate(ComponentContext) and reset in the AbstractChain.deactivate(ComponentContext) method.
createChainExecutionNode(MGraph, NonLiteral, UriRef, boolean) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
 
createEngineExecution(MGraph, NonLiteral, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
 
createEnhancement(MGraph, EnhancementEngine, UriRef) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Create a new enhancement instance 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.
createEntityEnhancement(ContentItem, EnhancementEngine) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
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
createEntityEnhancement(MGraph, EnhancementEngine, UriRef) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Create a new instance with the types enhancer:Enhancement and enhancer:EntityAnnotation in the parsed graph along with default properties (dc:creator, dc:created and enhancer:extracted-form) and return the UriRef of the extraction so that engines can further add.
createExecutionPlan(MGraph, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
Creates an ExecutionPlan for the parsed chainName in the parsed Graph
createInstance(MGraph) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.RdfEntityFactory
Creates a new factory for the parsed MGraph instance.
createNewExtraction(ContentItem, EnhancementEngine) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Deprecated.  
createTextEnhancement(ContentItem, EnhancementEngine) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
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.
createTextEnhancement(MGraph, EnhancementEngine, UriRef) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Create a new instance with the types enhancer:Enhancement and enhancer:TextAnnotation in the parsed graph along with default properties (dc:creator, dc:created and enhancer:extracted-form) and return the UriRef of the extraction so that engines can further add.

D

DBPEDIA_ORGANISATION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.OntologicalClasses
 
DBPEDIA_PERSON - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.OntologicalClasses
 
DBPEDIA_PLACE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.OntologicalClasses
 
DC_CREATED - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Creation date of a resource.
DC_CREATOR - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
The entity responsible for the creation of a resource.
DC_FILEFORMAT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. dc:FileFormat does not exist
DC_LANGUAGE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Language of the content item text.
DC_REFERENCES - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. use ENHANCER_ENTITY instead
DC_RELATION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
A related resource.
DC_REQUIRES - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
A related resource that is required by the described resource to support its function, delivery, or coherence.
DC_SUBJECT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. rwesten: To my knowledge no longer used by Stanbol Enhancer enhancement specification
DC_TYPE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
The nature or genre of the resource.
deactivate(ComponentContext) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.AbstractChain
 
deactivate(ComponentContext) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.AbstractEnhancementEngine
Deactivates this component and re-sets the name to null
DEFAULT_BINARY_MIMETYPE - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
 
DEFAULT_CHAIN_NAME - Static variable in interface org.apache.stanbol.enhancer.servicesapi.ChainManager
The name of the default fault Chain as used by the algorithm to determine the Chain returned by ChainManager.getDefault().
DEFAULT_TEXT_MIMETYPE - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
 
DEPENDS_ON - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionPlan
The property ep:dependsOn defining the list of other ExecutionPlan.EXECUTION_NODEs this one depends on

E

ENGINE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionPlan
The property ep:engine linking an ExecutionPlan.EXECUTION_NODE with the name of the EnhancementEngine to be executed.
ENGINE_EXECUTION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Class that represents the execution of an EnhancementEngine.
EngineException - Exception in org.apache.stanbol.enhancer.servicesapi
Base exception thrown by EnhancementEngine implementations when they fail to process the provided content item.
EngineException(String) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.EngineException
 
EngineException(String, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.EngineException
 
EngineException(Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.EngineException
 
EngineException(EnhancementEngine, ContentItem, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.EngineException
 
EngineException(EnhancementEngine, ContentItem, String, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.EngineException
 
EnginesTracker - Class in org.apache.stanbol.enhancer.servicesapi.helper
Utility similar to ServiceTracker that allows to track one/some/all EnhancementEngines.
EnginesTracker() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Protected constructor intended to be used by subclasses that do not want to compete the initialisation as part of construction(e.g.
EnginesTracker(BundleContext, String...) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Creates a new EnginesTracker for the parsed BundleContext and engine names.
EnginesTracker(BundleContext, Set<String>, ServiceTrackerCustomizer) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Creates a new EnginesTracker for the parsed BundleContext and engine names.
ENHANCE_ASYNC - Static variable in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngine
Return value for EnhancementEngine.canEnhance(org.apache.stanbol.enhancer.servicesapi.ContentItem), meaning this engine can enhance supplied ContentItem, and suggests queuing a request for enhancement instead of enhancing it synchronously.
ENHANCE_SYNCHRONOUS - Static variable in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngine
Return value for EnhancementEngine.canEnhance(org.apache.stanbol.enhancer.servicesapi.ContentItem), meaning this engine can enhance supplied ContentItem, and suggests enhancing it synchronously instead of queuing a request for enhancement.
enhanceContent(ContentItem) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementJobManager
Enhances the parsed contentItem by using the default enhancement Chain.
enhanceContent(ContentItem, Chain) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementJobManager
Processes the parsed ContentItem by using the execution plan provided by the Chain.
ENHANCED_BY - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Property that links from ContentItem.getUri() to the ExecutionMetadata.CHAIN_EXECUTION defining the root node of the execution metadata
Enhancement - Interface in org.apache.stanbol.enhancer.servicesapi
This Interface represents a Stanbol Enhancer enhancement.
ENHANCEMENT_CHAIN - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Enhancer
 
ENHANCEMENT_ENGINE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Enhancer
 
ENHANCEMENT_ENGINE_ORDERING - Static variable in interface org.apache.stanbol.enhancer.servicesapi.ServiceProperties
Property Key used to define the order in which EnhancementEngines are called by the EnhancementJobManager.
EnhancementEngine - Interface in org.apache.stanbol.enhancer.servicesapi
Interface to internal or external semantic enhancement engines.
EnhancementEngineHelper - Class in org.apache.stanbol.enhancer.servicesapi.helper
 
EnhancementEngineHelper() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
 
EnhancementEngineManager - Interface in org.apache.stanbol.enhancer.servicesapi
Interface that allows to lookup ServiceReference and EnhancementEngine services based on the name.
EnhancementException - Exception in org.apache.stanbol.enhancer.servicesapi
Abstract super class over EngineException and Chain as typically used by components that need to used both EnhancementEngines and Chains.
EnhancementException(String) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.EnhancementException
 
EnhancementException(String, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.EnhancementException
 
EnhancementException(Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.EnhancementException
 
EnhancementJobManager - Interface in org.apache.stanbol.enhancer.servicesapi
Accept requests for enhancing ContentItems, and processes them either synchronously or asynchronously (as decided by the enhancement engines, the job manager implementation, the execution plan provided by the Chain or by some additional configurations).
Enhancer - Class in org.apache.stanbol.enhancer.servicesapi.rdf
 
Enhancer() - Constructor for class org.apache.stanbol.enhancer.servicesapi.rdf.Enhancer
 
ENHANCER - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Enhancer
 
ENHANCER_CATEGORY - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.TechnicalClasses
Used to indicate, that an EntityAnnotation describes an Categorisation.
ENHANCER_CONFIDENCE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
A positive double value to rank extractions according to the algorithm confidence in the accuracy of the extraction.
ENHANCER_END - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
the character position of the end of a text selection.
ENHANCER_ENHANCEMENT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.TechnicalClasses
Type used for all enhancement created by Stanbol Enhancer
ENHANCER_ENTITY_LABEL - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
The label(s) of the referred entity
ENHANCER_ENTITY_REFERENCE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
This refers to the URI identifying the referred named entity
ENHANCER_ENTITY_TYPE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
This property can be used to specify the type of the entity (Optional)
ENHANCER_ENTITYANNOTATION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.TechnicalClasses
Type used for annotations of named entities.
ENHANCER_EXTRACTED_FROM - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Refers to the content item the enhancement was extracted form
ENHANCER_EXTRACTION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.TechnicalClasses
Deprecated. 
ENHANCER_MENTIONED_ENTITY_CONTEXT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. 
ENHANCER_MENTIONED_ENTITY_OCCURENCE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. 
ENHANCER_MENTIONED_ENTITY_POSITION_END - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. 
ENHANCER_MENTIONED_ENTITY_POSITION_START - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. 
ENHANCER_RELATED_CONTENT_ITEM - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. 
ENHANCER_RELATED_TOPIC - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. 
ENHANCER_RELATED_TOPIC_LABEL - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
Deprecated. 
ENHANCER_SELECTED_TEXT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
The text selected by the text annotation.
ENHANCER_SELECTION_CONTEXT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
The context (surroundings) of the text selected.
ENHANCER_START - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
the character position of the start of a text selection.
ENHANCER_TEXTANNOTATION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.TechnicalClasses
Type used for annotations on Text created by Stanbol Enhancer.
ENHANCER_TOPICANNOTATION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.TechnicalClasses
Type used for annotations documents.
ENHANCES - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Property that links from the ExecutionMetadata.CHAIN_EXECUTION node to the enhanced ContentItem.getUri()
ensureUri(ContentItem) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
Check that ContentItem#getId returns a valid URI or make an urn out of it.
EntityAnnotation - Interface in org.apache.stanbol.enhancer.servicesapi
 
equals(Object) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
equals - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
The equals Method of Object
executeQuery(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.SparqlQueryEngine
 
EXECUTION - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Class representing an execution of a Chain or an EnhancementEngine.
EXECUTION_NODE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Property that links from the ExecutionMetadata.ENGINE_EXECUTION to the ExecutionPlan.EXECUTION_NODE
EXECUTION_NODE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionPlan
The Class ep:ExecutionMode
EXECUTION_ORDER_COMPARATOR - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Comparator that allows to sort a list/array of EnhancementEngines based on there ServiceProperties.ENHANCEMENT_ENGINE_ORDERING.
EXECUTION_PART - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Property that links ExecutionMetadata.EXECUTION to its parent ExecutionMetadata.CHAIN_EXECUTION.
EXECUTION_PLAN - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Property that links from the ExecutionMetadata.CHAIN_EXECUTION to the ExecutionPlan.EXECUTION_PLAN
EXECUTION_PLAN - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionPlan
The Class ep:ExecutionPlan
EXECUTION_STATUS - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Type for all ExecutionStatus values: ExecutionMetadata.STATUS_SCHEDULED, ExecutionMetadata.STATUS_IN_PROGRESS, ExecutionMetadata.STATUS_COMPLETED, ExecutionMetadata.STATUS_SKIPPED, ExecutionMetadata.STATUS_FAILED.
ExecutionMetadata - Class in org.apache.stanbol.enhancer.servicesapi.rdf
Defined constants for Classes and Properties defined by the Execution Metadata ontology used by the Stanbol Enhancer to describe metadata about the enhancement process.
ExecutionMetadataHelper - Class in org.apache.stanbol.enhancer.servicesapi.helper
This class defines utility methods for writing and updating Execution Metadata.
ExecutionMetadataHelper() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
 
ExecutionPlan - Class in org.apache.stanbol.enhancer.servicesapi.rdf
Defines the UriRefs for all classes and properties defined by the Stanbol Enhancer Execution Plan ontology.
ExecutionPlanHelper - Class in org.apache.stanbol.enhancer.servicesapi.helper
 

F

factory - Variable in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
The logger TODO: Question: How to get the dependencies for logging working with maven :(
FOAF_DOCUMENT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.TechnicalClasses
To be used to type the URI of the content item being annotated by Stanbol Enhancer
FOAF_SHA1 - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
The sha1 hexadecimal digest of a content item.
fromString(String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 

G

GEO_LAT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
 
GEO_LONG - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
 
GEORSS_POINT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
A point on the surface of the earth given by two signed floats (latitude and longitude) concatenated as a string literal using a whitespace as separator.
get(TripleCollection, NonLiteral, UriRef, Class<T>, LiteralFactory) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Getter for the first typed literal value of the property for a resource.
getActive() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
Getter for the read only names -> ServiceReference of the currently active and tracked engines.
getActiveChainNames() - Method in interface org.apache.stanbol.enhancer.servicesapi.ChainManager
Getter for the names of all currently active enhancement chains.
getActiveChainNames() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
 
getActiveChainReferences() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Getter for the map with the names and the ServiceReference of the chain with the highest priority for that name.
getActiveEngineNames() - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngineManager
Getter for all active and tracked engine names.
getActiveEngineNames() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
 
getActiveEngineReferences() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Getter for the map with the names and the ServiceReference of the engine with the highest priority for that name.
getActiveEngines() - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementJobManager
Deprecated. use the EnhancementEngineManager to get information about currently active Engines and the ChainManager to get active chains. This method will now return active engines of the default chain.
getActiveEngines(EnhancementEngineManager, TripleCollection) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
Calculates a sorted list of active EnhancementEngines form the given ExecutinPlan
getBlob() - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
The main content of this content item
getBlob(ContentItem, Set<String>) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
Searches an content part of the type Blob with one of the the parsed mimeTypes.
getBlob() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
Final getter retrieving the Blob via ContentItemImpl.getPart(UriRef, Class) with ContentItemImpl.getUri()+ContentItemImpl.MAIN_BLOB_SUFFIX
getChain(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.ChainManager
Getter for the Chain with the highest Constants.SERVICE_RANKING registered for the parsed name.
getChain(ServiceReference) - Method in interface org.apache.stanbol.enhancer.servicesapi.ChainManager
Getter for the Chain service for the parsed service Reference.
getChain(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
 
getChain(ServiceReference) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
 
getChainExecution(TripleCollection, UriRef) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Getter for the ChainExecution used to enhance the content item
getChainExecutionForChainName(TripleCollection, TripleCollection, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Getter for the ExecutionMetadata.CHAIN_EXECUTION node of an graph containing ChainExecution metadata for the parsed Chain.getName().
getChainExecutionForExecutionPlan(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Getter for the ExecutionMetadata.CHAIN_EXECUTION node of an graph containing ChainExecution metadata for the parsed ExecutionPlan.EXECUTION_PLAN node
getChainTrackingState() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Getter for the name based service tracker.
getCompleted(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Getter for the completed dateTime of an 'em:Execution'
getConfidence() - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
getContentLength() - Method in interface org.apache.stanbol.enhancer.servicesapi.Blob
The size of the Content in bytes or a negative value if not known
getContentLength() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
 
getContentParts(ContentItem, Class<T>) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
Returns a Map with the current content parts of the parsed type.
getCreated() - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
getCreator() - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
getDcType() - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
getDefault() - Method in interface org.apache.stanbol.enhancer.servicesapi.ChainManager
Getter for the default Chain.
getDefault() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
 
getDependend(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
 
getEnd() - Method in interface org.apache.stanbol.enhancer.servicesapi.TextAnnotation
 
getEngine(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngineManager
Getter for the EnhancementEngine for the parsed name
getEngine(ServiceReference) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngineManager
Getter for the EnhancementEngine service for the parsed service Reference.
getEngine(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
 
getEngine(ServiceReference) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
 
getEngine(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
 
getEngineOrder(EnhancementEngine) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Gets the ServiceProperties.ENHANCEMENT_ENGINE_ORDERING value for the parsed EnhancementEngine.
getEngines() - Method in interface org.apache.stanbol.enhancer.servicesapi.Chain
Getter for the set of EnhancementEngines referenced by there name within the execution plan.
getEngines() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.SingleEngineChain
 
getEngineTrackingState() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Getter for the name based service tracker.
getEntityLabel() - Method in interface org.apache.stanbol.enhancer.servicesapi.EntityAnnotation
 
getEntityReference() - Method in interface org.apache.stanbol.enhancer.servicesapi.EntityAnnotation
 
getEntityTypes() - Method in interface org.apache.stanbol.enhancer.servicesapi.EntityAnnotation
 
getExecutable(TripleCollection, Set<NonLiteral>) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
Evaluates the parsed execution plan and the set of already executed ep:ExecutionNodes to find the next nodes that can be executed.
getExecutionNode(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Getter for the ep:ExecutionNode for a given em:Execution.
getExecutionNodes(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
Getter for the set of ExecutionNodes part of an execution plan.
getExecutionPlan() - Method in interface org.apache.stanbol.enhancer.servicesapi.Chain
Getter for the execution plan reflecting the current configuration of this Chain.
getExecutionPlan(TripleCollection, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
Getter for the ExecutionPlan.EXECUTION_PLAN node of an execution plan for the given chainNmame.
getExecutionPlan() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.SingleEngineChain
 
getExecutionPlanNode(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Getter for the ep:ExecutionPlan node for the parsed em:ChainExecution node
getExecutions(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Get ExecutionMetadata.EXECUTION nodes that are ExecutionMetadata.EXECUTION_PART of the parsed ExecutionMetadata.CHAIN_EXECUTION node
getExtractedFrom() - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
getGraph() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.impl.SimpleRdfEntityFactory
 
getId() - Method in interface org.apache.stanbol.enhancer.servicesapi.helper.RdfEntity
Getter for the RDF node represented by the proxy.
getIDMethod - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
The getID method of the RdfEntity Interface
getLock() - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
Read/write lock used to synchronise access to the metadata and the content parts of this content item.
getLock() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
getMetadata() - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
Optional metadata
getMetadata() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
getMimeType() - Method in interface org.apache.stanbol.enhancer.servicesapi.Blob
Getter for the mime-type of the content.
getMimeType() - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
The MimeType.
getMimeType() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
getMimeType() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
 
getMimeTypeWithParameters(Blob) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
Creates the "{type}/{subtime}; [{param}={value}]+" mime type representation for the Blob.getMimeType() and Blob.getParameter() values
getName() - Method in interface org.apache.stanbol.enhancer.servicesapi.Chain
The name of this chain as configured by Chain.PROPERTY_NAME
getName() - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngine
Getter for the name of this EnhancementEngine instance as configured by EnhancementEngine.PROPERTY_NAME
getName() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.AbstractChain
 
getName() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.AbstractEnhancementEngine
 
getName() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.SingleEngineChain
 
getNames() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
Getter for the read only set of names of all currently active and tracked engines
getNamespace() - Method in enum org.apache.stanbol.enhancer.servicesapi.rdf.NamespaceEnum
 
getParameter() - Method in interface org.apache.stanbol.enhancer.servicesapi.Blob
Additional parameters parsed with the mime-type.
getParameter() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
 
getParameters(String[], int) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ConfigUtils
Utility that parses 'key=value,value2' parameters from the parsed array.
getPart(int, Class<T>) - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
A content item may consists of multiple parts, while the part with index 0 should always be a blob, higher position may be used by Enhancer to story arbitrary objects, such objects can be used for accessing the precomputations of EnhancementEngines previous in the chain.
getPart(UriRef, Class<T>) - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
Each part of the content item has a URI.
getPart(UriRef, Class<T>) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
getPart(int, Class<T>) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
getPartUri(int) - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
Get the uri of the part at the specified index
getPartUri(int) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
getPrefix() - Method in enum org.apache.stanbol.enhancer.servicesapi.rdf.NamespaceEnum
 
getProxy(NonLiteral, Class<T>, Class<?>...) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.impl.SimpleRdfEntityFactory
 
getProxy(NonLiteral, Class<T>, Class<?>...) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.RdfEntityFactory
Getter for a proxy for the parsed rdf node that implements all the parsed Interfaces.
getRdfResource(Object) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
 
getReference(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.ChainManager
Getter for the ServiceReference of the Chain for the parsed name
getReference(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngineManager
Getter for the ServiceReference of the EnhancementEngine for the parsed name
getReference(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
 
getReference(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
 
getReference(TripleCollection, NonLiteral, UriRef) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Getter for the first value of the data type property for a resource
getReference(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
 
getReferences(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.ChainManager
Getter for all ServiceReferences of the Chains registered for the parsed name.
getReferences(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngineManager
Getter for all ServiceReferences of the EnhancementEngines registered for the parsed name.
getReferences(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
 
getReferences(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
 
getReferences(TripleCollection, NonLiteral, UriRef) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Getter for the values of the data type property for a resource.
getReferences(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
 
getRelations() - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
getRequires() - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
getSelectedText() - Method in interface org.apache.stanbol.enhancer.servicesapi.TextAnnotation
 
getSelectionContext() - Method in interface org.apache.stanbol.enhancer.servicesapi.TextAnnotation
 
getServiceProperties() - Method in interface org.apache.stanbol.enhancer.servicesapi.ServiceProperties
Getter for the properties defined by this service.
getStart() - Method in interface org.apache.stanbol.enhancer.servicesapi.TextAnnotation
 
getStarted(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Getter for the started dateTime of an 'em:Execution'
getState(Map<String, List<String>>, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ConfigUtils
Parses the boolean value form the values for the parsed key.
getStream() - Method in interface org.apache.stanbol.enhancer.servicesapi.Blob
 
getStream() - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
The binary content stream.
getStream() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
getStream() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
 
getString(TripleCollection, NonLiteral, UriRef) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Getter for the first String literal value the property for a resource
getStrings(TripleCollection, NonLiteral, UriRef) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Getter for the string literal values the property for a resource
getText(Blob) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
Getter for the Text of an Blob.
getTrackedChains() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Getter for the list of tracked chain names.
getTrackedEngines() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Getter for the list of tracked engine names.
getUri() - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
The Uri of this ContentItem (either supplied by client or generated by Stanbol Enhancer)
getUri() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
getValue(Map<String, List<String>>, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ConfigUtils
Getter for the first value of a given key
getValues(TripleCollection, NonLiteral, UriRef, Class<T>, LiteralFactory) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Getter for the typed literal values of the property for a resource
guessRdfFormat(String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ConfigUtils
Guesses the RDF format based on the provided file extension.

H

HAS_CHAIN - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Enhancer
 
HAS_DEFAULT_CHAIN - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Enhancer
 
HAS_ENGINE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Enhancer
 
HAS_EXECUTION_NODE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionPlan
the property ep:hasExecutionNode linking an ExecutionPlan.EXECUTION_PLAN with all its ExecutionPlan.EXECUTION_NODEs
hashCode() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
hashCode - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
The hashCode Method of Object

I

initChainTracker(BundleContext, Set<String>, ServiceTrackerCustomizer) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Initialises the ChainsTracker by using the parsed parameter.
initEngineTracker(BundleContext, Set<String>, ServiceTrackerCustomizer) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Initialises the EnginesTracker by using the parsed parameter.
initExecutionMetadata(MGraph, TripleCollection, UriRef, String, Boolean) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Initialises execution metadata based on the parsed parameter.
initExecutionMetadataContentPart(ContentItem) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Getter/Initialiser for the execution metadata content part of the parsed content item.
InMemoryBlob - Class in org.apache.stanbol.enhancer.servicesapi.helper
Holds the parsed data in an byte array.
InMemoryBlob(String, String) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
Creates an InMemoryBlob for the parsed String.
InMemoryBlob(InputStream, String) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
Creates an instance for the parsed InputStream.
InMemoryBlob(byte[], String) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
Creates an instance for the parsed byte array.
InMemoryBlob(byte[], String, Map<String, String>) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
Internally used constructor that allows to parse additional parameters as required to ensure setting the 'charset' in case initialisation was done by parsing a string
InMemoryContentItem - Class in org.apache.stanbol.enhancer.servicesapi.helper
ContentItem implementation that holds a complete copy of the data in memory.
InMemoryContentItem(byte[], String) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 
InMemoryContentItem(String, String, String) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 
InMemoryContentItem(String, byte[], String) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 
InMemoryContentItem(String, byte[], String, MGraph) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 
InMemoryContentItem(UriRef, String, String) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 
InMemoryContentItem(UriRef, byte[], String, MGraph) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 
InMemoryContentItem(String, Blob, MGraph) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 
InMemoryContentItem(UriRef, Blob, MGraph) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryContentItem
 
INSTANCE - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.ServiceReferenceRankingComparator
Singelton instance
InvalidContentException - Exception in org.apache.stanbol.enhancer.servicesapi
Enhancement Engine should throw this exception when the provided Content Item does not match there declared expectation (i.e.
InvalidContentException(String) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.InvalidContentException
 
InvalidContentException(String, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.InvalidContentException
 
InvalidContentException(EnhancementEngine, ContentItem, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.InvalidContentException
 
invoke(Object, Method, Object[]) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
 
IS_DEFAULT_CHAIN - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Property indicating if the ExecutionPlan.EXECUTION_PLAN executed by a ExecutionMetadata.CHAIN_EXECUTION was the ChainManager.getDefault() Chain at that time.
isChain(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.ChainManager
Checks if at least a single Chain with the parsed name is currently registered as OSGI service.
isChain(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
 
isEngine(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngineManager
Checks if an EnhancementEngine with the parsed name is active
isEngine(String) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
 
isExecutionFailed(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Tests if the status if an execution is failed.
isExecutionFinished(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Tests if the status if an execution has already finished.
isOptional(TripleCollection, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
 

L

literalFactory - Variable in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
 

M

MAIN_BLOB_SUFFIX - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
makeDefaultUri(String, Blob) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
makeDefaultUri(String, byte[]) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
makeDefaultUri(String, InputStream) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
makeDefaultUrn(Blob) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
makeDefaultUrn(InputStream) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
makeDefaultUrn(byte[]) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
MAX_BUF_SIZE - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
mimeType - Variable in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
 
MIN_BUF_SIZE - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
modifiedService(ServiceReference, Object) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
 

N

NameBasedServiceTrackingState - Class in org.apache.stanbol.enhancer.servicesapi.helper
Used to manage the state of ServiceReferences for services that are accessed based on the value of a specific property.
NameBasedServiceTrackingState(BundleContext, Filter, String, ServiceTrackerCustomizer) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
Creates a trackingState with an optional customiser
NameBasedServiceTrackingState(BundleContext, String, String, ServiceTrackerCustomizer) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
Creates a trackingState with an optional customiser
NamespaceEnum - Enum in org.apache.stanbol.enhancer.servicesapi.rdf
 
NoSuchPartException - Exception in org.apache.stanbol.enhancer.servicesapi
Indicates that a COntent Item doesn't has the requested part
NoSuchPartException(int) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.NoSuchPartException
 
NoSuchPartException(UriRef) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.NoSuchPartException
 
NoSuchPartException(String) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.NoSuchPartException
 

O

OntologicalClasses - Class in org.apache.stanbol.enhancer.servicesapi.rdf
Common entity types, a.k.a.
open() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ChainsTracker
Starts tracking based on the configuration parsed in the constructor
open() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.EnginesTracker
Starts tracking based on the configuration parsed in the constructor
OPTIONAL - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionPlan
The property ep:optional that can be used to define that the execution of an ExecutionPlan.EXECUTION_NODE is optional.
ORDERING_CONTENT_EXTRACTION - Static variable in interface org.apache.stanbol.enhancer.servicesapi.ServiceProperties
Ordering values < ServiceProperties.ORDERING_PRE_PROCESSING and >= this value indicate, that an enhancement engine performs operations that are only dependent on the parsed content.
ORDERING_DEFAULT - Static variable in interface org.apache.stanbol.enhancer.servicesapi.ServiceProperties
The default ordering uses ServiceProperties.ORDERING_EXTRACTION_ENHANCEMENT -1 .
ORDERING_EXTRACTION_ENHANCEMENT - Static variable in interface org.apache.stanbol.enhancer.servicesapi.ServiceProperties
Ordering values < ServiceProperties.ORDERING_CONTENT_EXTRACTION and >= this value indicate, that an enhancement engine performs operations on extracted features of the content.
ORDERING_POST_PROCESSING - Static variable in interface org.apache.stanbol.enhancer.servicesapi.ServiceProperties
Ordering values < ServiceProperties.ORDERING_DEFAULT and >= this value indicate that an enhancement engine performs post processing operations on existing enhancements.
ORDERING_PRE_PROCESSING - Static variable in interface org.apache.stanbol.enhancer.servicesapi.ServiceProperties
Ordering values >= this value indicate, that an enhancement engine dose some pre processing on the content
org.apache.stanbol.enhancer.servicesapi - package org.apache.stanbol.enhancer.servicesapi
Stanbol Enhancer services API
org.apache.stanbol.enhancer.servicesapi.helper - package org.apache.stanbol.enhancer.servicesapi.helper
 
org.apache.stanbol.enhancer.servicesapi.helper.impl - package org.apache.stanbol.enhancer.servicesapi.helper.impl
 
org.apache.stanbol.enhancer.servicesapi.rdf - package org.apache.stanbol.enhancer.servicesapi.rdf
 

P

parameters - Variable in class org.apache.stanbol.enhancer.servicesapi.helper.InMemoryBlob
 
parseConfig(Iterable<String>) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ConfigUtils
Parses configurations formatted like
parseConfig(Iterator<String>) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ConfigUtils
Parses configurations formatted like
parseConfigEntry(String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ConfigUtils
Returns the "key, parameter" entry parsed form the parsed configuration line.
parseMimeType(String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
This parses and validates the mime-type and parameters from the parsed mimetype string based on the definition as defined in rfc2046.
Properties - Class in org.apache.stanbol.enhancer.servicesapi.rdf
Namespace of standard properties to be used as typed metadata by EnhancementEngine.
Properties() - Constructor for class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
 
PROPERTY_NAME - Static variable in interface org.apache.stanbol.enhancer.servicesapi.Chain
The property to be used for providing the name of a chain.
PROPERTY_NAME - Static variable in interface org.apache.stanbol.enhancer.servicesapi.EnhancementEngine
The property used to provide the name of an enhancement engine.

R

randomUUID() - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
Random UUID generator with re-seedable RNG for the tests.
Rdf - Annotation Type in org.apache.stanbol.enhancer.servicesapi.helper
 
RDF_TYPE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
The canonical way to give the type of a resource.
RdfEntity - Interface in org.apache.stanbol.enhancer.servicesapi.helper
Super interface for all interfaces using the RdfEntityFactory to create proxy objects.
RdfEntityFactory - Class in org.apache.stanbol.enhancer.servicesapi.helper
A Factory that creates proxies over rdf nodes.
RdfEntityFactory() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.RdfEntityFactory
 
rdfNode - Variable in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
 
RdfProxyInvocationHandler - Class in org.apache.stanbol.enhancer.servicesapi.helper.impl
 
RdfProxyInvocationHandler(SimpleRdfEntityFactory, NonLiteral, Class<?>[], LiteralFactory) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
 
RDFS_LABEL - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.Properties
A label for resources of any type.
readLock - Variable in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
removedService(ServiceReference, Object) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.NameBasedServiceTrackingState
 
removePart(int) - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
Removes a part - other than the main content part - from this ContentItem
removePart(UriRef) - Method in interface org.apache.stanbol.enhancer.servicesapi.ContentItem
Removes a part - other than the main content part - from this ContentItem
removePart(int) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
removePart(UriRef) - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
rng - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
 

S

ServiceProperties - Interface in org.apache.stanbol.enhancer.servicesapi
Stanbol Enhancer components might implement this interface to parse additional properties to other components.
ServiceReferenceRankingComparator - Class in org.apache.stanbol.enhancer.servicesapi.helper
Compares ServiceReferences based on the Constants.SERVICE_RANKING property value.
ServiceReferenceRankingComparator() - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.ServiceReferenceRankingComparator
 
setConfidence(Double) - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
setCreated(Date) - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
setCreator(UriRef) - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
setEnd(Integer) - Method in interface org.apache.stanbol.enhancer.servicesapi.TextAnnotation
 
setEntityLabel(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.EntityAnnotation
 
setEntityReference(UriRef) - Method in interface org.apache.stanbol.enhancer.servicesapi.EntityAnnotation
 
setExecutionCompleted(MGraph, NonLiteral, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Sets the state of the ExecutionNode to completed
setExecutionFaild(MGraph, NonLiteral, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Set the parsed execution node to failed.
setExecutionInProgress(MGraph, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Sets an execution node to in-progress.
setExecutionScheduled(MGraph, NonLiteral) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Sets the state of the ExecutionNode to scheduled and deletes any started, completed times
setExecutionSkipped(MGraph, NonLiteral, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionMetadataHelper
Sets an execution node to skipped.
setExtractedFrom(UriRef) - Method in interface org.apache.stanbol.enhancer.servicesapi.Enhancement
 
setSeed(long) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.EnhancementEngineHelper
 
setSelectedText(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.TextAnnotation
 
setSelectionContext(String) - Method in interface org.apache.stanbol.enhancer.servicesapi.TextAnnotation
 
setStart(Integer) - Method in interface org.apache.stanbol.enhancer.servicesapi.TextAnnotation
 
SHA1 - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
SimpleRdfEntityFactory - Class in org.apache.stanbol.enhancer.servicesapi.helper.impl
 
SimpleRdfEntityFactory(MGraph) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.impl.SimpleRdfEntityFactory
 
SingleEngineChain - Class in org.apache.stanbol.enhancer.servicesapi.helper
Intended to be used if one needs to wrap a single EnhancementEngine with a Chain to execute it by using the EnhancementJobManager#enhanceContent(org.apache.stanbol.enhancer.servicesapi.ContentItem, String) method.
SingleEngineChain(EnhancementEngine) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.SingleEngineChain
 
SKOS_CONCEPT - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.OntologicalClasses
 
SparqlQueryEngine - Interface in org.apache.stanbol.enhancer.servicesapi
SPARQL query engine interface.
SparqlQueryEngine.SparqlQueryEngineException - Exception in org.apache.stanbol.enhancer.servicesapi
 
SparqlQueryEngine.SparqlQueryEngineException(String, Throwable) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.SparqlQueryEngine.SparqlQueryEngineException
 
SparqlQueryEngine.SparqlQueryEngineException(String) - Constructor for exception org.apache.stanbol.enhancer.servicesapi.SparqlQueryEngine.SparqlQueryEngineException
 
STARTED - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
The 'xsd:startTime' when an ExecutionMetadata.EXECUTION started
STATUS - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
The current status of an ExecutionMetadata.EXECUTION.
STATUS_COMPLETED - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
em:ExecutionStatus indicating that the execution has completed successfully
STATUS_FAILED - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
em:ExecutionStatus indicating that the execution has failed
STATUS_IN_PROGRESS - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
em:ExecutionStatus indicating that the execution is in progress
STATUS_MESSAGE - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
Allows to add a status message to a ExecutionMetadata.EXECUTION node.
STATUS_SCHEDULED - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
em:ExecutionStatus indicating that the execution is scheduled, but has not yet started
STATUS_SKIPPED - Static variable in class org.apache.stanbol.enhancer.servicesapi.rdf.ExecutionMetadata
em:ExecutionStatus indicating that the execution was skipped
streamDigest(InputStream, OutputStream, String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
Pass the binary content from in to out (if not null) while computing the digest.

T

TechnicalClasses - Class in org.apache.stanbol.enhancer.servicesapi.rdf
Classes to be used as types for resources that are not real life entities but technical data modeling for Stanbol Enhancer components.
TextAnnotation - Interface in org.apache.stanbol.enhancer.servicesapi
 
toHexString(byte[]) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
toString() - Method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 
toString - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
The toString Method of Object
toString() - Method in enum org.apache.stanbol.enhancer.servicesapi.rdf.NamespaceEnum
 

U

urlEncode(String) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 
UTF8 - Static variable in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemHelper
 

V

validateExecutionPlan(TripleCollection) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
Utility that checks if the parsed graph contains a valid execution plan.
valueOf(String) - Static method in enum org.apache.stanbol.enhancer.servicesapi.rdf.NamespaceEnum
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.stanbol.enhancer.servicesapi.rdf.NamespaceEnum
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebContentItem - Class in org.apache.stanbol.enhancer.servicesapi.helper
A ContentItem retrieving its content and MediaType by dereferencing a given URI.
WebContentItem(URL) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.WebContentItem
Creates an instance for a given URL and uses a SimpleMGraph to store metadata in memory.
WebContentItem(URL, MGraph) - Constructor for class org.apache.stanbol.enhancer.servicesapi.helper.WebContentItem
Creates an instance for a given URL and an existing MGraph to store the metadata.
writeExecutionNode(MGraph, NonLiteral, String, boolean, Set<NonLiteral>) - Static method in class org.apache.stanbol.enhancer.servicesapi.helper.ExecutionPlanHelper
Writes all triples for an ep:ExecutionNode to the parsed MGraph.
writeLock - Variable in class org.apache.stanbol.enhancer.servicesapi.helper.ContentItemImpl
 

A B C D E F G H I L M N O P R S T U V W

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