Class MIMEPart
- java.lang.Object
-
- com.sun.tools.ws.wsdl.framework.Entity
-
- com.sun.tools.ws.wsdl.framework.ExtensionImpl
-
- com.sun.tools.ws.wsdl.document.mime.MIMEPart
-
- All Implemented Interfaces:
TWSDLExtensible,TWSDLExtension,Elemental
public class MIMEPart extends ExtensionImpl implements TWSDLExtensible
A MIME part extension.- 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 voidaddExtension(TWSDLExtension e)AnTWSDLExtensionHandlerwill call this method to add anTWSDLExtensionobjectIterable<TWSDLExtension>extensions()Gives iterator overTWSDLExtensionsQNamegetElementName()StringgetName()StringgetNamespaceURI()Gives namespace URI of a wsdl extensibility element.StringgetNameValue()Gives the wsdl extensiblity element's name attribute value.QNamegetWSDLElementName()Gives the WSDL element or WSDL extensibility element namevoidsetName(String s)voidvalidateThis()voidwithAllSubEntitiesDo(EntityAction action)-
Methods inherited from class com.sun.tools.ws.wsdl.framework.ExtensionImpl
accept, getParent, setParent
-
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.api.wsdl.TWSDLExtensible
getParent
-
-
-
-
Constructor Detail
-
MIMEPart
public MIMEPart(Locator locator)
-
-
Method Detail
-
getElementName
public QName getElementName()
- Specified by:
getElementNamein interfaceElemental
-
getName
public String getName()
-
setName
public void setName(String s)
-
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
-
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
-
withAllSubEntitiesDo
public void withAllSubEntitiesDo(EntityAction action)
- Overrides:
withAllSubEntitiesDoin classEntity
-
validateThis
public void validateThis()
- Specified by:
validateThisin classEntity
-
-