Class J2EEModelInfo

    • Constructor Detail

      • J2EEModelInfo

        public J2EEModelInfo()
      • J2EEModelInfo

        public J2EEModelInfo​(JaxRpcMappingXml mappingXml)
        Constructor for J2EEModelInfo
        Parameters:
        mappingXml - args for this run of wsdlc
    • Method Detail

      • setJaxRcpMappingXml

        public void setJaxRcpMappingXml​(JaxRpcMappingXml mappingXml)
      • javaNameOfService

        public String javaNameOfService​(QName service)
        Find the service name for a WSDL service. If the mapping meta-data specifies the name, then use it. Otherwise, use the regular javxrpc name
        Returns:
        the fully qualified Java name for a WSDL service
      • javaNameOfSEI

        public String javaNameOfSEI​(QName bindingQName,
                                    QName portTypeQName,
                                    QName portQName)
        Find java name Service Endpoint Interface
        Parameters:
        bindingQName - QName of binding
        portTypeQName - QName of portType
        portQName - QName of port
        Returns:
        the fully qualified Java name for a portType
      • javaNameOfType

        public String javaNameOfType​(TypeDefinitionComponent component)
        Find the java name of a simple or complex type
        Parameters:
        component - the TypeDefinitionComponent that represents a type
        Returns:
        the fully qualified class name of the type
      • javaMemberInfo

        public J2EEModelInfo.JavaMemberInfo javaMemberInfo​(TypeDefinitionComponent component,
                                                           String member)
        Find the java name of a member of a complex type
        Parameters:
        component - the TypeDefinitionComponent that represents a type
        member - name of the mbmer in XML schema
        Returns:
        the member name to use in java
      • javaNameOfElementType

        public String javaNameOfElementType​(QName typeQName,
                                            String anonymousName)
        Find the java name of an element
        Parameters:
        typeQName - the Qname of the element
        Returns:
        the fully qualified class name of the type
      • javaMemberOfElementInfo

        public J2EEModelInfo.JavaMemberInfo javaMemberOfElementInfo​(QName typeQName,
                                                                    String member)
        Find the java name of a member of an element
        Parameters:
        typeQName - QName of element
        member - name of the mbmer in XML schema
        Returns:
        JavaMemberInfo with info about member name, and whether it's a field
      • javaNameOfPort

        public String javaNameOfPort​(QName port)
        Find Java name for port as specified in mapping meta-data, for use in generating get method,
        Returns:
        Java name of port , or null if not in mapping meta-data
      • exceptionConstructorOrder

        public HashMap exceptionConstructorOrder​(QName wsdlMessage)
        Find the constructor parameter order for an exception generated from a WSDL message that points to a complexType
        Returns:
        HashMap containing mapping of element name to constructor order or null if wsdlMessage can't be found