InputProcessor
AbstractDecryptInputProcessor
, AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
, AbstractSignatureReferenceVerifyInputProcessor
, AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier
, LogInputProcessor
, XMLEventReaderInputProcessor
, XMLSecurityInputProcessor
, XMLSecurityInputProcessor.InternalBufferProcessor
, XMLSecurityInputProcessor.InternalReplayProcessor
public 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()
InputProcessor
getPhase
in interface InputProcessor
public void setPhase(XMLSecurityConstants.Phase phase)
public void addBeforeProcessor(Object processor)
InputProcessor
addBeforeProcessor
in interface InputProcessor
public Set<Object> getBeforeProcessors()
InputProcessor
getBeforeProcessors
in interface InputProcessor
public void addAfterProcessor(Object processor)
InputProcessor
addAfterProcessor
in interface InputProcessor
public Set<Object> getAfterProcessors()
InputProcessor
getAfterProcessors
in interface InputProcessor
public abstract XMLSecEvent processNextHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
processNextHeaderEvent
in interface InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic abstract XMLSecEvent processNextEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
processNextEvent
in interface InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic void doFinal(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
doFinal
in interface InputProcessor
XMLStreamException
- 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.