org.ow2.easywsdl.wsdl.impl.wsdl20
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<InterfaceType,Operation>
org.ow2.easywsdl.wsdl.impl.wsdl20.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<InterfaceType,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 |
equals, getParent, getSchema, getTopParent, hashCode, setParent |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement |
addOtherElements |
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation |
InterfaceTypeImpl
public InterfaceTypeImpl(InterfaceType 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<InterfaceType,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
getOtherElements
public java.util.List<org.w3c.dom.Element> getOtherElements()
throws org.ow2.easywsdl.schema.api.XmlException
- Description copied from class:
AbstractWSDLElementImpl
- Get all the extensibility elements defined here.
- Specified by:
getOtherElements
in interface org.ow2.easywsdl.schema.api.XMLElement
- Overrides:
getOtherElements
in class AbstractWSDLElementImpl<InterfaceType>
- Throws:
org.ow2.easywsdl.schema.api.XmlException
createOperation
public Operation createOperation()
- Description copied from interface:
AbsItfInterfaceType
- create an operation to this port type.
- Specified by:
createOperation
in interface AbsItfInterfaceType<Operation>
replaceDOMElementByInterfaceType
public static InterfaceType replaceDOMElementByInterfaceType(WSDLElement parent,
org.w3c.dom.Element childToReplace,
WSDLReaderImpl reader)
throws WSDLException
- Throws:
WSDLException
Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.