public class SourceProcessConfiguration extends Object
Constructor and Description |
---|
SourceProcessConfiguration() |
Modifier and Type | Method and Description |
---|---|
SkipDecider |
getSkipDecider()
Returns the current SkipDecider.
|
String |
getStartElementsPath()
Returns the path to elements which should be used as starting points for
generation.
|
List<SourceTransformerDefinition> |
getTransformerDefinitions()
Return all currently registered source transformer definitions.
|
void |
setSkipDecider(String skipDecider,
UnitDescriptor unitDescriptor)
Sets and instantiates the source filter class.
|
void |
setSourceTransformerDefinitions(List<SourceTransformerDefinition> transformerDefinitions)
Sets the transformer definitions.
|
void |
setStartElementsPath(String startElementsPath)
Sets the start element path.
|
public void setStartElementsPath(String startElementsPath)
startElementsPath
- the path to the elements which are used
as starting points for generation,
or null if the root element should be used.public void setSkipDecider(String skipDecider, UnitDescriptor unitDescriptor) throws ConfigurationException
skipDecider
- the fully qualified name of a class
which determines whether a particular source is skipped,
or null if every source should be used.unitDescriptor
- The description of the generation unit, not null.ConfigurationException
- if the class cannot be
instantiated or does not implement the
SkipDecider
interface.public void setSourceTransformerDefinitions(List<SourceTransformerDefinition> transformerDefinitions)
transformerDefinitions
- the transformer definitions, or null
if the input should not be transformed before generation.public String getStartElementsPath()
public List<SourceTransformerDefinition> getTransformerDefinitions()
public SkipDecider getSkipDecider()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.