public class TransformationSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
addedToClasspath |
private NameValuePair[] |
attributes |
private java.io.File |
dir |
private java.lang.String[] |
excludes |
private NameValuePair[] |
features |
private org.codehaus.plexus.components.io.filemappers.FileMapper[] |
fileMappers |
private java.lang.String[] |
includes |
private java.lang.String[] |
otherDepends |
private java.io.File |
outputDir |
private NameValuePair[] |
outputProperties |
private NameValuePair[] |
parameters |
private boolean |
skipDefaultExcludes |
private java.lang.String |
stylesheet |
private boolean |
validating |
Constructor and Description |
---|
TransformationSet() |
Modifier and Type | Method and Description |
---|---|
NameValuePair[] |
getAttributes()
Returns the attributes, which should be set on the transformer factory.
|
java.io.File |
getDir()
Returns a directory, which is scanned for files to transform.
|
java.lang.String[] |
getExcludes()
Returns patterns of files, which are being excluded from the transformation set.
|
NameValuePair[] |
getFeatures()
Returns the features, which should be set on the transformer factory.
|
org.codehaus.plexus.components.io.filemappers.FileMapper[] |
getFileMappers()
Returns a set of file mappers, which are being used to convert the generated files name.
|
java.lang.String[] |
getIncludes()
Returns patterns of files, which are being included into the transformation set.
|
java.lang.String[] |
getOtherDepends()
Returns patterns of additional files, which are being considered for the uptodate check.
|
java.io.File |
getOutputDir()
Returns the output directory, where the generated files are being placed.
|
NameValuePair[] |
getOutputProperties()
Returns the transformers output properties.
|
NameValuePair[] |
getParameters()
Returns the stylesheet parameters.
|
java.lang.String |
getStylesheet()
Returns the XSLT stylesheet, which is being used to control the transformation.
|
boolean |
isAddedToClasspath()
Returns, whether the output directory is added to the classpath.
|
boolean |
isSkipDefaultExcludes()
Returns, whether Maven's default excludes are being ignored.
|
boolean |
isValidating()
Returns, whether the transformer should create validating XML parsers for reading XML documents.
|
void |
setAddedToClasspath(boolean addedToClasspath)
Sets, whether the output directory is added to the classpath.
|
void |
setAttributes(NameValuePair[] pAttributes)
Sets the attributes, which should be set on the transformer factory.
|
void |
setDir(java.io.File pDir)
Sets the name of a directory, which is scanned for files to transform.
|
void |
setExcludes(java.lang.String[] pExcludes)
Sets patterns of files, which are being excluded from the transformation set.
|
void |
setFeatures(NameValuePair[] pFeatures)
Sets the features, which should be set on the transformer factory.
|
void |
setFileMappers(org.codehaus.plexus.components.io.filemappers.FileMapper[] pFileMappers)
Sets a set of file mappers, which are being used to convert the generated files name.
|
void |
setIncludes(java.lang.String[] pIncludes)
Sets patterns of files, which are being included into the transformation set.
|
void |
setOtherDepends(java.lang.String[] pOtherDepends)
Sets patterns of additional files, which are being considered for the uptodate check.
|
void |
setOutputDir(java.io.File pOutputDir)
Sets the output directory, where the generated files are being placed.
|
void |
setOutputProperties(NameValuePair[] pOutputProperties)
Sets the transformers output properties.
|
void |
setParameters(NameValuePair[] pParameters)
Sets the stylesheet parameters.
|
void |
setSkipDefaultExcludes(boolean pSkipDefaultExcludes)
Sets, whether Maven's default excludes are being ignored.
|
void |
setStylesheet(java.lang.String pStylesheet)
Sets the XSLT stylesheet, which is being used to control the transformation.
|
void |
setValidating(boolean pValidating)
Sets, whether the transformer should create validating XML parsers for reading XML documents.
|
private java.lang.String stylesheet
private java.io.File dir
private java.io.File outputDir
private boolean addedToClasspath
private java.lang.String[] includes
private java.lang.String[] excludes
private boolean skipDefaultExcludes
private java.lang.String[] otherDepends
private NameValuePair[] parameters
private NameValuePair[] features
private NameValuePair[] attributes
private NameValuePair[] outputProperties
private org.codehaus.plexus.components.io.filemappers.FileMapper[] fileMappers
private boolean validating
public void setExcludes(java.lang.String[] pExcludes)
public void setIncludes(java.lang.String[] pIncludes)
public void setOtherDepends(java.lang.String[] pOtherDepends)
public void setParameters(NameValuePair[] pParameters)
public java.io.File getDir()
public java.lang.String[] getExcludes()
public java.lang.String[] getIncludes()
public java.lang.String[] getOtherDepends()
public java.io.File getOutputDir()
public NameValuePair[] getParameters()
public java.lang.String getStylesheet()
public boolean isAddedToClasspath()
public boolean isSkipDefaultExcludes()
skipDefaultExcludes
public void setAddedToClasspath(boolean addedToClasspath)
addedToClasspath
- true/false.public void setDir(java.io.File pDir)
public void setOutputDir(java.io.File pOutputDir)
public void setSkipDefaultExcludes(boolean pSkipDefaultExcludes)
public void setStylesheet(java.lang.String pStylesheet)
public org.codehaus.plexus.components.io.filemappers.FileMapper[] getFileMappers()
public void setFileMappers(org.codehaus.plexus.components.io.filemappers.FileMapper[] pFileMappers)
public boolean isValidating()
public void setValidating(boolean pValidating)
public NameValuePair[] getOutputProperties()
public void setOutputProperties(NameValuePair[] pOutputProperties)
public NameValuePair[] getFeatures()
public void setFeatures(NameValuePair[] pFeatures)
public NameValuePair[] getAttributes()
public void setAttributes(NameValuePair[] pAttributes)