|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.pogamut.posh.explorer.NameMapCrawler
public class NameMapCrawler
Special cralwer listener that will listen for all collected PrimitiveData
and pass mapping of names to ShedPresenter.
| Constructor Summary | |
|---|---|
NameMapCrawler(ShedPresenter presenter)
|
|
| Method Summary | |
|---|---|
void |
crawledData(Crawler<PrimitiveData> crawler,
Collection<PrimitiveData> data)
When receiving new PrimitiveData, set name mapping in ShedPresenter,
fqn to PrimitiveData. |
void |
finished(Crawler<PrimitiveData> crawler,
boolean error)
Do nothing. |
void |
started(Crawler<PrimitiveData> crawler)
When crawling starts, clear previsou name mappings ( ShedPresenter#setNameMapping(fqn, null)) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NameMapCrawler(ShedPresenter presenter)
| Method Detail |
|---|
public void started(Crawler<PrimitiveData> crawler)
ShedPresenter#setNameMapping(fqn, null))
started in interface CrawlerListener<PrimitiveData>crawler - crawler that has started executing.
public void crawledData(Crawler<PrimitiveData> crawler,
Collection<PrimitiveData> data)
PrimitiveData, set name mapping in ShedPresenter,
fqn to PrimitiveData.
crawledData in interface CrawlerListener<PrimitiveData>data - crawler - crawler that has crawled new dataShedPresenter.setNameMapping(java.lang.String,
cz.cuni.pogamut.posh.explorer.PrimitiveData)
public void finished(Crawler<PrimitiveData> crawler,
boolean error)
finished in interface CrawlerListener<PrimitiveData>crawler - crawler that has finished.error - did crawler finsih because of error?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||