org.apache.geronimo.webservices.builder
Class SchemaInfoBuilder
java.lang.Object
org.apache.geronimo.webservices.builder.SchemaInfoBuilder
public class SchemaInfoBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaInfoBuilder
public SchemaInfoBuilder(JarFile moduleFile,
URI wsdlUri)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
SchemaInfoBuilder
public SchemaInfoBuilder(JarFile moduleFile,
javax.wsdl.Definition definition)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
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 org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
readWsdl
public javax.wsdl.Definition readWsdl(JarFile moduleFile,
URI wsdlURI)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
getExtensibilityElement
public static javax.wsdl.extensions.ExtensibilityElement getExtensibilityElement(Class clazz,
List extensibilityElements)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
movePortLocation
public String movePortLocation(String portComponentName,
String servletLocation)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.