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 void
addToExecutionLifecycleSets()
Add the execution lifecycle sets for the configuration.org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindings
get(String selector)
org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindings
get(String... selectors)
ContentHandlerBindingIndex<AfterVisitor>
getAfterVisitorIndex()
ContentHandlerBindingIndex<BeforeVisitor>
getBeforeVisitorIndex()
ContentHandlerBindingIndex<ChildrenVisitor>
getChildVisitorIndex()
FilterBypass
getFilterBypass()
Get theFilterBypass
for this delivery configuration.int
getMaxNodeDepth()
boolean
isMaintainElementStack()
boolean
isReverseVisitOrderOnVisitAfter()
boolean
isRewriteEntities()
boolean
isTerminateOnVisitorException()
Filter
newFilter(ExecutionContext executionContext)
Get a new stream filter for the content delivery configuration.protected Map<String,org.smooks.engine.delivery.sax.ng.SaxNgVisitorBindings>
reduceIndex()
void
sort()
-
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:ContentDeliveryConfig
Get theFilterBypass
for this delivery configuration.- Returns:
- The
FilterBypass
for this delivery configuration, or null if non configured.
-
newFilter
public Filter newFilter(ExecutionContext executionContext)
Description copied from interface:ContentDeliveryConfig
Get a new stream filter for the content delivery configuration.- Parameters:
executionContext
- Execution context.- Returns:
- The stream filter.
-
sort
public void sort() throws SmooksConfigException
Description copied from interface:ContentDeliveryConfig
- Throws:
SmooksConfigException
- Sort failure.- See Also:
ContentDeliveryConfig.SMOOKS_VISITORS_SORT
-
addToExecutionLifecycleSets
public void addToExecutionLifecycleSets() throws SmooksConfigException
Description copied from interface:ContentDeliveryConfig
Add 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()
-
-