org.milyn.delivery.sax
Class SAXContentDeliveryConfig

java.lang.Object
  extended by org.milyn.delivery.AbstractContentDeliveryConfig
      extended by org.milyn.delivery.sax.SAXContentDeliveryConfig
All Implemented Interfaces:
ContentDeliveryConfig

public class SAXContentDeliveryConfig
extends AbstractContentDeliveryConfig

SAX specific ContentDeliveryConfig implementation.

Author:
tom.fennelly@gmail.com

Field Summary
 
Fields inherited from interface org.milyn.delivery.ContentDeliveryConfig
SMOOKS_VISITORS_SORT
 
Constructor Summary
SAXContentDeliveryConfig()
           
 
Method Summary
 ContentHandlerConfigMapTable<SAXVisitChildren> getChildVisitors()
           
 SAXElementVisitorMap getCombinedOptimizedConfig(String[] elementNames)
           
 ContentHandlerConfigMapTable<ExecutionLifecycleCleanable> getExecCleanables()
           
 Map<String,SAXElementVisitorMap> getOptimizedVisitorConfig()
           
 ContentHandlerConfigMapTable<SAXVisitAfter> getVisitAfters()
           
 ContentHandlerConfigMapTable<SAXVisitBefore> getVisitBefores()
           
 ContentHandlerConfigMapTable<VisitLifecycleCleanable> getVisitCleanables()
           
 Filter newFilter(ExecutionContext executionContext)
          Get a new stream filter for the content delivery configuration.
 void optimizeConfig()
           
 void setExecCleanables(ContentHandlerConfigMapTable<ExecutionLifecycleCleanable> execCleanables)
           
 void setVisitAfters(ContentHandlerConfigMapTable<SAXVisitAfter> visitAfters)
           
 void setVisitBefores(ContentHandlerConfigMapTable<SAXVisitBefore> visitBefores)
           
 void setVisitCleanables(ContentHandlerConfigMapTable<VisitLifecycleCleanable> visitCleanables)
           
 void sort()
          Sort the Visitors, targeted at each selector, based on the what the Visitors produce and consume.
 
Methods inherited from class org.milyn.delivery.AbstractContentDeliveryConfig
getConfigBuilderEvents, getDTD, getObjects, getSmooksResourceConfigurations, getSmooksResourceConfigurations, isDefaultSerializationOn, setApplicationContext, setDtd, setSmooksResourceConfigurations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXContentDeliveryConfig

public SAXContentDeliveryConfig()
Method Detail

getVisitBefores

public ContentHandlerConfigMapTable<SAXVisitBefore> getVisitBefores()

setVisitBefores

public void setVisitBefores(ContentHandlerConfigMapTable<SAXVisitBefore> visitBefores)

getChildVisitors

public ContentHandlerConfigMapTable<SAXVisitChildren> getChildVisitors()

getVisitAfters

public ContentHandlerConfigMapTable<SAXVisitAfter> getVisitAfters()

setVisitAfters

public void setVisitAfters(ContentHandlerConfigMapTable<SAXVisitAfter> visitAfters)

getVisitCleanables

public ContentHandlerConfigMapTable<VisitLifecycleCleanable> getVisitCleanables()

setVisitCleanables

public void setVisitCleanables(ContentHandlerConfigMapTable<VisitLifecycleCleanable> visitCleanables)

getExecCleanables

public ContentHandlerConfigMapTable<ExecutionLifecycleCleanable> getExecCleanables()

setExecCleanables

public void setExecCleanables(ContentHandlerConfigMapTable<ExecutionLifecycleCleanable> execCleanables)

getOptimizedVisitorConfig

public Map<String,SAXElementVisitorMap> getOptimizedVisitorConfig()

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 SmooksConfigurationException
Description copied from interface: ContentDeliveryConfig
Sort the Visitors, targeted at each selector, based on the what the Visitors produce and consume.

Throws:
SmooksConfigurationException - Sort failure.
See Also:
ContentDeliveryConfig.SMOOKS_VISITORS_SORT

optimizeConfig

public void optimizeConfig()

getCombinedOptimizedConfig

public SAXElementVisitorMap getCombinedOptimizedConfig(String[] elementNames)


Copyright © 2009. All Rights Reserved.