| java.lang.Object org.webharvest.runtime.processors.BaseProcessor
All known Subclasses: org.webharvest.runtime.processors.FileProcessor, org.webharvest.runtime.processors.XQueryProcessor, org.webharvest.runtime.processors.HttpParamProcessor, org.webharvest.runtime.processors.RegexpProcessor, org.webharvest.runtime.processors.VarDefProcessor, org.webharvest.runtime.processors.LoopProcessor, org.webharvest.runtime.processors.HttpHeaderProcessor, org.webharvest.runtime.processors.IncludeProcessor, org.webharvest.runtime.processors.HttpProcessor, org.webharvest.runtime.processors.TemplateProcessor, org.webharvest.runtime.processors.HtmlToXmlProcessor, org.webharvest.runtime.processors.CallProcessor, org.webharvest.runtime.processors.CallParamProcessor, org.webharvest.runtime.processors.ReturnProcessor, org.webharvest.runtime.processors.TryProcessor, org.webharvest.runtime.processors.TextProcessor, org.webharvest.runtime.processors.WhileProcessor, org.webharvest.runtime.processors.XPathProcessor, org.webharvest.runtime.processors.EmptyProcessor, org.webharvest.runtime.processors.CaseProcessor, org.webharvest.runtime.processors.VarProcessor, org.webharvest.runtime.processors.ConstantProcessor, org.webharvest.runtime.processors.FunctionProcessor, org.webharvest.runtime.processors.ScriptProcessor, org.webharvest.runtime.processors.XsltProcessor,
BaseProcessor | abstract public class BaseProcessor (Code) | | Base processor that contains common processor logic.
All other processors extend this class.
|
Method Summary | |
protected void | debug(BaseElementDef elementDef, Scraper scraper, IVariable variable) | abstract public IVariable | execute(Scraper scraper, ScraperContext context) | protected IVariable[] | executeBody(BaseElementDef elementDef, Scraper scraper, ScraperContext context) | protected IVariable | getBodyBinaryContent(BaseElementDef elementDef, Scraper scraper, ScraperContext context) | protected IVariable | getBodyListContent(BaseElementDef elementDef, Scraper scraper, ScraperContext context) | protected IVariable | getBodyTextContent(BaseElementDef elementDef, Scraper scraper, ScraperContext context) | public BaseElementDef | getElementDef() | public IVariable | run(Scraper scraper, ScraperContext context) Wrapper for the execute method. |
log | protected static Logger log(Code) | | |
BaseProcessor | protected BaseProcessor()(Code) | | |
BaseProcessor | protected BaseProcessor(BaseElementDef elementDef)(Code) | | Base constructor - assigns element definition to the processor.
Parameters: elementDef - |
|
|