public class FinalOutputProcessor extends AbstractOutputProcessor
action, securityProperties
Constructor and Description |
---|
FinalOutputProcessor(OutputStream outputStream,
String encoding) |
FinalOutputProcessor(XMLStreamWriter xmlStreamWriter) |
Modifier and Type | Method and Description |
---|---|
void |
doFinal(OutputProcessorChain outputProcessorChain)
Will be called when the whole document is processed.
|
void |
processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain)
Will be called from the framework for every XMLEvent
|
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, setXMLSecurityProperties
public FinalOutputProcessor(OutputStream outputStream, String encoding) throws XMLSecurityException
XMLSecurityException
public FinalOutputProcessor(XMLStreamWriter xmlStreamWriter) throws XMLSecurityException
XMLSecurityException
public void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessor
xmlSecEvent
- The next XMLEvent to processXMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic void doFinal(OutputProcessorChain outputProcessorChain) throws XMLSecurityException
OutputProcessor
doFinal
in interface OutputProcessor
doFinal
in class AbstractOutputProcessor
XMLSecurityException
- thrown when a Security failure occursCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.