Class ElementPositionCounter

    • Constructor Detail

      • ElementPositionCounter

        public ElementPositionCounter()
    • Method Detail

      • visitBefore

        public void visitBefore​(Element element,
                                ExecutionContext executionContext)
                         throws SmooksException
        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
        Throws:
        SmooksException