|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutputProcessorChain
The OutputProcessorChain manages the OutputProcessors and controls the XMLEvent flow
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.apache.xml.security.stax.ext.ProcessorChain |
|---|
doFinal, reset |
| Method Detail |
|---|
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 occurs
XMLSecurityException - thrown when a Security failure occurs
OutputProcessorChain createSubChain(OutputProcessor outputProcessor,
XMLSecStartElement parentXMLSecStartElement)
throws XMLStreamException,
XMLSecurityException
XMLStreamException
XMLSecurityException
void processEvent(XMLSecEvent xmlSecEvent)
throws XMLStreamException,
XMLSecurityException
xmlSecEvent - The XMLEvent which should be forwarded to the next processor
XMLStreamException - thrown when a streaming error occurs
XMLSecurityException - thrown when a Security failure occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||