Class AbstractITextConfigurationEvent

    • Constructor Detail

      • AbstractITextConfigurationEvent

        public AbstractITextConfigurationEvent()
    • Method Detail

      • removeProcessor

        protected ITextProductEventProcessor removeProcessor​(java.lang.String productName)
        Removes a processor registered for a product.
        Parameters:
        productName - is a product for which processor is removed
        Returns:
        removed processor
      • getActiveProcessor

        protected ITextProductEventProcessor getActiveProcessor​(java.lang.String productName)
        Gets a processor registered for a product.

        If processor isn't registered and product supports AGPL mode DefaultITextProductEventProcessor will be obtained otherwise null will be returned.

        Parameters:
        productName - is a product for which processor is obtained
        Returns:
        processor for the product
      • getProcessors

        protected java.util.Map<java.lang.String,​ITextProductEventProcessor> getProcessors()
        Gets an unmodifiable map of registered processors.
        Returns:
        all processors
      • getEvents

        protected java.util.List<AbstractProductProcessITextEvent> getEvents​(SequenceId id)
        Gets events registered for provided identifier.
        Parameters:
        id - is the identifier
        Returns:
        the list of event for identifier
      • addEvent

        protected void addEvent​(SequenceId id,
                                AbstractProductProcessITextEvent event)
        Registers a new event for provided identifier.
        Parameters:
        id - is the identifier
        event - is the event to register
      • registerInternalNamespace

        protected void registerInternalNamespace​(java.lang.String namespace)
        Registers internal namespace.
        Parameters:
        namespace - is the namespace to register
      • doAction

        protected abstract void doAction()
        Method defines the logic of action processing.