org.apache.cxf.tools.wsdl2java.processor
Class WSDLToProcessor

java.lang.Object
  extended by org.apache.cxf.tools.wsdl2java.processor.WSDLToProcessor
All Implemented Interfaces:
org.apache.cxf.tools.common.Processor
Direct Known Subclasses:
WSDLToJavaProcessor

public class WSDLToProcessor
extends java.lang.Object
implements org.apache.cxf.tools.common.Processor


Field Summary
protected  org.apache.cxf.tools.common.DataBindingGenerator bindingGenerator
           
protected  org.apache.cxf.tools.util.ClassCollector classColletor
           
protected  org.apache.cxf.tools.common.ToolContext env
           
protected  java.util.List<java.lang.String> excludeGenFiles
           
protected  java.util.List<java.lang.String> excludePkgList
           
protected  java.util.List<org.apache.cxf.tools.common.FrontEndGenerator> generators
           
protected  java.util.Map<javax.xml.namespace.QName,javax.wsdl.PortType> importedPortTypes
           
protected  java.util.Map<javax.xml.namespace.QName,javax.wsdl.Service> importedServices
           
protected static java.util.logging.Logger LOG
           
protected  com.sun.tools.xjc.model.Model model
           
protected  boolean nestedJaxbBinding
           
protected  com.sun.tools.xjc.api.S2JJAXBModel rawJaxbModel
           
protected  com.sun.tools.xjc.api.S2JJAXBModel rawJaxbModelGenCode
           
protected  java.util.List<javax.wsdl.extensions.schema.Schema> schemaList
           
protected static java.lang.String WSDL_FILE_NAME_EXT
           
protected  javax.wsdl.Definition wsdlDefinition
           
protected  javax.wsdl.factory.WSDLFactory wsdlFactory
           
protected  javax.wsdl.xml.WSDLReader wsdlReader
           
 
Constructor Summary
WSDLToProcessor()
           
 
Method Summary
 void checkSupported(javax.wsdl.Definition def)
           
protected  void doGeneration()
           
 org.apache.cxf.tools.common.ToolContext getEnvironment()
           
protected  java.io.Writer getOutputWriter(java.lang.String newNameExt)
           
protected  java.util.Map<javax.xml.namespace.QName,javax.wsdl.PortType> getPortTypes(javax.wsdl.Definition definition)
           
 javax.wsdl.Definition getWSDLDefinition()
           
protected  void init()
           
 void parseCustomization(javax.wsdl.Definition def)
           
protected  void parseWSDL(java.lang.String wsdlURL)
           
 void process()
           
 void setEnvironment(org.apache.cxf.tools.common.ToolContext penv)
           
 void validateWSDL(javax.wsdl.Definition def)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final java.util.logging.Logger LOG

WSDL_FILE_NAME_EXT

protected static final java.lang.String WSDL_FILE_NAME_EXT
See Also:
Constant Field Values

wsdlDefinition

protected javax.wsdl.Definition wsdlDefinition

env

protected org.apache.cxf.tools.common.ToolContext env

wsdlFactory

protected javax.wsdl.factory.WSDLFactory wsdlFactory

wsdlReader

protected javax.wsdl.xml.WSDLReader wsdlReader

rawJaxbModel

protected com.sun.tools.xjc.api.S2JJAXBModel rawJaxbModel

rawJaxbModelGenCode

protected com.sun.tools.xjc.api.S2JJAXBModel rawJaxbModelGenCode

classColletor

protected org.apache.cxf.tools.util.ClassCollector classColletor

excludePkgList

protected java.util.List<java.lang.String> excludePkgList

excludeGenFiles

protected java.util.List<java.lang.String> excludeGenFiles

importedServices

protected java.util.Map<javax.xml.namespace.QName,javax.wsdl.Service> importedServices

importedPortTypes

protected java.util.Map<javax.xml.namespace.QName,javax.wsdl.PortType> importedPortTypes

generators

protected java.util.List<org.apache.cxf.tools.common.FrontEndGenerator> generators

nestedJaxbBinding

protected boolean nestedJaxbBinding

model

protected com.sun.tools.xjc.model.Model model

bindingGenerator

protected org.apache.cxf.tools.common.DataBindingGenerator bindingGenerator

schemaList

protected java.util.List<javax.wsdl.extensions.schema.Schema> schemaList
Constructor Detail

WSDLToProcessor

public WSDLToProcessor()
Method Detail

getOutputWriter

protected java.io.Writer getOutputWriter(java.lang.String newNameExt)
                                  throws org.apache.cxf.tools.common.ToolException
Throws:
org.apache.cxf.tools.common.ToolException

parseWSDL

protected void parseWSDL(java.lang.String wsdlURL)
                  throws org.apache.cxf.tools.common.ToolException
Throws:
org.apache.cxf.tools.common.ToolException

getPortTypes

protected java.util.Map<javax.xml.namespace.QName,javax.wsdl.PortType> getPortTypes(javax.wsdl.Definition definition)

parseCustomization

public void parseCustomization(javax.wsdl.Definition def)

init

protected void init()
             throws org.apache.cxf.tools.common.ToolException
Throws:
org.apache.cxf.tools.common.ToolException

getWSDLDefinition

public javax.wsdl.Definition getWSDLDefinition()

process

public void process()
             throws org.apache.cxf.tools.common.ToolException
Specified by:
process in interface org.apache.cxf.tools.common.Processor
Throws:
org.apache.cxf.tools.common.ToolException

validateWSDL

public void validateWSDL(javax.wsdl.Definition def)
                  throws org.apache.cxf.tools.common.ToolException
Throws:
org.apache.cxf.tools.common.ToolException

doGeneration

protected void doGeneration()
                     throws org.apache.cxf.tools.common.ToolException
Throws:
org.apache.cxf.tools.common.ToolException

setEnvironment

public void setEnvironment(org.apache.cxf.tools.common.ToolContext penv)
Specified by:
setEnvironment in interface org.apache.cxf.tools.common.Processor

getEnvironment

public org.apache.cxf.tools.common.ToolContext getEnvironment()

checkSupported

public void checkSupported(javax.wsdl.Definition def)
                    throws org.apache.cxf.tools.common.ToolException
Throws:
org.apache.cxf.tools.common.ToolException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.