Class GenericReaderConfigurator
- java.lang.Object
-
- org.smooks.engine.resource.config.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
Constructors Constructor Description GenericReaderConfigurator()
GenericReaderConfigurator(Class<? extends XMLReader> readerClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Properties
getParameters()
GenericReaderConfigurator
setFeature(String feature, boolean on)
GenericReaderConfigurator
setParameters(Properties parameters)
GenericReaderConfigurator
setTargetProfile(String targetProfile)
List<ResourceConfig>
toConfig()
Create theResourceConfig
list for the Reader to be used by the Smooks instance.
-
-
-
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 List<ResourceConfig> toConfig()
Description copied from interface:ReaderConfigurator
Create theResourceConfig
list for the Reader to be used by the Smooks instance.- Specified by:
toConfig
in interfaceReaderConfigurator
- Returns:
- The
ResourceConfig
list.
-
-