org.webharvest.runtime
Class ScraperContext
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.webharvest.utils.Catalog
org.webharvest.runtime.ScraperContext
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
public class ScraperContext
- extends Catalog
Context of scraper execution. All the variables created during
scraper execution are stored in this context.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Methods inherited from class java.util.HashMap |
clear, clone, containsValue, entrySet, isEmpty, keySet, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
ScraperContext
public ScraperContext(Scraper scraper,
ScraperContext callerContext)
ScraperContext
public ScraperContext(Scraper scraper)
getVar
public Variable getVar(java.lang.String name)
setVar
public java.lang.Object setVar(java.lang.Object key,
java.lang.Object value)
getCallerContext
public ScraperContext getCallerContext()
dispose
public void dispose()