public interface OutputProcessor
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(OutputProcessorChain outputProcessorChain)
Will be called when the whole document is processed.
|
Set<Object> |
getAfterProcessors()
This OutputProcessor will be added after the processors in this set
|
Set<Object> |
getBeforeProcessors()
This OutputProcessor will be added before the processors in this set
|
XMLSecurityConstants.Phase |
getPhase()
The Phase in which this OutputProcessor should be applied
|
void |
init(OutputProcessorChain outputProcessorChain)
Method will be called after setting the properties
|
void |
processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain)
Will be called from the framework for every XMLEvent
|
void |
setAction(XMLSecurityConstants.Action action)
setter for the Action after instantiation of the processor
|
void |
setXMLSecurityProperties(XMLSecurityProperties xmlSecurityProperties)
setter for the XMLSecurityProperties after instantiation of the processor
|
void setXMLSecurityProperties(XMLSecurityProperties xmlSecurityProperties)
xmlSecurityProperties
- void setAction(XMLSecurityConstants.Action action)
action
- void init(OutputProcessorChain outputProcessorChain) throws XMLSecurityException
XMLSecurityException
void addBeforeProcessor(Object processor)
processor
- Set<Object> getBeforeProcessors()
void addAfterProcessor(Object processor)
processor
- Set<Object> getAfterProcessors()
XMLSecurityConstants.Phase getPhase()
void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
xmlSecEvent
- The next XMLEvent to processoutputProcessorChain
- XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursvoid doFinal(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
outputProcessorChain
- XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.