|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.security.stax.ext.AbstractInputProcessor
public abstract class AbstractInputProcessor
An abstract InputProcessor class for reusabilty
Constructor Summary | |
---|---|
AbstractInputProcessor(XMLSecurityProperties securityProperties)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractInputProcessor(XMLSecurityProperties securityProperties)
Method Detail |
---|
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 occurs
XMLSecurityException
- 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 occurs
XMLSecurityException
- thrown when a Security failure occurspublic void doFinal(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
doFinal
in interface InputProcessor
XMLStreamException
- thrown when a streaming error occurs
XMLSecurityException
- thrown when a Security failure occurspublic XMLSecurityProperties getSecurityProperties()
public Attribute getReferenceIDAttribute(XMLSecStartElement xmlSecStartElement)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |