org.apache.xml.security.stax.impl.processor.output
Class AbstractEncryptOutputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractOutputProcessor
org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
- All Implemented Interfaces:
- OutputProcessor
- Direct Known Subclasses:
- XMLEncryptOutputProcessor
public abstract class AbstractEncryptOutputProcessor
- extends AbstractOutputProcessor
Processor to encrypt XML structures
- Version:
- $Revision: 1560051 $ $Date: 2014-01-21 16:00:38 +0000 (Tue, 21 Jan 2014) $
- Author:
- $Author: coheigea $
| 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, outputDOMElement, processNextEvent, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEncryptOutputProcessor
public AbstractEncryptOutputProcessor()
throws XMLSecurityException
- Throws:
XMLSecurityException
processEvent
public abstract 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
doFinalInternal
protected void doFinalInternal(OutputProcessorChain outputProcessorChain)
throws XMLSecurityException
- Throws:
XMLSecurityException
verifyEncryptionParts
protected void verifyEncryptionParts(OutputProcessorChain outputProcessorChain)
throws XMLSecurityException
- Throws:
XMLSecurityException
getActiveInternalEncryptionOutputProcessor
protected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor getActiveInternalEncryptionOutputProcessor()
setActiveInternalEncryptionOutputProcessor
protected void setActiveInternalEncryptionOutputProcessor(AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor activeInternalEncryptionOutputProcessor)
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.