public interface InputProcessorChain extends ProcessorChain
| Modifier and Type | Method and Description | 
|---|---|
void | 
addProcessor(InputProcessor inputProcessor)
Adds an InputProcessor to the chain. 
 | 
InputProcessorChain | 
createSubChain(InputProcessor inputProcessor)
Create a new SubChain. 
 | 
InputProcessorChain | 
createSubChain(InputProcessor inputProcessor,
              boolean clone)
Create a new SubChain. 
 | 
DocumentContext | 
getDocumentContext()
The actual processed document's document context 
 | 
List<InputProcessor> | 
getProcessors()
Returns a list with the active processors. 
 | 
InboundSecurityContext | 
getSecurityContext()
The actual processed document's security context 
 | 
XMLSecEvent | 
processEvent()
Requests the next XMLEvent from the next processor in the chain. 
 | 
XMLSecEvent | 
processHeaderEvent()
Requests the next security header XMLEvent from the next processor in the chain. 
 | 
void | 
removeProcessor(InputProcessor inputProcessor)
Removes the specified InputProcessor from this chain. 
 | 
doFinal, resetvoid addProcessor(InputProcessor inputProcessor)
inputProcessor - The InputProcessor which should be placed in the chainvoid removeProcessor(InputProcessor inputProcessor)
inputProcessor - to removeList<InputProcessor> getProcessors()
InboundSecurityContext getSecurityContext()
DocumentContext getDocumentContext()
InputProcessorChain createSubChain(InputProcessor inputProcessor) throws XMLStreamException, XMLSecurityException
inputProcessor - The InputProcessor position the XMLEvents should be processed over this SubChain.XMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occursInputProcessorChain createSubChain(InputProcessor inputProcessor, boolean clone) throws XMLStreamException, XMLSecurityException
inputProcessor - The InputProcessor position the XMLEvents should be processed over this SubChain.clone - if true the associated DocumentContext will be cloned otherwise the DocumentContext will be referenced.XMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occursXMLSecEvent processHeaderEvent() throws XMLStreamException, XMLSecurityException
XMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occursXMLSecEvent processEvent() throws XMLStreamException, XMLSecurityException
XMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occursCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.