org.apache.cxf.tools.java2wsdl.generator
Class AbstractGenerator<T>

java.lang.Object
  extended by org.apache.cxf.tools.java2wsdl.generator.AbstractGenerator<T>
Direct Known Subclasses:
BeanGenerator, DateTypeCustomGenerator, WSDL11Generator

public abstract class AbstractGenerator<T>
extends Object


Constructor Summary
AbstractGenerator()
           
 
Method Summary
 boolean allowImports()
           
protected  File createOutputDir(File file)
           
abstract  T generate(File file)
           
 org.apache.cxf.Bus getBus()
           
 File getOutputBase()
           
protected  org.apache.cxf.tools.util.OutputStreamCreator getOutputStreamCreator()
           
 org.apache.cxf.service.model.ServiceInfo getServiceModel()
           
 org.apache.cxf.tools.common.ToolContext getToolContext()
           
 void setAllowImports(boolean b)
           
 void setBus(org.apache.cxf.Bus b)
           
 void setOutputBase(File out)
           
 void setServiceModel(org.apache.cxf.service.model.ServiceInfo s)
           
 void setToolContext(org.apache.cxf.tools.common.ToolContext arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGenerator

public AbstractGenerator()
Method Detail

setToolContext

public void setToolContext(org.apache.cxf.tools.common.ToolContext arg)

getToolContext

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

setOutputBase

public void setOutputBase(File out)

getOutputBase

public File getOutputBase()

setServiceModel

public void setServiceModel(org.apache.cxf.service.model.ServiceInfo s)

getServiceModel

public org.apache.cxf.service.model.ServiceInfo getServiceModel()

getBus

public org.apache.cxf.Bus getBus()

setBus

public void setBus(org.apache.cxf.Bus b)

setAllowImports

public void setAllowImports(boolean b)

allowImports

public boolean allowImports()

generate

public abstract T generate(File file)

createOutputDir

protected File createOutputDir(File file)

getOutputStreamCreator

protected org.apache.cxf.tools.util.OutputStreamCreator getOutputStreamCreator()


Apache CXF