public interface DOMElementVisitor extends DOMVisitBefore, DOMVisitAfter
SmooksDOMFilter
filters (analyses/transforms) XML/XHTML/HTML content
by "visting" the DOM Element
nodes through a series of iterations over
the source XML DOM.
This interface defines the methods for a "visiting" filter.
Implementations of this interface provide a means of hooking analysis
and transformation logic into the SmooksDOMFilter
filtering process.
Implementations should be annotated with the Phase
annotation, indicating in which of the Visit Phases
the visitor should be applied. If not
annotated, the visitor is applied during the Processing phase. The phase may also be specified via the
"VisitPhase" property on the resource configuration
. Valid values
in this case are "ASSEMBLY" and "PROCESSING".
Implementations must be stateless. If state storage is required, attach the state to the
supplied ExecutionContext
.visitBefore
visitAfter
Copyright © 2020. All rights reserved.