org.apache.geronimo.webservices.builder
Class SchemaInfoBuilder

java.lang.Object
  extended by org.apache.geronimo.webservices.builder.SchemaInfoBuilder

public class SchemaInfoBuilder
extends Object


Constructor Summary
SchemaInfoBuilder(JarFile moduleFile, javax.wsdl.Definition definition)
           
SchemaInfoBuilder(JarFile moduleFile, URI wsdlUri)
           
 
Method Summary
 org.apache.xmlbeans.SchemaTypeSystem compileSchemaTypeSystem(javax.wsdl.Definition definition)
           
 Map getComplexTypesInWsdl()
          Find all the complex types in the previously constructed schema analysis.
 javax.wsdl.Definition getDefinition()
           
 Map getElementToTypeMap()
           
static javax.wsdl.extensions.ExtensibilityElement getExtensibilityElement(Class clazz, List extensibilityElements)
           
 Map getPortMap()
          Gets a map of all the javax.wsdl.Port instance in the WSDL definition keyed by the port's QName

WSDL 1.1 spec: 2.6 "The name attribute provides a unique name among all ports defined within in the enclosing WSDL document."

 Map getSchemaTypeKeyToSchemaTypeMap()
           
 Map getSimpleTypeMap()
           
 Map getWsdlMap()
           
 String movePortLocation(String portComponentName, String servletLocation)
           
 javax.wsdl.Definition readWsdl(JarFile moduleFile, URI wsdlURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaInfoBuilder

public SchemaInfoBuilder(JarFile moduleFile,
                         URI wsdlUri)
                  throws DeploymentException
Throws:
DeploymentException

SchemaInfoBuilder

public SchemaInfoBuilder(JarFile moduleFile,
                         javax.wsdl.Definition definition)
                  throws DeploymentException
Throws:
DeploymentException
Method Detail

getSchemaTypeKeyToSchemaTypeMap

public Map getSchemaTypeKeyToSchemaTypeMap()

getDefinition

public javax.wsdl.Definition getDefinition()

getWsdlMap

public Map getWsdlMap()

getComplexTypesInWsdl

public Map getComplexTypesInWsdl()
Find all the complex types in the previously constructed schema analysis. Put them in a map from complex type QName to schema fragment.

Returns:
map of complexType QName to schema fragment

getElementToTypeMap

public Map getElementToTypeMap()

getPortMap

public Map getPortMap()
Gets a map of all the javax.wsdl.Port instance in the WSDL definition keyed by the port's QName

WSDL 1.1 spec: 2.6 "The name attribute provides a unique name among all ports defined within in the enclosing WSDL document."

Returns:
Map of port QName to javax.wsdl.Port for that QName.

getSimpleTypeMap

public Map getSimpleTypeMap()

compileSchemaTypeSystem

public org.apache.xmlbeans.SchemaTypeSystem compileSchemaTypeSystem(javax.wsdl.Definition definition)
                                                             throws DeploymentException
Throws:
DeploymentException

readWsdl

public javax.wsdl.Definition readWsdl(JarFile moduleFile,
                                      URI wsdlURI)
                               throws DeploymentException
Throws:
DeploymentException

getExtensibilityElement

public static javax.wsdl.extensions.ExtensibilityElement getExtensibilityElement(Class clazz,
                                                                                 List extensibilityElements)
                                                                          throws DeploymentException
Throws:
DeploymentException

movePortLocation

public String movePortLocation(String portComponentName,
                               String servletLocation)
                        throws DeploymentException
Throws:
DeploymentException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.