Package com.sun.tools.ws.wsdl.document
Class PortType
java.lang.Object
com.sun.tools.ws.wsdl.framework.Entity
com.sun.tools.ws.wsdl.framework.GlobalEntity
com.sun.tools.ws.wsdl.document.PortType
- All Implemented Interfaces:
TWSDLExtensible
,Elemental
,GloballyKnown
Entity corresponding to the "portType" WSDL element.
- Author:
- WS Development Team
-
Field Summary
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(WSDLDocumentVisitor visitor) void
void
AnTWSDLExtensionHandler
will call this method to add anTWSDLExtension
objectGives iterator overTWSDLExtension
sgetKind()
Gives namespace URI of a wsdl extensibility element.Gives the wsdl extensiblity element's name attribute value.Gives the parent of a wsdl extensibility element.Gives the WSDL element or WSDL extensibility element namevoid
void
setParent
(TWSDLExtensible parent) void
void
withAllSubEntitiesDo
(EntityAction action) Methods inherited from class com.sun.tools.ws.wsdl.framework.GlobalEntity
getDefining, getName, setName
Methods inherited from class com.sun.tools.ws.wsdl.framework.Entity
failValidation, failValidation, getLocator, getProperty, removeProperty, setErrorReceiver, setProperty, withAllEntityReferencesDo, withAllQNamesDo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.tools.ws.wsdl.framework.Elemental
getLocator
-
Constructor Details
-
PortType
-
-
Method Details
-
add
-
operations
-
getOperationsNamed
-
getKind
- Specified by:
getKind
in interfaceGloballyKnown
- Specified by:
getKind
in classGlobalEntity
-
getElementName
- Specified by:
getElementName
in interfaceElemental
-
getDocumentation
-
setDocumentation
-
withAllSubEntitiesDo
- Overrides:
withAllSubEntitiesDo
in classEntity
-
accept
- Throws:
Exception
-
validateThis
public void validateThis()- Specified by:
validateThis
in classEntity
-
getNameValue
Description copied from interface:TWSDLExtensible
Gives the wsdl extensiblity element's name attribute value. It can be null as @name on some of the wsdl extensibility elements are optinal such as wsdl:input- Specified by:
getNameValue
in interfaceTWSDLExtensible
-
getNamespaceURI
Description copied from interface:TWSDLExtensible
Gives namespace URI of a wsdl extensibility element.- Specified by:
getNamespaceURI
in interfaceTWSDLExtensible
-
getWSDLElementName
Description copied from interface:TWSDLExtensible
Gives the WSDL element or WSDL extensibility element name- Specified by:
getWSDLElementName
in interfaceTWSDLExtensible
-
addExtension
Description copied from interface:TWSDLExtensible
AnTWSDLExtensionHandler
will call this method to add anTWSDLExtension
object- Specified by:
addExtension
in interfaceTWSDLExtensible
- Parameters:
e
- non-null extension object
-
extensions
Description copied from interface:TWSDLExtensible
Gives iterator overTWSDLExtension
s- Specified by:
extensions
in interfaceTWSDLExtensible
-
getParent
Description copied from interface:TWSDLExtensible
Gives the parent of a wsdl extensibility element.
Here, theFor example, <wsdl:portType> <wsdl:operation> ...
TWSDLExtensible
representing wsdl:operation's parent would be wsdl:portType- Specified by:
getParent
in interfaceTWSDLExtensible
- Returns:
- null if the
TWSDLExtensible
has no parent, root of wsdl document - wsdl:definition.
-
setParent
-