|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use EnhancementEngine | |
|---|---|
| org.apache.stanbol.enhancer.servicesapi | Stanbol Enhancer services API |
| org.apache.stanbol.enhancer.servicesapi.helper | |
| Uses of EnhancementEngine in org.apache.stanbol.enhancer.servicesapi |
|---|
| Methods in org.apache.stanbol.enhancer.servicesapi that return EnhancementEngine | |
|---|---|
EnhancementEngine |
EnhancementEngineManager.getEngine(org.osgi.framework.ServiceReference engineReference)
Getter for the EnhancementEngine service for the parsed
service Reference. |
EnhancementEngine |
EnhancementEngineManager.getEngine(java.lang.String name)
Getter for the EnhancementEngine for the parsed name |
| Methods in org.apache.stanbol.enhancer.servicesapi that return types with arguments of type EnhancementEngine | |
|---|---|
java.util.List<EnhancementEngine> |
EnhancementJobManager.getActiveEngines()
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. |
| Constructors in org.apache.stanbol.enhancer.servicesapi with parameters of type EnhancementEngine | |
|---|---|
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 EnhancementEngine in org.apache.stanbol.enhancer.servicesapi.helper |
|---|
| Classes in org.apache.stanbol.enhancer.servicesapi.helper that implement EnhancementEngine | |
|---|---|
class |
AbstractEnhancementEngine<A extends Exception,D extends Exception>
Abstract base implementation that reads the of the PROPERTY_NAME from configuration parsed in
the activate methods and implements the AbstractEnhancementEngine.getName() method. |
| Fields in org.apache.stanbol.enhancer.servicesapi.helper with type parameters of type EnhancementEngine | |
|---|---|
static java.util.Comparator<EnhancementEngine> |
EnhancementEngineHelper.EXECUTION_ORDER_COMPARATOR
Comparator that allows to sort a list/array of EnhancementEngines
based on there ServiceProperties.ENHANCEMENT_ENGINE_ORDERING. |
| Methods in org.apache.stanbol.enhancer.servicesapi.helper that return EnhancementEngine | |
|---|---|
EnhancementEngine |
EnginesTracker.getEngine(org.osgi.framework.ServiceReference engineReference)
|
EnhancementEngine |
EnginesTracker.getEngine(java.lang.String name)
|
| Methods in org.apache.stanbol.enhancer.servicesapi.helper that return types with arguments of type EnhancementEngine | |
|---|---|
static java.util.List<EnhancementEngine> |
ExecutionPlanHelper.getActiveEngines(EnhancementEngineManager engineManager,
org.apache.clerezza.rdf.core.TripleCollection ep)
Calculates a sorted list of active EnhancementEngines form the given ExecutinPlan |
| Methods in org.apache.stanbol.enhancer.servicesapi.helper with parameters of type EnhancementEngine | |
|---|---|
protected static org.apache.clerezza.rdf.core.UriRef |
EnhancementEngineHelper.createEnhancement(org.apache.clerezza.rdf.core.MGraph metadata,
EnhancementEngine engine,
org.apache.clerezza.rdf.core.UriRef contentItemId)
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. |
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.createEntityEnhancement(org.apache.clerezza.rdf.core.MGraph metadata,
EnhancementEngine engine,
org.apache.clerezza.rdf.core.UriRef contentItemId)
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. |
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 |
EnhancementEngineHelper.createTextEnhancement(org.apache.clerezza.rdf.core.MGraph metadata,
EnhancementEngine engine,
org.apache.clerezza.rdf.core.UriRef contentItemId)
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. |
static java.lang.Integer |
EnhancementEngineHelper.getEngineOrder(EnhancementEngine engine)
Gets the ServiceProperties.ENHANCEMENT_ENGINE_ORDERING value
for the parsed EnhancementEngine. |
| Method parameters in org.apache.stanbol.enhancer.servicesapi.helper with type arguments of type EnhancementEngine | |
|---|---|
static org.apache.clerezza.rdf.core.Graph |
ExecutionPlanHelper.calculateExecutionPlan(java.lang.String chainName,
java.util.List<EnhancementEngine> availableEngines,
java.util.Set<java.lang.String> optional,
java.util.Set<java.lang.String> missing)
Creates an execution plan based on the ServiceProperties.ENHANCEMENT_ENGINE_ORDERING of the parsed
EnhancementEngines. |
| Constructors in org.apache.stanbol.enhancer.servicesapi.helper with parameters of type EnhancementEngine | |
|---|---|
SingleEngineChain(EnhancementEngine engine)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||