|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.security.stax.impl.InputProcessorChainImpl
public class InputProcessorChainImpl
Implementation of a InputProcessorChain
| Field Summary | |
|---|---|
protected static boolean |
isDebugEnabled
|
protected static org.slf4j.Logger |
log
|
| Constructor Summary | |
|---|---|
|
InputProcessorChainImpl(InboundSecurityContext inboundSecurityContext)
|
|
InputProcessorChainImpl(InboundSecurityContext inboundSecurityContext,
DocumentContextImpl documentContext)
|
protected |
InputProcessorChainImpl(InboundSecurityContext inboundSecurityContext,
DocumentContextImpl documentContextImpl,
int startPos,
List<InputProcessor> inputProcessors)
|
|
InputProcessorChainImpl(InboundSecurityContext inboundSecurityContext,
int startPos)
|
| Method Summary | |
|---|---|
void |
addProcessor(InputProcessor newInputProcessor)
Adds an InputProcessor to the chain. |
InputProcessorChain |
createSubChain(InputProcessor inputProcessor)
Create a new SubChain. |
void |
doFinal()
Will finally be called when the whole document is processed Important note: Every processor in the chain has to call doFinal() in its own doFinal() method. |
DocumentContext |
getDocumentContext()
The actual processed document's document context |
List<InputProcessor> |
getProcessors()
Returns a list with the active processors. |
InboundSecurityContext |
getSecurityContext()
The actual processed document's security context |
XMLSecEvent |
processEvent()
Requests the next XMLEvent from the next processor in the chain. |
XMLSecEvent |
processHeaderEvent()
Requests the next security header XMLEvent from the next processor in the chain. |
void |
removeProcessor(InputProcessor inputProcessor)
Removes the specified InputProcessor from this chain. |
void |
reset()
resets the chain so that the next event will go again to the first processor in the chain. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final transient org.slf4j.Logger log
protected static final transient boolean isDebugEnabled
| Constructor Detail |
|---|
public InputProcessorChainImpl(InboundSecurityContext inboundSecurityContext)
public InputProcessorChainImpl(InboundSecurityContext inboundSecurityContext,
int startPos)
public InputProcessorChainImpl(InboundSecurityContext inboundSecurityContext,
DocumentContextImpl documentContext)
protected InputProcessorChainImpl(InboundSecurityContext inboundSecurityContext,
DocumentContextImpl documentContextImpl,
int startPos,
List<InputProcessor> inputProcessors)
| Method Detail |
|---|
public void reset()
ProcessorChain
reset in interface ProcessorChainpublic InboundSecurityContext getSecurityContext()
InputProcessorChain
getSecurityContext in interface InputProcessorChainpublic DocumentContext getDocumentContext()
InputProcessorChain
getDocumentContext in interface InputProcessorChainpublic void addProcessor(InputProcessor newInputProcessor)
InputProcessorChain
addProcessor in interface InputProcessorChainnewInputProcessor - The InputProcessor which should be placed in the chainpublic void removeProcessor(InputProcessor inputProcessor)
InputProcessorChain
removeProcessor in interface InputProcessorChaininputProcessor - to removepublic List<InputProcessor> getProcessors()
InputProcessorChain
getProcessors in interface InputProcessorChain
public XMLSecEvent processHeaderEvent()
throws XMLStreamException,
XMLSecurityException
InputProcessorChain
processHeaderEvent in interface InputProcessorChainXMLStreamException - thrown when a streaming error occurs
XMLSecurityException - thrown when a Security failure occurs
public XMLSecEvent processEvent()
throws XMLStreamException,
XMLSecurityException
InputProcessorChain
processEvent in interface InputProcessorChainXMLStreamException - thrown when a streaming error occurs
XMLSecurityException - thrown when a Security failure occurs
public void doFinal()
throws XMLStreamException,
XMLSecurityException
ProcessorChain
doFinal in interface ProcessorChainXMLStreamException - thrown when a streaming error occurs
XMLSecurityException - thrown when a Security failure occurs
public InputProcessorChain createSubChain(InputProcessor inputProcessor)
throws XMLStreamException,
XMLSecurityException
InputProcessorChain
createSubChain in interface InputProcessorChaininputProcessor - The InputProcessor position the XMLEvents should be processed over this SubChain.
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 | |||||||||