public class XML2FastInfosetCompilerMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.sonatype.plexus.build.incremental.BuildContext |
buildContext |
private static java.lang.String[] |
DEFAULT_INCLUDES |
private static java.lang.String[] |
EMPTY_STRING_ARRAY |
private java.util.Set |
excludes
A list of exclusion filters.
|
private java.util.Set |
includes
A list of inclusion filters.
|
private java.io.File |
outputDirectory
The directory for the results.
|
private org.apache.maven.project.MavenProject |
project |
private java.util.List |
resources
The resource directories containing the XML files to be compiled.
|
| Constructor and Description |
|---|
XML2FastInfosetCompilerMojo() |
| Modifier and Type | Method and Description |
|---|---|
private void |
compileFile(java.io.File sourceFile,
java.io.File destinationFile) |
private void |
dehydrate(java.io.InputStream input,
java.io.OutputStream output) |
void |
execute() |
private static final java.lang.String[] EMPTY_STRING_ARRAY
private static final java.lang.String[] DEFAULT_INCLUDES
private org.apache.maven.project.MavenProject project
private java.util.List resources
private java.util.Set includes
private java.util.Set excludes
private java.io.File outputDirectory
protected org.sonatype.plexus.build.incremental.BuildContext buildContext
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprivate void compileFile(java.io.File sourceFile,
java.io.File destinationFile)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjava.io.IOExceptionprivate void dehydrate(java.io.InputStream input,
java.io.OutputStream output)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjava.io.IOException