|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputProcessorChain
The InputProcessorChain manages the InputProcessors and controls the XMLEvent flow
Method Summary | |
---|---|
void |
addProcessor(InputProcessor inputProcessor)
Adds an InputProcessor to the chain. |
InputProcessorChain |
createSubChain(InputProcessor inputProcessor)
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. |
Methods inherited from interface org.apache.xml.security.stax.ext.ProcessorChain |
---|
doFinal, reset |
Method Detail |
---|
void 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 occurs
XMLSecurityException
- thrown when a Security failure occursXMLSecEvent processHeaderEvent() throws XMLStreamException, XMLSecurityException
XMLStreamException
- thrown when a streaming error occurs
XMLSecurityException
- thrown when a Security failure occursXMLSecEvent processEvent() throws XMLStreamException, XMLSecurityException
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 |