Apache CXF API

org.apache.cxf.tools.corba.processors.idl
Class IDLToWSDLProcessor

java.lang.Object
  extended by org.apache.cxf.tools.corba.processors.idl.IDLProcessor
      extended by org.apache.cxf.tools.corba.processors.idl.IDLToWSDLProcessor
All Implemented Interfaces:
Processor

public class IDLToWSDLProcessor
extends IDLProcessor


Field Summary
 
Fields inherited from class org.apache.cxf.tools.corba.processors.idl.IDLProcessor
env, preprocessor
 
Constructor Summary
IDLToWSDLProcessor()
           
 
Method Summary
 void addTypeMapSchemaImports(javax.wsdl.Definition def, WSDLASTVisitor visitor)
           
 void cleanUpTypeMap(TypeMappingType typeMap)
           
 void generateCORBAService(javax.wsdl.Definition def, javax.wsdl.Binding[] bindings, boolean isDefaultMapping)
           
 String getBaseFilename(String ifile)
           
 Writer getOutputWriter(File file)
           
 Writer getOutputWriter(String filename, String outputDirectory)
           
 void parseIDL(antlr.collections.AST idlTree)
           
 void process()
           
 void process(antlr.collections.AST idlTree)
           
protected  void setIgnoreImports(boolean flag)
           
protected  void setImportDefinitionWriters(Map<String,File> writers)
          Used only for test cases to set writers for imports when using the -mns option
protected  void setImportSchemaWriters(Map<String,File> writers)
           
 void setLogicalOutputWriter(Writer writer)
           
 void setOutputWriter(Writer writer)
           
 void setPhysicalOutputWriter(Writer writer)
           
 void setSchemaOutputWriter(Writer writer)
           
 
Methods inherited from class org.apache.cxf.tools.corba.processors.idl.IDLProcessor
getIDLTree, setEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDLToWSDLProcessor

public IDLToWSDLProcessor()
Method Detail

process

public void process()
             throws ToolException
Specified by:
process in interface Processor
Overrides:
process in class IDLProcessor
Throws:
ToolException

process

public void process(antlr.collections.AST idlTree)
             throws ToolException
Throws:
ToolException

setOutputWriter

public void setOutputWriter(Writer writer)

setSchemaOutputWriter

public void setSchemaOutputWriter(Writer writer)

setLogicalOutputWriter

public void setLogicalOutputWriter(Writer writer)

setPhysicalOutputWriter

public void setPhysicalOutputWriter(Writer writer)

setImportDefinitionWriters

protected void setImportDefinitionWriters(Map<String,File> writers)
Used only for test cases to set writers for imports when using the -mns option


setImportSchemaWriters

protected void setImportSchemaWriters(Map<String,File> writers)

setIgnoreImports

protected void setIgnoreImports(boolean flag)

parseIDL

public void parseIDL(antlr.collections.AST idlTree)
              throws Exception
Throws:
Exception

getOutputWriter

public Writer getOutputWriter(String filename,
                              String outputDirectory)
                       throws Exception
Throws:
Exception

getOutputWriter

public Writer getOutputWriter(File file)
                       throws Exception
Throws:
Exception

getBaseFilename

public String getBaseFilename(String ifile)

generateCORBAService

public void generateCORBAService(javax.wsdl.Definition def,
                                 javax.wsdl.Binding[] bindings,
                                 boolean isDefaultMapping)
                          throws Exception
Throws:
Exception

cleanUpTypeMap

public void cleanUpTypeMap(TypeMappingType typeMap)

addTypeMapSchemaImports

public void addTypeMapSchemaImports(javax.wsdl.Definition def,
                                    WSDLASTVisitor visitor)

Apache CXF API

Apache CXF