Package com.sun.tools.ws.wsdl.document
Class Port
- java.lang.Object
-
- com.sun.tools.ws.wsdl.framework.Entity
-
- com.sun.tools.ws.wsdl.framework.GlobalEntity
-
- com.sun.tools.ws.wsdl.document.Port
-
- All Implemented Interfaces:
TWSDLExtensible,Elemental,GloballyKnown
public class Port extends GlobalEntity implements TWSDLExtensible
Entity corresponding to the "port" WSDL element.- Author:
- WS Development Team
-
-
Field Summary
-
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
-
-
Constructor Summary
Constructors Constructor Description Port(Defining defining, Locator locator, ErrorReceiver errReceiver)
-
Method Summary
-
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
-
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 Detail
-
Port
public Port(Defining defining, Locator locator, ErrorReceiver errReceiver)
-
-
Method Detail
-
getService
public Service getService()
-
setService
public void setService(Service s)
-
getBinding
public QName getBinding()
-
setBinding
public void setBinding(QName n)
-
resolveBinding
public Binding resolveBinding(AbstractDocument document)
-
getKind
public Kind getKind()
- Specified by:
getKindin interfaceGloballyKnown- Specified by:
getKindin classGlobalEntity
-
getNameValue
public String getNameValue()
Description copied from interface:TWSDLExtensibleGives 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:
getNameValuein interfaceTWSDLExtensible
-
getNamespaceURI
public String getNamespaceURI()
Description copied from interface:TWSDLExtensibleGives namespace URI of a wsdl extensibility element.- Specified by:
getNamespaceURIin interfaceTWSDLExtensible
-
getWSDLElementName
public QName getWSDLElementName()
Description copied from interface:TWSDLExtensibleGives the WSDL element or WSDL extensibility element name- Specified by:
getWSDLElementNamein interfaceTWSDLExtensible
-
getDocumentation
public Documentation getDocumentation()
-
setDocumentation
public void setDocumentation(Documentation d)
-
withAllQNamesDo
public void withAllQNamesDo(QNameAction action)
- Overrides:
withAllQNamesDoin classEntity
-
withAllEntityReferencesDo
public void withAllEntityReferencesDo(EntityReferenceAction action)
- Overrides:
withAllEntityReferencesDoin classEntity
-
accept
public void accept(WSDLDocumentVisitor visitor) throws Exception
- Throws:
Exception
-
validateThis
public void validateThis()
- Specified by:
validateThisin classEntity
-
addExtension
public void addExtension(TWSDLExtension e)
Description copied from interface:TWSDLExtensibleAnTWSDLExtensionHandlerwill call this method to add anTWSDLExtensionobject- Specified by:
addExtensionin interfaceTWSDLExtensible- Parameters:
e- non-null extension object
-
extensions
public Iterable<TWSDLExtension> extensions()
Description copied from interface:TWSDLExtensibleGives iterator overTWSDLExtensions- Specified by:
extensionsin interfaceTWSDLExtensible
-
getParent
public TWSDLExtensible getParent()
Description copied from interface:TWSDLExtensibleGives the parent of a wsdl extensibility element.
Here, theFor example, <wsdl:portType> <wsdl:operation> ...TWSDLExtensiblerepresenting wsdl:operation's parent would be wsdl:portType- Specified by:
getParentin interfaceTWSDLExtensible- Returns:
- null if the
TWSDLExtensiblehas no parent, root of wsdl document - wsdl:definition.
-
setParent
public void setParent(TWSDLExtensible parent)
-
withAllSubEntitiesDo
public void withAllSubEntitiesDo(EntityAction action)
- Overrides:
withAllSubEntitiesDoin classEntity
-
getElementName
public QName getElementName()
- Specified by:
getElementNamein interfaceElemental
-
-