1 5 package xdoclet.modules.wsee; 6 7 import java.io.Serializable ; 8 import java.util.List ; 9 10 import xdoclet.DocletTask; 11 12 20 21 public class WseeDocletTask extends DocletTask 22 { 23 26 public final static String DEFAULT_SPEC = "1.1"; 27 28 31 protected String wseeSpec = DEFAULT_SPEC; 32 protected String wsdlFile; 33 protected String jaxrpcMappingFile; 34 35 protected List packageNamespaceMappings = new java.util.ArrayList (); 36 37 40 public String getWseeSpec() 41 { 42 return wseeSpec; 43 } 44 45 48 public String getJaxrpcMappingFile() 49 { 50 return jaxrpcMappingFile; 51 } 52 53 56 public String getWsdlFile() 57 { 58 return wsdlFile; 59 } 60 61 64 public List getPackageNamespaceMappings() 65 { 66 return packageNamespaceMappings; 67 } 68 69 74 public void setWseeSpec(String ver) 75 { 76 wseeSpec = ver; 77 } 78 79 84 public void setJaxrpcMappingFile(String location) 85 { 86 jaxrpcMappingFile = location; 87 } 88 89 94 public void setWsdlFile(String location) 95 { 96 wsdlFile = location; 97 } 98 99 102 public void setPackageNamespaceMappings(List list) 103 { 104 packageNamespaceMappings = list; 105 } 106 107 112 public void addPackageNamespaceMapping(PackageNamespaceMapping mapping) 113 { 114 packageNamespaceMappings.add(mapping); 115 } 116 117 122 public static class PackageNamespaceMapping implements Serializable 123 { 124 private String packages = null; 125 private String namespace = null; 126 127 132 public String getPackages() 133 { 134 return packages; 135 } 136 137 142 public String getNamespace() 143 { 144 return namespace; 145 } 146 147 152 public void setPackages(String packages) 153 { 154 this.packages = packages; 155 } 156 157 162 public void setNamespace(String ns) 163 { 164 this.namespace = ns; 165 } 166 } 167 168 } 169 | Popular Tags |