public abstract class AbstractBufferingOutputProcessor extends AbstractOutputProcessor
action, securityProperties| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBufferingOutputProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFinal(OutputProcessorChain outputProcessorChain)
Will be called when the whole document is processed.
|
protected void |
flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain,
Deque<XMLSecEvent> xmlSecEventDeque) |
protected Deque<XMLSecEvent> |
getXmlSecEventBuffer() |
void |
processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain)
Will be called from the framework for every XMLEvent
|
protected abstract void |
processHeaderEvent(OutputProcessorChain outputProcessorChain) |
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, getAction, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityPropertiesprotected AbstractBufferingOutputProcessor()
throws XMLSecurityException
XMLSecurityExceptionprotected Deque<XMLSecEvent> getXmlSecEventBuffer()
public void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessorxmlSecEvent - The next XMLEvent to processXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occurspublic void doFinal(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessordoFinal in interface OutputProcessordoFinal in class AbstractOutputProcessorXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occursprotected abstract void processHeaderEvent(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
protected void flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain, Deque<XMLSecEvent> xmlSecEventDeque) throws XMLStreamException, XMLSecurityException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.