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

java.lang.Object
  extended by org.apache.cxf.tools.corba.processors.idl.VisitorBase
      extended by org.apache.cxf.tools.corba.processors.idl.ScopedNameVisitor
All Implemented Interfaces:
Visitor

public class ScopedNameVisitor
extends VisitorBase


Field Summary
 
Fields inherited from class org.apache.cxf.tools.corba.processors.idl.VisitorBase
deferredActions, definition, manager, mapper, schema, schemas, scopedNames, typeMap, wsdlVisitor
 
Constructor Summary
ScopedNameVisitor(Scope scope, javax.wsdl.Definition defn, org.apache.ws.commons.schema.XmlSchema schemaRef, WSDLASTVisitor wsdlVisitor)
           
 
Method Summary
static boolean accept(Scope scope, javax.wsdl.Definition defn, org.apache.ws.commons.schema.XmlSchema schemaRef, antlr.collections.AST node, WSDLASTVisitor wsdlVisitor)
           
static CorbaTypeImpl findCorbaType(TypeMappingType typeMap, QName typeName)
           
static CorbaTypeImpl findCorbaTypeForSchemaType(TypeMappingType typeMap, QName schemaTypeName, Scope scopedName)
           
protected static boolean findNonSchemaType(String name, WSDLASTVisitor wsdlVisitor, VisitorTypeHolder holder)
           
protected static boolean findSchemaType(Scope scope, javax.wsdl.Definition defn, org.apache.ws.commons.schema.XmlSchema schemaRef, antlr.collections.AST node, WSDLASTVisitor wsdlVisitor, VisitorTypeHolder holder)
           
static boolean findSchemaTypeInBaseScope(List<Scope> scopeList, Scope scope, javax.wsdl.Definition defn, org.apache.ws.commons.schema.XmlSchema schemaRef, antlr.collections.AST node, WSDLASTVisitor wsdlVisitor, VisitorTypeHolder holder)
           
protected static Scope forwardDeclared(Scope scope, javax.wsdl.Definition defn, org.apache.ws.commons.schema.XmlSchema schemaRef, antlr.collections.AST node, WSDLASTVisitor wsdlVisitor)
           
protected static Scope getFullyScopedName(Scope currentScope, antlr.collections.AST node)
           
protected static boolean isforwardDeclared(Scope scope, antlr.collections.AST node, WSDLASTVisitor wsdlVisitor)
           
protected static boolean isFullyScopedName(antlr.collections.AST node)
           
protected static void populateAliasSchemaType(CorbaTypeImpl corbaType, WSDLASTVisitor wsdlVisitor, VisitorTypeHolder holder)
           
 void setExceptionMode(boolean value)
           
 void visit(antlr.collections.AST node)
           
 
Methods inherited from class org.apache.cxf.tools.corba.processors.idl.VisitorBase
getCorbaType, getFullyQualifiedName, getSchemaType, getScope, getScopedNames, getWsdlVisitor, setCorbaType, setFullyQualifiedName, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopedNameVisitor

public ScopedNameVisitor(Scope scope,
                         javax.wsdl.Definition defn,
                         org.apache.ws.commons.schema.XmlSchema schemaRef,
                         WSDLASTVisitor wsdlVisitor)
Method Detail

setExceptionMode

public void setExceptionMode(boolean value)

accept

public static boolean accept(Scope scope,
                             javax.wsdl.Definition defn,
                             org.apache.ws.commons.schema.XmlSchema schemaRef,
                             antlr.collections.AST node,
                             WSDLASTVisitor wsdlVisitor)

visit

public void visit(antlr.collections.AST node)
Specified by:
visit in interface Visitor
Specified by:
visit in class VisitorBase

isforwardDeclared

protected static boolean isforwardDeclared(Scope scope,
                                           antlr.collections.AST node,
                                           WSDLASTVisitor wsdlVisitor)

forwardDeclared

protected static Scope forwardDeclared(Scope scope,
                                       javax.wsdl.Definition defn,
                                       org.apache.ws.commons.schema.XmlSchema schemaRef,
                                       antlr.collections.AST node,
                                       WSDLASTVisitor wsdlVisitor)

findSchemaType

protected static boolean findSchemaType(Scope scope,
                                        javax.wsdl.Definition defn,
                                        org.apache.ws.commons.schema.XmlSchema schemaRef,
                                        antlr.collections.AST node,
                                        WSDLASTVisitor wsdlVisitor,
                                        VisitorTypeHolder holder)

findSchemaTypeInBaseScope

public static boolean findSchemaTypeInBaseScope(List<Scope> scopeList,
                                                Scope scope,
                                                javax.wsdl.Definition defn,
                                                org.apache.ws.commons.schema.XmlSchema schemaRef,
                                                antlr.collections.AST node,
                                                WSDLASTVisitor wsdlVisitor,
                                                VisitorTypeHolder holder)

findCorbaTypeForSchemaType

public static CorbaTypeImpl findCorbaTypeForSchemaType(TypeMappingType typeMap,
                                                       QName schemaTypeName,
                                                       Scope scopedName)

findCorbaType

public static CorbaTypeImpl findCorbaType(TypeMappingType typeMap,
                                          QName typeName)

isFullyScopedName

protected static boolean isFullyScopedName(antlr.collections.AST node)

getFullyScopedName

protected static Scope getFullyScopedName(Scope currentScope,
                                          antlr.collections.AST node)

findNonSchemaType

protected static boolean findNonSchemaType(String name,
                                           WSDLASTVisitor wsdlVisitor,
                                           VisitorTypeHolder holder)

populateAliasSchemaType

protected static void populateAliasSchemaType(CorbaTypeImpl corbaType,
                                              WSDLASTVisitor wsdlVisitor,
                                              VisitorTypeHolder holder)


Apache CXF