|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.crawler.framework.ProcessorChain
public class ProcessorChain
This class groups together a number of processors that logically fit together.
Constructor Summary | |
---|---|
ProcessorChain(MapType processorMap)
Construct a new processor chain. |
Method Summary | |
---|---|
Processor |
getFirstProcessor()
Get the first processor in the chain. |
ProcessorChain |
getNextProcessorChain()
Get the processor chain that the URI should be working through after finishing this one. |
Processor |
getProcessor(java.lang.Class classType)
Get the first processor that is of class classType or a
subclass of it. |
java.util.Iterator |
iterator()
Get an iterator over the processors in this chain. |
void |
kickUpdate()
|
void |
setNextChain(ProcessorChain nextProcessorChain)
Set the processor chain that the URI should be working through after finishing this one. |
int |
size()
Get the number of processors in this chain. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessorChain(MapType processorMap)
processorMap
- a map of the processors belonging to this chain.Method Detail |
---|
public void setNextChain(ProcessorChain nextProcessorChain)
nextProcessorChain
- the chain that should be processed after this
one.public ProcessorChain getNextProcessorChain()
public Processor getFirstProcessor()
public Processor getProcessor(java.lang.Class classType)
classType
or a
subclass of it.
classType
- the class of the requested processor.
public int size()
public java.util.Iterator iterator()
public void kickUpdate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |