|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputProcessor
This is the Interface which every OutputProcessor must implement.
Method Summary | |
---|---|
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 |
processNextEvent(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 |
Method Detail |
---|
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 processNextEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
xmlSecEvent
- The next XMLEvent to processoutputProcessorChain
-
XMLStreamException
- thrown when a streaming error occurs
XMLSecurityException
- thrown when a Security failure occursvoid doFinal(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
outputProcessorChain
-
XMLStreamException
- thrown when a streaming error occurs
XMLSecurityException
- thrown when a Security failure occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |