org.milyn
Class GenericReaderConfigurator

java.lang.Object
  extended by org.milyn.GenericReaderConfigurator
All Implemented Interfaces:
ReaderConfigurator

public class GenericReaderConfigurator
extends Object
implements ReaderConfigurator

Generic reader configurator.

Specific reader implementations can define specialized configurators.

Author:
tom.fennelly@jboss.com

Constructor Summary
GenericReaderConfigurator()
           
GenericReaderConfigurator(Class<? extends XMLReader> readerClass)
           
 
Method Summary
 Properties getParameters()
           
 GenericReaderConfigurator setFeature(String feature, boolean on)
           
 GenericReaderConfigurator setParameters(Properties parameters)
           
 GenericReaderConfigurator setTargetProfile(String targetProfile)
           
 SmooksResourceConfiguration toConfig()
          Create the SmooksResourceConfiguration for the Reader to be used by the Smooks instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericReaderConfigurator

public GenericReaderConfigurator()

GenericReaderConfigurator

public GenericReaderConfigurator(Class<? extends XMLReader> readerClass)
Method Detail

getParameters

public Properties getParameters()

setParameters

public GenericReaderConfigurator setParameters(Properties parameters)

setFeature

public GenericReaderConfigurator setFeature(String feature,
                                            boolean on)

setTargetProfile

public GenericReaderConfigurator setTargetProfile(String targetProfile)

toConfig

public SmooksResourceConfiguration toConfig()
Description copied from interface: ReaderConfigurator
Create the SmooksResourceConfiguration for the Reader to be used by the Smooks instance.

Specified by:
toConfig in interface ReaderConfigurator
Returns:
The SmooksResourceConfiguration.


Copyright © 2009. All Rights Reserved.