|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Instance of a processor. The processor instance brings together the process context, and one or more processor engines. The process context is created by the processor and placed under its control. This interface does not define how the processor finds or determines the order of activation of engines. The processor can be used to process multiple documents serially using the same context and engines.
The methods process(Document)
and process(Node)
are functionally
equivalent and only exist as a convenience.
ProcessContext
,
ProcessorFactory
Method Summary | |
ProcessContext |
getContext()
Returns the processing context associated with this processor instance. |
Document |
process(Document source)
Called to process a document. |
Node |
process(Node source)
Called to process a node or node tree. |
Method Detail |
public Document process(Document source) throws ProcessorException
source
- The document to processpublic Node process(Node source) throws ProcessorException
source
- The node or node tree to processpublic ProcessContext getContext()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |