public class CompositePageProcessor extends Object implements PageProcessor
Constructor and Description |
---|
CompositePageProcessor(Site site) |
Modifier and Type | Method and Description |
---|---|
CompositePageProcessor |
addSubPageProcessor(SubPageProcessor subPageProcessor) |
Site |
getSite()
get the site settings
|
void |
process(Page page)
process the page, extract urls to fetch, extract the data and store
|
CompositePageProcessor |
setSite(Site site) |
CompositePageProcessor |
setSubPageProcessors(SubPageProcessor... subPageProcessors) |
public CompositePageProcessor(Site site)
public void process(Page page)
PageProcessor
process
in interface PageProcessor
page
- pagepublic CompositePageProcessor setSite(Site site)
public CompositePageProcessor addSubPageProcessor(SubPageProcessor subPageProcessor)
public CompositePageProcessor setSubPageProcessors(SubPageProcessor... subPageProcessors)
public Site getSite()
PageProcessor
getSite
in interface PageProcessor
Site
Copyright © 2017. All rights reserved.