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