public interface InputProcessor
Modifier and Type | Method and Description |
---|---|
void |
addAfterProcessor(Object processor)
Add this processor after the given processor
|
void |
addBeforeProcessor(Object processor)
Add this processor before the given processor
|
void |
doFinal(InputProcessorChain inputProcessorChain)
Will be called when the whole document is processed.
|
Set<Object> |
getAfterProcessors()
This InputProcessor will be added after the processors in this set
|
Set<Object> |
getBeforeProcessors()
This InputProcessor will be added before the processors in this set
|
XMLSecurityConstants.Phase |
getPhase()
The Phase in which this InputProcessor should be applied
|
XMLSecEvent |
processEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next XMLEvent is requested
|
XMLSecEvent |
processHeaderEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next security-header XMLEvent is requested
|
void addBeforeProcessor(Object processor)
processor
- Set<Object> getBeforeProcessors()
void addAfterProcessor(Object processor)
processor
- Set<Object> getAfterProcessors()
XMLSecurityConstants.Phase getPhase()
XMLSecEvent processHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
inputProcessorChain
- XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursXMLSecEvent processEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
inputProcessorChain
- XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursvoid doFinal(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
inputProcessorChain
- XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.