public abstract class AbstractInputProcessor extends Object implements InputProcessor
Constructor and Description |
---|
AbstractInputProcessor(XMLSecurityProperties securityProperties) |
Modifier and Type | Method and 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() |
void |
setPhase(XMLSecurityConstants.Phase phase) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processEvent, processHeaderEvent
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 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–2020 The Apache Software Foundation. All rights reserved.