|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputProcessor
This is the Interface which every InputProcessor 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(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 |
processNextEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next XMLEvent is requested |
XMLSecEvent |
processNextHeaderEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next security-header XMLEvent is requested |
Method Detail |
---|
void addBeforeProcessor(Object processor)
processor
- Set<Object> getBeforeProcessors()
void addAfterProcessor(Object processor)
processor
- Set<Object> getAfterProcessors()
XMLSecurityConstants.Phase getPhase()
XMLSecEvent processNextHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
inputProcessorChain
-
XMLStreamException
- thrown when a streaming error occurs
XMLSecurityException
- thrown when a Security failure occursXMLSecEvent processNextEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
inputProcessorChain
-
XMLStreamException
- thrown when a streaming error occurs
XMLSecurityException
- thrown when a Security failure occursvoid doFinal(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
inputProcessorChain
-
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 |