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, waitprocessEvent, processHeaderEventpublic 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 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–2020 The Apache Software Foundation. All rights reserved.