org.apache.xml.security.stax.ext
Class AbstractBufferingOutputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractOutputProcessor
org.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor
- All Implemented Interfaces:
- OutputProcessor
- Direct Known Subclasses:
- AbstractEncryptEndingOutputProcessor, AbstractSignatureEndingOutputProcessor
public abstract class AbstractBufferingOutputProcessor
- extends AbstractOutputProcessor
An abstract OutputProcessor class for reusabilty
- Version:
- $Revision: 1484117 $ $Date: 2013-05-18 14:38:38 +0100 (Sat, 18 May 2013) $
- Author:
- $Author: giger $
Methods inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor |
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, getAction, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, processNextEvent, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBufferingOutputProcessor
protected AbstractBufferingOutputProcessor()
throws XMLSecurityException
- Throws:
XMLSecurityException
getXmlSecEventBuffer
protected Deque<XMLSecEvent> getXmlSecEventBuffer()
processEvent
public void processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Specified by:
processEvent
in class AbstractOutputProcessor
- Throws:
XMLStreamException
XMLSecurityException
doFinal
public void doFinal(OutputProcessorChain outputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Description copied from interface:
OutputProcessor
- Will be called when the whole document is processed.
- Specified by:
doFinal
in interface OutputProcessor
- Overrides:
doFinal
in class AbstractOutputProcessor
- Throws:
XMLStreamException
- thrown when a streaming error occurs
XMLSecurityException
- thrown when a Security failure occurs
processHeaderEvent
protected abstract void processHeaderEvent(OutputProcessorChain outputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Throws:
XMLStreamException
XMLSecurityException
flushBufferAndCallbackAfterHeader
protected void flushBufferAndCallbackAfterHeader(OutputProcessorChain outputProcessorChain,
Deque<XMLSecEvent> xmlSecEventDeque)
throws XMLStreamException,
XMLSecurityException
- Throws:
XMLStreamException
XMLSecurityException
Copyright © 2000–2013 The Apache Software Foundation. All rights reserved.