|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.webharvest.runtime.processors.BaseProcessor
org.webharvest.runtime.processors.WebHarvestPlugin
org.webharvest.runtime.processors.plugins.DatabasePlugin
public class DatabasePlugin
Support for database operations.
| Constructor Summary | |
|---|---|
DatabasePlugin()
|
|
| Method Summary | |
|---|---|
Variable |
executePlugin(Scraper scraper,
ScraperContext context)
Mathod that actually executes processor. |
java.lang.String[] |
getAttributeValueSuggestions(java.lang.String attributeName)
|
java.lang.Class[] |
getDependantProcessors()
Defines dependant subprocessors that are used inside this plugin and that will automatically be registered with this plugin. |
java.lang.String |
getName()
Defines name of the processor. |
java.lang.String[] |
getRequiredAttributes()
This method should return all mandatory attribute names for the plugin processor. |
java.lang.String[] |
getValidAttributes()
This method should return all possible attribute names for the plugin processor. |
| Methods inherited from class org.webharvest.runtime.processors.WebHarvestPlugin |
|---|
execute, getAttributeDesc, getRequiredSubprocessors, getTagDesc, getValidSubprocessors, hasBody, setDef |
| Methods inherited from class org.webharvest.runtime.processors.BaseProcessor |
|---|
getElementDef, run |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabasePlugin()
| Method Detail |
|---|
public java.lang.String getName()
WebHarvestPlugin
getName in class WebHarvestPlugin
public Variable executePlugin(Scraper scraper,
ScraperContext context)
WebHarvestPlugin
executePlugin in class WebHarvestPluginpublic java.lang.String[] getValidAttributes()
WebHarvestPlugin
getValidAttributes in class WebHarvestPluginpublic java.lang.String[] getRequiredAttributes()
WebHarvestPlugin
getRequiredAttributes in class WebHarvestPluginpublic java.lang.String[] getAttributeValueSuggestions(java.lang.String attributeName)
getAttributeValueSuggestions in class WebHarvestPluginattributeName - Name of plugin attribute
public java.lang.Class[] getDependantProcessors()
WebHarvestPlugin
getDependantProcessors in class WebHarvestPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||