org.ow2.easywsdl.wsdl.impl.wsdl11
Class InterfaceTypeImpl
java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractInterfaceTypeImpl<TPortType,Operation>
org.ow2.easywsdl.wsdl.impl.wsdl11.InterfaceTypeImpl
- All Implemented Interfaces:
- java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfInterfaceType<Operation>, InterfaceType, WSDLElement
public class InterfaceTypeImpl
- extends AbstractInterfaceTypeImpl<TPortType,Operation>
- implements InterfaceType
- Author:
- Nicolas Salatge - eBM WebSourcing
- See Also:
- Serialized Form
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
documentation, model, parent |
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
getParent, getSchema, getTopParent, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement |
addOtherElements, getOtherElements |
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
InterfaceTypeImpl
public InterfaceTypeImpl(TPortType itf,
DescriptionImpl desc)
getQName
public javax.xml.namespace.QName getQName()
- Description copied from interface:
AbsItfInterfaceType
- Get the name of this port type.
- Specified by:
getQName
in interface AbsItfInterfaceType<Operation>
- Returns:
- the port type name
addOperation
public void addOperation(Operation op)
- Description copied from interface:
AbsItfInterfaceType
- Add an operation to this port type.
- Specified by:
addOperation
in interface AbsItfInterfaceType<Operation>
- Overrides:
addOperation
in class AbstractInterfaceTypeImpl<TPortType,Operation>
- Parameters:
op
- the operation to be added
removeOperation
public Operation removeOperation(java.lang.String name)
- Description copied from interface:
AbsItfInterfaceType
- Remove the specified operation. Note that operation names can be
overloaded within a PortType.
- Specified by:
removeOperation
in interface AbsItfInterfaceType<Operation>
- Parameters:
name
- the name of the desired operation.- See Also:
#getOperation(String)
setQName
public void setQName(javax.xml.namespace.QName name)
- Description copied from interface:
AbsItfInterfaceType
- Set the name of this port type.
- Specified by:
setQName
in interface AbsItfInterfaceType<Operation>
- Parameters:
name
- the desired name
createOperation
public Operation createOperation()
- Description copied from interface:
AbsItfInterfaceType
- create an operation to this port type.
- Specified by:
createOperation
in interface AbsItfInterfaceType<Operation>
replaceDOMElementByTPortType
public static TPortType replaceDOMElementByTPortType(WSDLElement parent,
org.w3c.dom.Element childToReplace,
WSDLReaderImpl reader)
throws WSDLException
- Throws:
WSDLException
Copyright © 2008-2009 Petals Link (previously EBM WebSourcing). All Rights Reserved.