org.apache.geronimo.ews.ws4j2ee.context.wsdl.impl
Class AxisWSDLContext
java.lang.Object
org.apache.geronimo.ews.ws4j2ee.context.wsdl.impl.AbstractWSDLContext
org.apache.geronimo.ews.ws4j2ee.context.wsdl.impl.AxisWSDLContext
- All Implemented Interfaces:
- WSDLContext
- public class AxisWSDLContext
- extends AbstractWSDLContext
- implements WSDLContext
This Class is a wrapper fo the Axis SymbolTable. Since SymbolTable is parsed
completly it is not editable so the methods will throw the
UnsupportedOperationException.
- Author:
- Srinath Perera(hemapani@opensource.lk)
- See Also:
WSDLContext
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Constructor Summary |
AxisWSDLContext(org.apache.axis.wsdl.symbolTable.SymbolTable axisSymbltable)
|
Method Summary |
void |
addService(javax.wsdl.Service service)
Symbol table can't be edited |
void |
addType(SchemaType type)
Symbol table can't be edited |
org.apache.axis.wsdl.symbolTable.BindingEntry |
getBinding(javax.xml.namespace.QName bindingname)
|
java.util.Collection |
getBindings()
|
org.apache.axis.wsdl.symbolTable.Element |
getElement(javax.xml.namespace.QName name)
|
org.apache.axis.wsdl.symbolTable.PortEntry |
getPort(javax.xml.namespace.QName name)
|
org.apache.axis.wsdl.symbolTable.PortTypeEntry |
getPortType(javax.xml.namespace.QName portname)
|
java.util.Collection |
getPortTypes()
|
org.apache.axis.wsdl.symbolTable.ServiceEntry |
getService(javax.xml.namespace.QName servicename)
|
java.util.Collection |
getServices()
|
java.lang.String |
getTargetNSURI()
|
org.apache.axis.wsdl.symbolTable.TypeEntry |
getType(javax.xml.namespace.QName typename)
|
java.util.Map |
getTypes()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
AxisWSDLContext
public AxisWSDLContext(org.apache.axis.wsdl.symbolTable.SymbolTable axisSymbltable)
addService
public void addService(javax.wsdl.Service service)
- Symbol table can't be edited
- Specified by:
addService
in interface WSDLContext
- Parameters:
service
-
addType
public void addType(SchemaType type)
- Symbol table can't be edited
- Specified by:
addType
in interface WSDLContext
- Parameters:
type
-
getBinding
public org.apache.axis.wsdl.symbolTable.BindingEntry getBinding(javax.xml.namespace.QName bindingname)
- Specified by:
getBinding
in interface WSDLContext
- Parameters:
bindingname
-
- Returns:
- Binding whose name is equal to bindingname.
return null if no Binding with this name.
getBindings
public java.util.Collection getBindings()
- Specified by:
getBindings
in interface WSDLContext
- Returns:
- all the bindings define in the WSDL
getPortType
public org.apache.axis.wsdl.symbolTable.PortTypeEntry getPortType(javax.xml.namespace.QName portname)
- Specified by:
getPortType
in interface WSDLContext
- Parameters:
portname
-
- Returns:
- PortType whose name is equal to portname.
return null if no PortType with this name.
getPortTypes
public java.util.Collection getPortTypes()
- Specified by:
getPortTypes
in interface WSDLContext
- Returns:
- all the ports define in the WSDL
getService
public org.apache.axis.wsdl.symbolTable.ServiceEntry getService(javax.xml.namespace.QName servicename)
- Specified by:
getService
in interface WSDLContext
- Parameters:
servicename
-
- Returns:
- Service whose name is equal to servicename.
return null if no Service with this name.
getServices
public java.util.Collection getServices()
- Specified by:
getServices
in interface WSDLContext
- Returns:
- all the ports define in the WSDL
getType
public org.apache.axis.wsdl.symbolTable.TypeEntry getType(javax.xml.namespace.QName typename)
- Specified by:
getType
in interface WSDLContext
- Parameters:
typename
-
- Returns:
- Type whose name is equal to typename.
return null if no Type with this name.
getTypes
public java.util.Map getTypes()
- Specified by:
getTypes
in interface WSDLContext
- Returns:
- all the Types define in the WSDL
getElement
public org.apache.axis.wsdl.symbolTable.Element getElement(javax.xml.namespace.QName name)
- Specified by:
getElement
in interface WSDLContext
getPort
public org.apache.axis.wsdl.symbolTable.PortEntry getPort(javax.xml.namespace.QName name)
- Specified by:
getPort
in interface WSDLContext
getTargetNSURI
public java.lang.String getTargetNSURI()
- Specified by:
getTargetNSURI
in interface WSDLContext
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.