Interface ParameterizedVisitor
-
- All Superinterfaces:
AfterVisitor,BeforeVisitor,ContentHandler,SaxNgVisitor,Visitor
- All Known Implementing Classes:
StaticProxyInterceptor
public interface ParameterizedVisitor extends BeforeVisitor, AfterVisitor
Adds knobs to theSaxNgVisitor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxNodeDepth()Gets the maximum node depth thisParameterizedVisitorcan accept when visiting anElementinAfterVisitor.visitAfter(Element, ExecutionContext).-
Methods inherited from interface org.smooks.api.resource.visitor.sax.ng.AfterVisitor
visitAfter
-
Methods inherited from interface org.smooks.api.resource.visitor.sax.ng.BeforeVisitor
visitBefore
-
-
-
-
Method Detail
-
getMaxNodeDepth
int getMaxNodeDepth()
Gets the maximum node depth thisParameterizedVisitorcan accept when visiting anElementinAfterVisitor.visitAfter(Element, ExecutionContext).This method allows the targeted
Elementto emulate a DOM tree at the cost of performance. AParameterizedVisitorwith a maximum node depth ofInteger.MAX_VALUEessentially means that the visitedElementis a complete DOM tree.- Returns:
- the maximum node depth this
ParameterizedVisitorcan traverse. Any value greater than 0 is valid.
-
-