org.apache.cxf.tools.wsdlto
Class WSDLToJavaContainer
java.lang.Object
org.apache.cxf.tools.common.toolspec.AbstractToolContainer
org.apache.cxf.tools.common.AbstractCXFToolContainer
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer
- All Implemented Interfaces:
- org.apache.cxf.tools.common.toolspec.ToolContainer
public class WSDLToJavaContainer
- extends org.apache.cxf.tools.common.AbstractCXFToolContainer
| Nested classes/interfaces inherited from class org.apache.cxf.tools.common.toolspec.AbstractToolContainer |
org.apache.cxf.tools.common.toolspec.AbstractToolContainer.GenericOutputStream |
| Fields inherited from class org.apache.cxf.tools.common.toolspec.AbstractToolContainer |
context, err, out, toolspec |
| Methods inherited from class org.apache.cxf.tools.common.AbstractCXFToolContainer |
getDefaultExcludedNamespaces, getFileBase, getFileName, getParametersMap, getToolName, getUsage, hasInfoOption, isVerboseOn, loadProperties, loadProperties, outputFullCommandLine, outputVersion, printUsageException |
| Methods inherited from class org.apache.cxf.tools.common.toolspec.AbstractToolContainer |
getArgument, getBus, getCatalogURL, getCommandDocument, getCommandLineParser, getContext, getErrOutputStream, getOutOutputStream, init, isQuietMode, isVerboseMode, parseCommandLine, redirectOutput, setArguments, setContext, setErrOutputStream, setMode, setOutOutputStream, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final Logger LOG
WSDLToJavaContainer
public WSDLToJavaContainer(String name,
org.apache.cxf.tools.common.toolspec.ToolSpec toolspec)
throws Exception
- Throws:
Exception
getArrayKeys
public Set<String> getArrayKeys()
getWSDLVersion
public org.apache.cxf.common.WSDLConstants.WSDLVersion getWSDLVersion()
execute
public void execute()
throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
execute
public void execute(boolean exitOnFinish)
throws org.apache.cxf.tools.common.ToolException
- Specified by:
execute in interface org.apache.cxf.tools.common.toolspec.ToolContainer- Overrides:
execute in class org.apache.cxf.tools.common.AbstractCXFToolContainer
- Throws:
org.apache.cxf.tools.common.ToolException
getServiceQName
public QName getServiceQName(javax.wsdl.Definition def)
loadDefaultNSPackageMapping
public void loadDefaultNSPackageMapping(org.apache.cxf.tools.common.ToolContext env)
setExcludePackageAndNamespaces
public void setExcludePackageAndNamespaces(org.apache.cxf.tools.common.ToolContext env)
setPackageAndNamespaces
public void setPackageAndNamespaces(org.apache.cxf.tools.common.ToolContext env)
validate
public void validate(org.apache.cxf.tools.common.ToolContext env)
throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
setAntProperties
public void setAntProperties(org.apache.cxf.tools.common.ToolContext env)
setLibraryReferences
protected void setLibraryReferences(org.apache.cxf.tools.common.ToolContext env)
buildToolContext
public void buildToolContext()
getResourceAsStream
protected static InputStream getResourceAsStream(String file)
checkParams
public void checkParams(org.apache.cxf.tools.common.toolspec.parser.ErrorVisitor errors)
throws org.apache.cxf.tools.common.ToolException
- Overrides:
checkParams in class org.apache.cxf.tools.common.AbstractCXFToolContainer
- Throws:
org.apache.cxf.tools.common.ToolException
removeExcludeFiles
public void removeExcludeFiles()
throws IOException
- Throws:
IOException
passthrough
public boolean passthrough()
generateTypes
public void generateTypes()
throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
validate
public void validate(org.apache.cxf.service.model.ServiceInfo service)
throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
getServiceValidators
public List<org.apache.cxf.tools.validator.ServiceValidator> getServiceValidators()
Apache CXF