org.codehaus.mojo.castor
Class ConvertDTD2XSDMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.castor.ConvertDTD2XSDMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ConvertDTD2XSDMojo
- extends org.apache.maven.plugin.AbstractMojo
A mojo that uses Castor XML to convert a DTD document to corresponding XML Schema document.
- Author:
- Stevo Slavic
- Is defined by the goal name:
- dtd2xsd
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertDTD2XSDMojo
public ConvertDTD2XSDMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
- See Also:
Mojo.execute()
setSource
public void setSource(File source)
- Sets the DTD file to convert.
- Parameters:
source
- the DTD file to convert.
setDest
public void setDest(File dest)
- Sets the schema file to output.
- Parameters:
dest
- the schema file to output.
Copyright © 2005-2012 Codehaus. All Rights Reserved.