Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.tools.corba.processors.idl.WSDLASTVisitor
All Implemented Interfaces:
antlr.ASTVisitor

public final class WSDLASTVisitor
extends Object
implements antlr.ASTVisitor


Constructor Summary
WSDLASTVisitor(String tns, String schemans, String corbatypemaptns)
           
WSDLASTVisitor(String tns, String schemans, String corbatypemaptns, String pragmaPrefix)
           
 
Method Summary
 boolean getBoundedStringOverride()
           
 javax.wsdl.Binding[] getCorbaBindings()
           
 boolean getDeclaredWSAImport()
           
 DeferredActionCollection getDeferredActions()
           
 javax.wsdl.Definition getDefinition()
           
 String getIdlFile()
           
 String getImportSchemaFilename()
           
 Map<Scope,List<Scope>> getInheritedScopeMap()
           
 WSDLSchemaManager getManager()
           
 ModuleToNSMapper getModuleToNSMapper()
           
 String getOutputDir()
           
 String getPragmaPrefix()
           
 ScopeNameCollection getRecursionList()
           
 org.apache.ws.commons.schema.XmlSchema getSchema()
           
 org.apache.ws.commons.schema.XmlSchemaCollection getSchemas()
           
 ScopeNameCollection getScopedNames()
           
 org.apache.ws.commons.schema.XmlSchemaType getSequenceOctetType()
           
 boolean getSupportPolymorphicFactories()
           
 TypeMappingType getTypeMap()
           
 boolean isSchemaGenerated()
           
 void setBoundedStringOverride(boolean value)
           
 void setDeclaredWSAImport(boolean declaredImport)
           
 void setExcludedModules(Map<String,List> modules)
           
 void setIdlFile(String idl)
           
 void setImportSchema(String filename)
           
 void setModuleToNSMapping(Map<String,String> map)
           
 void setOutputDir(String outDir)
           
 void setPragmaPrefix(String pragmaPrefix)
           
 void setQualified(boolean qualified)
           
 void setSchemaGenerated(boolean value)
           
 void setSequenceOctetType(String type)
           
 void setSupportPolymorphicFactories(boolean support)
           
 void updateSchemaNamespace(String name)
           
 void visit(antlr.collections.AST node)
           
 boolean writeDefinition(javax.wsdl.Definition def, Writer writer)
           
 boolean writeDefinition(Writer writer)
           
 boolean writeDefinitions(Writer writer, Writer schemaWriter, Writer logicalWriter, Writer physicalWriter, String schemaFilename, String logicalFile, String physicalFile)
           
 boolean writeSchema(org.apache.ws.commons.schema.XmlSchema schemaRef, Writer writer)
           
 boolean writeSchemaDefinition(javax.wsdl.Definition definit, Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLASTVisitor

public WSDLASTVisitor(String tns,
                      String schemans,
                      String corbatypemaptns,
                      String pragmaPrefix)
               throws javax.wsdl.WSDLException,
                      javax.xml.bind.JAXBException
Throws:
javax.wsdl.WSDLException
javax.xml.bind.JAXBException

WSDLASTVisitor

public WSDLASTVisitor(String tns,
                      String schemans,
                      String corbatypemaptns)
               throws javax.wsdl.WSDLException,
                      javax.xml.bind.JAXBException
Throws:
javax.wsdl.WSDLException
javax.xml.bind.JAXBException
Method Detail

visit

public void visit(antlr.collections.AST node)
Specified by:
visit in interface antlr.ASTVisitor

setSchemaGenerated

public void setSchemaGenerated(boolean value)

isSchemaGenerated

public boolean isSchemaGenerated()

updateSchemaNamespace

public void updateSchemaNamespace(String name)
                           throws Exception
Throws:
Exception

setQualified

public void setQualified(boolean qualified)
                  throws Exception
Throws:
Exception

setSupportPolymorphicFactories

public void setSupportPolymorphicFactories(boolean support)
                                    throws Exception
Throws:
Exception

getSupportPolymorphicFactories

public boolean getSupportPolymorphicFactories()

setIdlFile

public void setIdlFile(String idl)

getIdlFile

public String getIdlFile()

getInheritedScopeMap

public Map<Scope,List<Scope>> getInheritedScopeMap()

setOutputDir

public void setOutputDir(String outDir)

getOutputDir

public String getOutputDir()

getDefinition

public javax.wsdl.Definition getDefinition()

getManager

public WSDLSchemaManager getManager()

getSchema

public org.apache.ws.commons.schema.XmlSchema getSchema()

getSchemas

public org.apache.ws.commons.schema.XmlSchemaCollection getSchemas()

getScopedNames

public ScopeNameCollection getScopedNames()

getRecursionList

public ScopeNameCollection getRecursionList()

getDeferredActions

public DeferredActionCollection getDeferredActions()

getTypeMap

public TypeMappingType getTypeMap()

getSequenceOctetType

public org.apache.ws.commons.schema.XmlSchemaType getSequenceOctetType()

setImportSchema

public void setImportSchema(String filename)

getImportSchemaFilename

public String getImportSchemaFilename()

setSequenceOctetType

public void setSequenceOctetType(String type)
                          throws Exception
Throws:
Exception

getBoundedStringOverride

public boolean getBoundedStringOverride()

setBoundedStringOverride

public void setBoundedStringOverride(boolean value)

getCorbaBindings

public javax.wsdl.Binding[] getCorbaBindings()

writeDefinition

public boolean writeDefinition(Writer writer)
                        throws Exception
Throws:
Exception

writeDefinition

public boolean writeDefinition(javax.wsdl.Definition def,
                               Writer writer)
                        throws Exception
Throws:
Exception

writeSchemaDefinition

public boolean writeSchemaDefinition(javax.wsdl.Definition definit,
                                     Writer writer)
                              throws Exception
Throws:
Exception

writeSchema

public boolean writeSchema(org.apache.ws.commons.schema.XmlSchema schemaRef,
                           Writer writer)
                    throws Exception
Throws:
Exception

writeDefinitions

public boolean writeDefinitions(Writer writer,
                                Writer schemaWriter,
                                Writer logicalWriter,
                                Writer physicalWriter,
                                String schemaFilename,
                                String logicalFile,
                                String physicalFile)
                         throws Exception
Throws:
Exception

getDeclaredWSAImport

public boolean getDeclaredWSAImport()

setDeclaredWSAImport

public void setDeclaredWSAImport(boolean declaredImport)

setModuleToNSMapping

public void setModuleToNSMapping(Map<String,String> map)

getModuleToNSMapper

public ModuleToNSMapper getModuleToNSMapper()

setExcludedModules

public void setExcludedModules(Map<String,List> modules)

setPragmaPrefix

public void setPragmaPrefix(String pragmaPrefix)

getPragmaPrefix

public String getPragmaPrefix()

Apache CXF API

Apache CXF