public interface ExtractionComponent
Modifier and Type | Method and Description |
---|---|
void |
addSubComponent(ExtractionComponent subComponent)
Add sub component
|
void |
execute(ContentHandler contentHandler,
ExtractionExecutionContext context)
Execute the extraction of the component
|
Map<String,Object> |
getComponentDetailsForTree()
Retrieves the details of the component for tree
|
Set<String> |
getContentTypes()
Retrieves the list of content types defined for this component
|
List<ExtractionComponent> |
getSubComponents()
Retrieves sub components of the component
|
void |
prepareComponentExecution(ExtractionExecutionContext context)
Prepare the execution of the component
|
void prepareComponentExecution(ExtractionExecutionContext context) throws Exception
context
- context of the extraction componentException
- if an error occursvoid execute(ContentHandler contentHandler, ExtractionExecutionContext context) throws Exception
contentHandler
- result documentcontext
- context of the extraction componentException
- if an error occursvoid addSubComponent(ExtractionComponent subComponent)
subComponent
- the sub components to addList<ExtractionComponent> getSubComponents()
Set<String> getContentTypes()
Map<String,Object> getComponentDetailsForTree()
Map
containing component details