Class SaxNgContentDeliveryConfig
- java.lang.Object
-
- org.smooks.engine.delivery.AbstractContentDeliveryConfig
-
- org.smooks.engine.delivery.sax.ng.SaxNgContentDeliveryConfig
-
- All Implemented Interfaces:
ContentDeliveryConfig
public class SaxNgContentDeliveryConfig extends AbstractContentDeliveryConfig
-
-
Field Summary
-
Fields inherited from interface org.smooks.api.delivery.ContentDeliveryConfig
SMOOKS_VISITORS_SORT
-
-
Constructor Summary
Constructors Constructor Description SaxNgContentDeliveryConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToExecutionLifecycleSets()Add the execution lifecycle sets for the configuration.org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindingsget(String selector)org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindingsget(String... selectors)ContentHandlerBindingIndex<AfterVisitor>getAfterVisitorIndex()ContentHandlerBindingIndex<BeforeVisitor>getBeforeVisitorIndex()ContentHandlerBindingIndex<ChildrenVisitor>getChildVisitorIndex()FilterBypassgetFilterBypass()Get theFilterBypassfor this delivery configuration.intgetMaxNodeDepth()booleanisMaintainElementStack()booleanisReverseVisitOrderOnVisitAfter()booleanisRewriteEntities()booleanisTerminateOnVisitorException()FilternewFilter(ExecutionContext executionContext)Get a new stream filter for the content delivery configuration.protected Map<String,org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindings>reduceIndex()voidsort()-
Methods inherited from class org.smooks.engine.delivery.AbstractContentDeliveryConfig
addToExecutionLifecycleSets, executeHandlerCleanup, executeHandlerInit, getCloseResult, getCloseSource, getContentDeliveryConfigExecutionEvents, getFilterBypass, getObjects, getResourceConfigs, getResourceConfigs, isDefaultSerializationOn, setRegistry, setResourceConfigs
-
-
-
-
Method Detail
-
getBeforeVisitorIndex
public ContentHandlerBindingIndex<BeforeVisitor> getBeforeVisitorIndex()
-
getChildVisitorIndex
public ContentHandlerBindingIndex<ChildrenVisitor> getChildVisitorIndex()
-
getAfterVisitorIndex
public ContentHandlerBindingIndex<AfterVisitor> getAfterVisitorIndex()
-
getFilterBypass
public FilterBypass getFilterBypass()
Description copied from interface:ContentDeliveryConfigGet theFilterBypassfor this delivery configuration.- Returns:
- The
FilterBypassfor this delivery configuration, or null if non configured.
-
newFilter
public Filter newFilter(ExecutionContext executionContext)
Description copied from interface:ContentDeliveryConfigGet a new stream filter for the content delivery configuration.- Parameters:
executionContext- Execution context.- Returns:
- The stream filter.
-
sort
public void sort() throws SmooksConfigExceptionDescription copied from interface:ContentDeliveryConfig- Throws:
SmooksConfigException- Sort failure.- See Also:
ContentDeliveryConfig.SMOOKS_VISITORS_SORT
-
addToExecutionLifecycleSets
public void addToExecutionLifecycleSets() throws SmooksConfigExceptionDescription copied from interface:ContentDeliveryConfigAdd the execution lifecycle sets for the configuration.- Throws:
SmooksConfigException- Error resolving the handlers interested in the Execution lifecycle.
-
get
public org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindings get(String selector)
-
reduceIndex
protected Map<String,org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindings> reduceIndex()
-
get
public org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindings get(String... selectors)
-
isRewriteEntities
public boolean isRewriteEntities()
-
isMaintainElementStack
public boolean isMaintainElementStack()
-
isReverseVisitOrderOnVisitAfter
public boolean isReverseVisitOrderOnVisitAfter()
-
isTerminateOnVisitorException
public boolean isTerminateOnVisitorException()
-
getMaxNodeDepth
public int getMaxNodeDepth()
-
-