InputProcessorAbstractDecryptInputProcessor, AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor, AbstractSignatureReferenceVerifyInputProcessor, AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier, LogInputProcessor, XMLEventReaderInputProcessor, XMLSecurityInputProcessor, XMLSecurityInputProcessor.InternalBufferProcessor, XMLSecurityInputProcessor.InternalReplayProcessorpublic abstract class AbstractInputProcessor extends Object implements InputProcessor
| Constructor | Description |
|---|---|
AbstractInputProcessor(XMLSecurityProperties securityProperties) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addAfterProcessor(Object processor) |
Add this processor after the given processor
|
void |
addBeforeProcessor(Object processor) |
Add this processor before the given processor
|
void |
doFinal(InputProcessorChain inputProcessorChain) |
Will be called when the whole document is processed.
|
Set<Object> |
getAfterProcessors() |
This InputProcessor will be added after the processors in this set
|
Set<Object> |
getBeforeProcessors() |
This InputProcessor will be added before the processors in this set
|
XMLSecurityConstants.Phase |
getPhase() |
The Phase in which this InputProcessor should be applied
|
Attribute |
getReferenceIDAttribute(XMLSecStartElement xmlSecStartElement) |
|
XMLSecurityProperties |
getSecurityProperties() |
|
abstract XMLSecEvent |
processNextEvent(InputProcessorChain inputProcessorChain) |
Will be called from the framework when the next XMLEvent is requested
|
abstract XMLSecEvent |
processNextHeaderEvent(InputProcessorChain inputProcessorChain) |
Will be called from the framework when the next security-header XMLEvent is requested
|
void |
setPhase(XMLSecurityConstants.Phase phase) |
public AbstractInputProcessor(XMLSecurityProperties securityProperties)
public XMLSecurityConstants.Phase getPhase()
InputProcessorgetPhase in interface InputProcessorpublic void setPhase(XMLSecurityConstants.Phase phase)
public void addBeforeProcessor(Object processor)
InputProcessoraddBeforeProcessor in interface InputProcessorpublic Set<Object> getBeforeProcessors()
InputProcessorgetBeforeProcessors in interface InputProcessorpublic void addAfterProcessor(Object processor)
InputProcessoraddAfterProcessor in interface InputProcessorpublic Set<Object> getAfterProcessors()
InputProcessorgetAfterProcessors in interface InputProcessorpublic abstract XMLSecEvent processNextHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessorprocessNextHeaderEvent in interface InputProcessorXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occurspublic abstract XMLSecEvent processNextEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessorprocessNextEvent in interface InputProcessorXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occurspublic void doFinal(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessordoFinal in interface InputProcessorXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occurspublic XMLSecurityProperties getSecurityProperties()
public Attribute getReferenceIDAttribute(XMLSecStartElement xmlSecStartElement)
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.