1 package net.sf.xmile;
2
3 import java.io.File;
4
5 /**
6 * Produces a model based on <a href="http://www.w3.org/TR/wsdl">WSDL</a>
7 * files.
8 * @author Brian Hanafee
9 * @goal wsdl
10 */
11 public class Wsdl2XmiMojo extends AbstractXslMojo {
12
13 /**
14 * The file extension for XMI files.
15 */
16 public static final String WSDL_EXTENSION = "wsdl";
17
18 /**
19 * @return {@inheritDoc}
20 * @todo Get WSDL from well-known(?) locations
21 */
22 protected File getInput() {
23 return getOutput();
24 }
25
26 /**
27 * Always returns {@link #WSDL_EXTENSION}.
28 * @return always returns {@link #WSDL_EXTENSION}.
29 */
30 protected String getInputExtension() {
31 return WSDL_EXTENSION;
32 }
33
34 }