Package com.sun.tools.ws.wsdl.document
Class Types
- java.lang.Object
-
- com.sun.tools.ws.wsdl.framework.Entity
-
- com.sun.tools.ws.wsdl.document.Types
-
- All Implemented Interfaces:
TWSDLExtensible,Elemental
public class Types extends Entity implements TWSDLExtensible
Entity corresponding to the "types" WSDL element.- Author:
- WS Development Team
-
-
Field Summary
-
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(WSDLDocumentVisitor visitor)voidaccept(ExtensionVisitor visitor)voidaddExtension(TWSDLExtension e)AnTWSDLExtensionHandlerwill call this method to add anTWSDLExtensionobjectIterable<TWSDLExtension>extensions()Gives iterator overTWSDLExtensionsDocumentationgetDocumentation()QNamegetElementName()StringgetNamespaceURI()Gives namespace URI of a wsdl extensibility element.StringgetNameValue()wsdl:type does not have any name attributeTWSDLExtensiblegetParent()Gives the parent of a wsdl extensibility element.QNamegetWSDLElementName()Gives the WSDL element or WSDL extensibility element namevoidsetDocumentation(Documentation d)voidsetParent(TWSDLExtensible parent)voidvalidateThis()voidwithAllSubEntitiesDo(EntityAction action)-
Methods inherited from class com.sun.tools.ws.wsdl.framework.Entity
failValidation, failValidation, getLocator, getProperty, removeProperty, setErrorReceiver, setProperty, withAllEntityReferencesDo, withAllQNamesDo
-
-
-
-
Constructor Detail
-
Types
public Types(Locator locator)
-
-
Method Detail
-
getElementName
public QName getElementName()
- Specified by:
getElementNamein interfaceElemental
-
getDocumentation
public Documentation getDocumentation()
-
setDocumentation
public void setDocumentation(Documentation d)
-
accept
public void accept(WSDLDocumentVisitor visitor) throws Exception
- Throws:
Exception
-
validateThis
public void validateThis()
- Specified by:
validateThisin classEntity
-
getNameValue
public String getNameValue()
wsdl:type does not have any name attribute- 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
-
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
-
accept
public void accept(ExtensionVisitor visitor) throws Exception
- Throws:
Exception
-
-