Class TerminateVisitor

    • Constructor Detail

      • TerminateVisitor

        public TerminateVisitor()
    • Method Detail

      • setTerminateBefore

        @Inject
        public TerminateVisitor setTerminateBefore​(Optional<Boolean> terminateBefore)
        Parameters:
        terminateBefore - the terminateBefore to set
      • getProducts

        public Set<?> getProducts()
        Description copied from interface: Producer
        Get the set of products produced by this producer instance.
        Specified by:
        getProducts in interface Producer
        Returns:
        The set the set of products produced by this producer instance.
      • visitAfter

        public void visitAfter​(Element element,
                               ExecutionContext executionContext)
        Description copied from interface: AfterVisitor
        Visits the end of an Element.
        Specified by:
        visitAfter in interface AfterVisitor
        Parameters:
        element - the Element representing the end of the fragment. The Element's ancestors are traversable unless the global configuration parameter maintain.element.stack is set to false. The Element's child nodes are traversable if one of the following conditions are met:
        executionContext - the current ExecutionContext
      • visitBefore

        public void visitBefore​(Element element,
                                ExecutionContext executionContext)
        Description copied from interface: BeforeVisitor
        Visits the beginning of an Element.
        Specified by:
        visitBefore in interface BeforeVisitor
        Parameters:
        element - the Element representing the beginning of the fragment. The Element's ancestors are traversable unless the global configuration parameter maintain.element.stack is set to false. The Element's child nodes are not traversable.
        executionContext - the current ExecutionContext