public class WSDLToJavaContainer extends AbstractCXFToolContainer
AbstractToolContainer.GenericOutputStream
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOG |
context, err, out, toolspec
Constructor and Description |
---|
WSDLToJavaContainer(String name,
ToolSpec toolspec) |
Modifier and Type | Method and Description |
---|---|
void |
buildToolContext() |
void |
checkParams(ErrorVisitor errors)
Check command-line parameters for validity.
|
void |
execute() |
void |
execute(boolean exitOnFinish) |
void |
generateTypes() |
Set<String> |
getArrayKeys() |
protected static InputStream |
getResourceAsStream(String file) |
QName |
getServiceQName(javax.wsdl.Definition def) |
List<ServiceValidator> |
getServiceValidators() |
WSDLConstants.WSDLVersion |
getWSDLVersion() |
void |
loadDefaultNSPackageMapping(ToolContext env) |
boolean |
passthrough() |
void |
removeExcludeFiles() |
void |
setAntProperties(ToolContext env) |
void |
setExcludePackageAndNamespaces(ToolContext env) |
protected void |
setLibraryReferences(ToolContext env) |
void |
setPackageAndNamespaces(ToolContext env) |
void |
validate(ServiceInfo service) |
void |
validate(ToolContext env) |
createClassCollector, getDefaultExcludedNamespaces, getFileBase, getFileName, getParametersMap, getToolName, getUsage, hasInfoOption, isVerboseOn, loadProperties, loadProperties, outputFullCommandLine, outputVersion, printUsageException
getArgument, getBus, getCatalogURL, getCommandDocument, getCommandLineParser, getContext, getErrOutputStream, getOutOutputStream, init, isQuietMode, isVerboseMode, parseCommandLine, redirectOutput, setArguments, setContext, setErrOutputStream, setMode, setOutOutputStream, tearDown
protected static final Logger LOG
public WSDLConstants.WSDLVersion getWSDLVersion()
public void execute() throws ToolException
ToolException
public void execute(boolean exitOnFinish) throws ToolException
execute
in interface ToolContainer
execute
in class AbstractCXFToolContainer
ToolException
public QName getServiceQName(javax.wsdl.Definition def)
public void loadDefaultNSPackageMapping(ToolContext env)
public void setExcludePackageAndNamespaces(ToolContext env)
public void setPackageAndNamespaces(ToolContext env)
public void validate(ToolContext env) throws ToolException
ToolException
public void setAntProperties(ToolContext env)
protected void setLibraryReferences(ToolContext env)
public void buildToolContext()
protected static InputStream getResourceAsStream(String file)
public void checkParams(ErrorVisitor errors) throws ToolException
AbstractCXFToolContainer
checkParams
in class AbstractCXFToolContainer
errors
- place to report errors.ToolException
- for impossible options.public void removeExcludeFiles() throws IOException
IOException
public boolean passthrough()
public void generateTypes() throws ToolException
ToolException
public void validate(ServiceInfo service) throws ToolException
ToolException
public List<ServiceValidator> getServiceValidators()
Apache CXF