public class XMLEventReaderInputProcessor extends AbstractInputProcessor
Constructor and Description |
---|
XMLEventReaderInputProcessor(XMLSecurityProperties securityProperties,
XMLStreamReader xmlStreamReader) |
Modifier and Type | Method and Description |
---|---|
void |
doFinal(InputProcessorChain inputProcessorChain)
Will be called when the whole document is processed.
|
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
|
addAfterProcessor, addBeforeProcessor, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
public XMLEventReaderInputProcessor(XMLSecurityProperties securityProperties, XMLStreamReader xmlStreamReader)
public XMLSecEvent processHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic XMLSecEvent processEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic void doFinal(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
doFinal
in interface InputProcessor
doFinal
in class AbstractInputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.