org.apache.cocoon.processor
Interface Processor

All Known Implementing Classes:
AbstractXSLProcessor

public abstract interface Processor

Every DOM processor must extend this interface to be recognized by Cocoon as a DOM processor.

This class and the whole package is heavily based on the DOM processing framework developed by the OpenXML effort.

Version:
$Revision: 1.1.1.1 $ $Date: 1999/03/09 23:09:29 $
Author:
Stefano Mazzocchi

Method Summary
 void init(ProcessorContext context)
          Initialize the processor.
 org.w3c.dom.Document process(org.w3c.dom.Document document, ProcessorParameters parameters)
          Process the DOM tree.
 

Method Detail

init

public void init(ProcessorContext context)
Initialize the processor.

process

public org.w3c.dom.Document process(org.w3c.dom.Document document,
                                    ProcessorParameters parameters)
                             throws java.lang.Exception
Process the DOM tree. The returned tree is allowed to be either a copy or the modified input tree.

Copyright (c) 1998 The Java Apache Project