Package org.smooks.api.delivery
Interface FilterBypass
-
- All Superinterfaces:
ContentHandler
,Visitor
- All Known Implementing Classes:
StaticProxyInterceptor
public interface FilterBypass extends Visitor
Filter bypass interface. In some cases, the Smooks fragment filtering process (SAX/DOM) can be bypassed if there is just a single visitor resource applied to the #document fragment. This interface allows a visitor to mark itself as such a visitor.- Author:
- tom.fennelly@gmail.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
bypass(ExecutionContext executionContext, Source source, Result result)
Bypass the Smooks Filter process.
-
-
-
Method Detail
-
bypass
boolean bypass(ExecutionContext executionContext, Source source, Result result) throws SmooksException
Bypass the Smooks Filter process. If the Filter bypass was not applied, the normal Smooks Fragment Filtering process will be proceed.- Parameters:
executionContext
- Smooks execution context.source
- Filter Source.result
- Filter Result.- Returns:
- True of the bypass was applied, otherwise false.
- Throws:
SmooksException
- An error occurred while apply the bypass transform.
-
-