public interface OutputProcessorChain extends ProcessorChain
Modifier and Type | Method and Description |
---|---|
void |
addProcessor(OutputProcessor outputProcessor)
Adds an OutputProcessor to the chain.
|
OutputProcessorChain |
createSubChain(OutputProcessor outputProcessor)
Create a new SubChain.
|
OutputProcessorChain |
createSubChain(OutputProcessor outputProcessor,
XMLSecStartElement parentXMLSecStartElement) |
DocumentContext |
getDocumentContext()
The actual processed document's document context
|
List<OutputProcessor> |
getProcessors()
Returns a list with the active processors.
|
OutboundSecurityContext |
getSecurityContext()
The actual processed document's security context
|
void |
processEvent(XMLSecEvent xmlSecEvent)
Forwards the XMLEvent to the next processor in the chain.
|
void |
removeProcessor(OutputProcessor outputProcessor)
Removes the specified OutputProcessor from this chain.
|
doFinal, reset
void addProcessor(OutputProcessor outputProcessor)
outputProcessor
- The OutputProcessor which should be placed in the chainvoid removeProcessor(OutputProcessor outputProcessor)
outputProcessor
- to removeList<OutputProcessor> getProcessors()
OutboundSecurityContext getSecurityContext()
DocumentContext getDocumentContext()
OutputProcessorChain createSubChain(OutputProcessor outputProcessor) throws XMLStreamException, XMLSecurityException
outputProcessor
- The OutputProcessor position the XMLEvents should be processed over this SubChain.XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursOutputProcessorChain createSubChain(OutputProcessor outputProcessor, XMLSecStartElement parentXMLSecStartElement) throws XMLStreamException, XMLSecurityException
void processEvent(XMLSecEvent xmlSecEvent) throws XMLStreamException, XMLSecurityException
xmlSecEvent
- The XMLEvent which should be forwarded to the next processorXMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.