org.milyn.delivery.dom
Class MockContentDeliveryConfig

java.lang.Object
  extended by org.milyn.delivery.AbstractContentDeliveryConfig
      extended by org.milyn.delivery.dom.DOMContentDeliveryConfig
          extended by org.milyn.delivery.dom.MockContentDeliveryConfig
All Implemented Interfaces:
ContentDeliveryConfig

public class MockContentDeliveryConfig
extends DOMContentDeliveryConfig

Mock ContentDeliveryConfig for DOM.

Author:
tfennelly

Field Summary
 ContentHandlerConfigMapTable assemblyAfters
           
 ContentHandlerConfigMapTable assemblyBefores
           
 Map objectsHash
           
 ContentHandlerConfigMapTable processingAfters
           
 ContentHandlerConfigMapTable processingBefores
           
 ContentHandlerConfigMapTable serializationUnits
           
 ContentHandlerConfigMapTable visitCleanables
           
 
Fields inherited from interface org.milyn.delivery.ContentDeliveryConfig
SMOOKS_VISITORS_SORT
 
Constructor Summary
MockContentDeliveryConfig()
           
 
Method Summary
 void addObject(String selector, Object object)
           
 List getObjects(String selector)
          Get a list Objects from the supplied SmooksResourceConfiguration selector value.
 
Methods inherited from class org.milyn.delivery.dom.DOMContentDeliveryConfig
getAssemblyVisitAfters, getAssemblyVisitBefores, getExecCleanables, getProcessingVisitAfters, getProcessingVisitBefores, getSerailizationVisitors, getVisitCleanables, newFilter, setAssemblyVisitAfters, setAssemblyVisitBefores, setExecCleanables, setProcessingVisitAfters, setProcessingVisitBefores, setSerailizationVisitors, setVisitCleanables, sort
 
Methods inherited from class org.milyn.delivery.AbstractContentDeliveryConfig
getConfigBuilderEvents, getDTD, getSmooksResourceConfigurations, getSmooksResourceConfigurations, isDefaultSerializationOn, setApplicationContext, setDtd, setSmooksResourceConfigurations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assemblyBefores

public ContentHandlerConfigMapTable assemblyBefores

assemblyAfters

public ContentHandlerConfigMapTable assemblyAfters

processingBefores

public ContentHandlerConfigMapTable processingBefores

processingAfters

public ContentHandlerConfigMapTable processingAfters

serializationUnits

public ContentHandlerConfigMapTable serializationUnits

visitCleanables

public ContentHandlerConfigMapTable visitCleanables

objectsHash

public Map objectsHash
Constructor Detail

MockContentDeliveryConfig

public MockContentDeliveryConfig()
Method Detail

getObjects

public List getObjects(String selector)
Description copied from class: AbstractContentDeliveryConfig
Get a list Objects from the supplied SmooksResourceConfiguration selector value.

Uses SmooksResourceConfigurationStore.getObject(org.milyn.cdr.SmooksResourceConfiguration) to construct the object.

Specified by:
getObjects in interface ContentDeliveryConfig
Overrides:
getObjects in class AbstractContentDeliveryConfig
Parameters:
selector - selector attribute value from the .cdrl file in the .cdrar.
Returns:
List of Object instances. An empty list is returned where no selectors exist.
See Also:
SmooksResourceConfigurationStore.getObject(org.milyn.cdr.SmooksResourceConfiguration), ContentDeliveryConfig.getSmooksResourceConfigurations(String)

addObject

public void addObject(String selector,
                      Object object)


Copyright © 2009. All Rights Reserved.