public class ScriptableProcessor extends BaseProcessor
| Constructor and Description |
|---|
ScriptableProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(String operatorName,
Map<String,Object> params) |
org.fit.layout.model.LogicalAreaTree |
buildLogicalTree()
Runs the default logical tree builder with the default parameter values.
|
boolean |
execCommand(String command) |
boolean |
execInternal(String scriptName) |
void |
flushIO() |
List<String> |
getAreaProviderIds() |
List<String> |
getBoxProviderIds() |
protected ScriptEngine |
getEngine() |
List<String> |
getLogicalProviderIds() |
List<String> |
getOperatorIds() |
org.fit.layout.model.AreaTree |
initAreaTree(String providerName,
Map<String,Object> params) |
org.fit.layout.model.LogicalAreaTree |
initLogicalTree(String providerName,
Map<String,Object> params) |
void |
put(String var,
Object obj) |
org.fit.layout.model.Page |
renderPage(String providerName,
Map<String,Object> params) |
org.fit.layout.model.AreaTree |
segmentPage()
Runs the default segmentation process with the default parameter values.
|
void |
setIO(Reader in,
Writer out,
Writer err) |
apply, getAreaProviders, getAreaTree, getBoxProviders, getLogicalAreaTree, getLogicalProviders, getOperators, getPage, initAreaTree, initLogicalTree, renderPage, setAreaTree, setLogicalAreaTree, setPage, treesCompletedpublic org.fit.layout.model.Page renderPage(String providerName, Map<String,Object> params)
public org.fit.layout.model.AreaTree initAreaTree(String providerName, Map<String,Object> params)
public org.fit.layout.model.LogicalAreaTree initLogicalTree(String providerName, Map<String,Object> params)
public org.fit.layout.model.AreaTree segmentPage()
BaseProcessorsegmentPage in class BaseProcessornull for an unsuccessfull segmentationpublic org.fit.layout.model.LogicalAreaTree buildLogicalTree()
BaseProcessorbuildLogicalTree in class BaseProcessornull for an unsuccessfull buildprotected ScriptEngine getEngine()
public void flushIO()
public boolean execInternal(String scriptName) throws ScriptException
ScriptExceptionpublic boolean execCommand(String command) throws ScriptException
ScriptExceptionCopyright © 2015. All rights reserved.