public class WSDLToJavaContainer
extends org.apache.cxf.tools.common.AbstractCXFToolContainer
| Constructor and Description |
|---|
WSDLToJavaContainer(String name,
org.apache.cxf.tools.common.toolspec.ToolSpec toolspec) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildToolContext() |
void |
checkParams(org.apache.cxf.tools.common.toolspec.parser.ErrorVisitor errors) |
void |
execute() |
void |
execute(boolean exitOnFinish) |
void |
generateTypes() |
Set<String> |
getArrayKeys() |
protected static InputStream |
getResourceAsStream(String file) |
QName |
getServiceQName(javax.wsdl.Definition def) |
List<org.apache.cxf.tools.validator.ServiceValidator> |
getServiceValidators() |
org.apache.cxf.wsdl.WSDLConstants.WSDLVersion |
getWSDLVersion() |
void |
loadDefaultNSPackageMapping(org.apache.cxf.tools.common.ToolContext env) |
boolean |
passthrough() |
void |
removeExcludeFiles() |
void |
setAntProperties(org.apache.cxf.tools.common.ToolContext env) |
void |
setExcludePackageAndNamespaces(org.apache.cxf.tools.common.ToolContext env) |
protected void |
setLibraryReferences(org.apache.cxf.tools.common.ToolContext env) |
void |
setPackageAndNamespaces(org.apache.cxf.tools.common.ToolContext env) |
void |
validate(org.apache.cxf.service.model.ServiceInfo service) |
void |
validate(org.apache.cxf.tools.common.ToolContext env) |
createClassCollector, getDefaultExcludedNamespaces, getFileBase, getFileName, getParametersMap, getToolName, getUsage, hasInfoOption, isVerboseOn, loadProperties, loadProperties, outputFullCommandLine, outputVersion, printUsageExceptiongetArgument, getBus, getCatalogURL, getCommandDocument, getCommandLineParser, getContext, getErrOutputStream, getOutOutputStream, init, isQuietMode, isVerboseMode, parseCommandLine, redirectOutput, setArguments, setContext, setErrOutputStream, setMode, setOutOutputStream, tearDownprotected static final Logger LOG
public org.apache.cxf.wsdl.WSDLConstants.WSDLVersion getWSDLVersion()
public void execute()
throws org.apache.cxf.tools.common.ToolException
org.apache.cxf.tools.common.ToolExceptionpublic void execute(boolean exitOnFinish)
throws org.apache.cxf.tools.common.ToolException
execute in interface org.apache.cxf.tools.common.toolspec.ToolContainerexecute in class org.apache.cxf.tools.common.AbstractCXFToolContainerorg.apache.cxf.tools.common.ToolExceptionpublic QName getServiceQName(javax.wsdl.Definition def)
public void loadDefaultNSPackageMapping(org.apache.cxf.tools.common.ToolContext env)
public void setExcludePackageAndNamespaces(org.apache.cxf.tools.common.ToolContext env)
public void setPackageAndNamespaces(org.apache.cxf.tools.common.ToolContext env)
public void validate(org.apache.cxf.tools.common.ToolContext env)
throws org.apache.cxf.tools.common.ToolException
org.apache.cxf.tools.common.ToolExceptionpublic void setAntProperties(org.apache.cxf.tools.common.ToolContext env)
protected void setLibraryReferences(org.apache.cxf.tools.common.ToolContext env)
public void buildToolContext()
protected static InputStream getResourceAsStream(String file)
public void checkParams(org.apache.cxf.tools.common.toolspec.parser.ErrorVisitor errors)
throws org.apache.cxf.tools.common.ToolException
checkParams in class org.apache.cxf.tools.common.AbstractCXFToolContainerorg.apache.cxf.tools.common.ToolExceptionpublic void removeExcludeFiles()
throws IOException
IOExceptionpublic boolean passthrough()
public void generateTypes()
throws org.apache.cxf.tools.common.ToolException
org.apache.cxf.tools.common.ToolExceptionpublic void validate(org.apache.cxf.service.model.ServiceInfo service)
throws org.apache.cxf.tools.common.ToolException
org.apache.cxf.tools.common.ToolExceptionpublic List<org.apache.cxf.tools.validator.ServiceValidator> getServiceValidators()
Apache CXF