org.apache.geronimo.webservices.builder
Class SchemaInfoBuilder
java.lang.Object
org.apache.geronimo.webservices.builder.SchemaInfoBuilder
public class SchemaInfoBuilder
- extends java.lang.Object
- Version:
- $Rev: 653782 $ $Date: 2008-05-06 22:10:14 +0800 (Tue, 06 May 2008) $
|
Constructor Summary |
SchemaInfoBuilder(java.util.jar.JarFile moduleFile,
javax.wsdl.Definition definition)
|
SchemaInfoBuilder(java.util.jar.JarFile moduleFile,
java.net.URI wsdlUri)
|
|
Method Summary |
org.apache.xmlbeans.SchemaTypeSystem |
compileSchemaTypeSystem(javax.wsdl.Definition definition)
|
java.util.Map |
getComplexTypesInWsdl()
Find all the complex types in the previously constructed schema analysis. |
javax.wsdl.Definition |
getDefinition()
|
java.util.Map |
getElementToTypeMap()
|
static javax.wsdl.extensions.ExtensibilityElement |
getExtensibilityElement(java.lang.Class clazz,
java.util.List extensibilityElements)
|
java.util.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." |
java.util.Map |
getSchemaTypeKeyToSchemaTypeMap()
|
java.util.Map |
getSimpleTypeMap()
|
java.util.Map |
getWsdlMap()
|
java.lang.String |
movePortLocation(java.lang.String portComponentName,
java.lang.String servletLocation)
|
javax.wsdl.Definition |
readWsdl(java.util.jar.JarFile moduleFile,
java.net.URI wsdlURI)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaInfoBuilder
public SchemaInfoBuilder(java.util.jar.JarFile moduleFile,
java.net.URI wsdlUri)
throws DeploymentException
- Throws:
DeploymentException
SchemaInfoBuilder
public SchemaInfoBuilder(java.util.jar.JarFile moduleFile,
javax.wsdl.Definition definition)
throws DeploymentException
- Throws:
DeploymentException
getSchemaTypeKeyToSchemaTypeMap
public java.util.Map getSchemaTypeKeyToSchemaTypeMap()
getDefinition
public javax.wsdl.Definition getDefinition()
getWsdlMap
public java.util.Map getWsdlMap()
getComplexTypesInWsdl
public java.util.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 java.util.Map getElementToTypeMap()
getPortMap
public java.util.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 java.util.Map getSimpleTypeMap()
compileSchemaTypeSystem
public org.apache.xmlbeans.SchemaTypeSystem compileSchemaTypeSystem(javax.wsdl.Definition definition)
throws DeploymentException
- Throws:
DeploymentException
readWsdl
public javax.wsdl.Definition readWsdl(java.util.jar.JarFile moduleFile,
java.net.URI wsdlURI)
throws DeploymentException
- Throws:
DeploymentException
getExtensibilityElement
public static javax.wsdl.extensions.ExtensibilityElement getExtensibilityElement(java.lang.Class clazz,
java.util.List extensibilityElements)
throws DeploymentException
- Throws:
DeploymentException
movePortLocation
public java.lang.String movePortLocation(java.lang.String portComponentName,
java.lang.String servletLocation)
throws DeploymentException
- Throws:
DeploymentException
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.