FileDocCategorySizeDatePackage
NoopFactory.javaAPI DocApache Axis 1.44412Sat Apr 22 18:57:28 BST 2006org.apache.axis.wsdl.gen

NoopFactory

public class NoopFactory extends Object implements GeneratorFactory
This factory returns a bunch of NoopGenerators

Fields Summary
private org.apache.axis.wsdl.symbolTable.BaseTypeMapping
btm
Field btm
Constructors Summary
Methods Summary
public voidgeneratorPass(javax.wsdl.Definition def, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Method generatorPass

param
def
param
symbolTable

    
public org.apache.axis.wsdl.symbolTable.BaseTypeMappinggetBaseTypeMapping()
Method getBaseTypeMapping

return


        if (btm == null) {
            btm = new BaseTypeMapping() {

                TypeMapping defaultTM =
                        DefaultSOAPEncodingTypeMappingImpl.createWithDelegate();

                public String getBaseName(QName qNameIn) {

                    javax.xml.namespace.QName qName =
                            new javax.xml.namespace.QName(qNameIn.getNamespaceURI(),
                                    qNameIn.getLocalPart());
                    Class cls =
                            defaultTM.getClassForQName(qName);

                    if (cls == null) {
                        return null;
                    } else {

                        // RJB NOTE:  Javaism - bad bad bad
                        return JavaUtils.getTextClassName(cls.getName());
                    }
                }
            };
        }

        return btm;
    
public GeneratorgetGenerator(javax.wsdl.Message message, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Method getGenerator

param
message
param
symbolTable
return

        return new NoopGenerator();
    
public GeneratorgetGenerator(javax.wsdl.PortType portType, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Method getGenerator

param
portType
param
symbolTable
return

        return new NoopGenerator();
    
public GeneratorgetGenerator(javax.wsdl.Binding binding, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Method getGenerator

param
binding
param
symbolTable
return

        return new NoopGenerator();
    
public GeneratorgetGenerator(javax.wsdl.Service service, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Method getGenerator

param
service
param
symbolTable
return

        return new NoopGenerator();
    
public GeneratorgetGenerator(org.apache.axis.wsdl.symbolTable.TypeEntry type, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Method getGenerator

param
type
param
symbolTable
return

        return new NoopGenerator();
    
public GeneratorgetGenerator(javax.wsdl.Definition definition, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Method getGenerator

param
definition
param
symbolTable
return

        return new NoopGenerator();
    
public voidsetBaseTypeMapping(org.apache.axis.wsdl.symbolTable.BaseTypeMapping btm)
Method setBaseTypeMapping

param
btm


               
        
        this.btm = btm;