Interface InputProcessor

    • Method Detail

      • addBeforeProcessor

        void addBeforeProcessor​(java.lang.Object processor)
        Add this processor before the given processor
        Parameters:
        processor -
      • getBeforeProcessors

        java.util.Set<java.lang.Object> getBeforeProcessors()
        This InputProcessor will be added before the processors in this set
        Returns:
        The set with the named InputProcessors
      • addAfterProcessor

        void addAfterProcessor​(java.lang.Object processor)
        Add this processor after the given processor
        Parameters:
        processor -
      • getAfterProcessors

        java.util.Set<java.lang.Object> getAfterProcessors()
        This InputProcessor will be added after the processors in this set
        Returns:
        The set with the named InputProcessors
      • processHeaderEvent

        XMLSecEvent processHeaderEvent​(InputProcessorChain inputProcessorChain)
                                throws javax.xml.stream.XMLStreamException,
                                       XMLSecurityException
        Will be called from the framework when the next security-header XMLEvent is requested
        Parameters:
        inputProcessorChain -
        Returns:
        The next XMLSecEvent
        Throws:
        javax.xml.stream.XMLStreamException - thrown when a streaming error occurs
        XMLSecurityException - thrown when a Security failure occurs
      • processEvent

        XMLSecEvent processEvent​(InputProcessorChain inputProcessorChain)
                          throws javax.xml.stream.XMLStreamException,
                                 XMLSecurityException
        Will be called from the framework when the next XMLEvent is requested
        Parameters:
        inputProcessorChain -
        Returns:
        The next XMLSecEvent
        Throws:
        javax.xml.stream.XMLStreamException - thrown when a streaming error occurs
        XMLSecurityException - thrown when a Security failure occurs
      • doFinal

        void doFinal​(InputProcessorChain inputProcessorChain)
              throws javax.xml.stream.XMLStreamException,
                     XMLSecurityException
        Will be called when the whole document is processed.
        Parameters:
        inputProcessorChain -
        Throws:
        javax.xml.stream.XMLStreamException - thrown when a streaming error occurs
        XMLSecurityException - thrown when a Security failure occurs