Package org.apache.xml.security.stax.ext
Interface ProcessorChain
-
- All Known Subinterfaces:
InputProcessorChain
,OutputProcessorChain
- All Known Implementing Classes:
InputProcessorChainImpl
,OutputProcessorChainImpl
public interface ProcessorChain
Basic interface for Output- and Input-Processor chains
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doFinal()
Will finally be called when the whole document is processed Important note: Every processor in the chain has to call doFinal() in its own doFinal() method.void
reset()
resets the chain so that the next event will go again to the first processor in the chain.
-
-
-
Method Detail
-
reset
void reset()
resets the chain so that the next event will go again to the first processor in the chain.
-
doFinal
void doFinal() throws javax.xml.stream.XMLStreamException, XMLSecurityException
Will finally be called when the whole document is processed Important note: Every processor in the chain has to call doFinal() in its own doFinal() method. InputProcessors should call it before doing other stuff to keep the processing order. Remember the input-chain is in principle processed in the reverse order since we "leech" the events through the chain. So that means that we should do the same for the doFinal method, otherwise we may run into troubles.- Throws:
javax.xml.stream.XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurs
-
-