public class TransformationSet extends Object
Constructor | Description |
---|---|
TransformationSet() |
Modifier and Type | Method | Description |
---|---|---|
NameValuePair[] |
getAttributes() |
Returns the attributes, which should be set on the transformer factory.
|
File |
getDir() |
Returns a directory, which is scanned for files to transform.
|
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.
|
String[] |
getIncludes() |
Returns patterns of files, which are being included into the transformation set.
|
String[] |
getOtherDepends() |
Returns patterns of additional files, which are being considered for the uptodate check.
|
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.
|
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.
|
boolean |
isXincludeAware() |
Returns, whether the transformer should create xinclude aware 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(File pDir) |
Sets the name of a directory, which is scanned for files to transform.
|
void |
setExcludes(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(String[] pIncludes) |
Sets patterns of files, which are being included into the transformation set.
|
void |
setOtherDepends(String[] pOtherDepends) |
Sets patterns of additional files, which are being considered for the uptodate check.
|
void |
setOutputDir(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(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.
|
void |
setXincludeAware(boolean pXIncludeAware) |
Sets, whether the transformer should create xinclude aware XML parsers for reading XML documents.
|
public void setExcludes(String[] pExcludes)
pExcludes
- Patterns of files, which are being excluded.public void setIncludes(String[] pIncludes)
pIncludes
- Patterns of files, which are being included.public void setOtherDepends(String[] pOtherDepends)
pOtherDepends
- Patters of other files, which are being considered for the uptodate check.public void setParameters(NameValuePair[] pParameters)
pParameters
- Stylesheet parameterspublic File getDir()
public String[] getExcludes()
setExcludes(String[])
,
getIncludes()
public String[] getIncludes()
setIncludes(String[])
,
getExcludes()
public String[] getOtherDepends()
public File getOutputDir()
public NameValuePair[] getParameters()
public String getStylesheet()
public boolean isAddedToClasspath()
getOutputDir()
is being added to the classpath. Otherwise false.public boolean isSkipDefaultExcludes()
public void setAddedToClasspath(boolean addedToClasspath)
addedToClasspath
- True, if the getOutputDir()
is being added to the classpath. Otherwise false.public void setDir(File pDir)
pDir
- The base directory to scan for files to transform.public void setOutputDir(File pOutputDir)
pOutputDir
- Output directory for generated files.public void setSkipDefaultExcludes(boolean pSkipDefaultExcludes)
pSkipDefaultExcludes
- False, if default excludes are being applied. Otherwise true.public void setStylesheet(String pStylesheet)
pStylesheet
- The XSLT stylesheet to read.public org.codehaus.plexus.components.io.filemappers.FileMapper[] getFileMappers()
public void setFileMappers(org.codehaus.plexus.components.io.filemappers.FileMapper[] pFileMappers)
pFileMappers
- The set of file mappers to use.public boolean isValidating()
public void setValidating(boolean pValidating)
pValidating
- True, if the transformers parser will be validating. Otherwise false.public NameValuePair[] getOutputProperties()
public void setOutputProperties(NameValuePair[] pOutputProperties)
pOutputProperties
- The transformers output properties.public NameValuePair[] getFeatures()
public void setFeatures(NameValuePair[] pFeatures)
pFeatures
- The features to set on the transformer factory.public NameValuePair[] getAttributes()
public void setAttributes(NameValuePair[] pAttributes)
pAttributes
- The attributes to set on the transformer factory.public boolean isXincludeAware()
public void setXincludeAware(boolean pXIncludeAware)
pXIncludeAware
- True for XML parsers, that are xinclude aware. Otherwise false.Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.