com.sun.tools.ws.wsdl.document.mime
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIMEPart
public MIMEPart(Locator locator)
getElementName
public QName getElementName()
- Specified by:
getElementName
in interface Elemental
getName
public String getName()
setName
public void setName(String s)
getNameValue
public String 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 interface TWSDLExtensible
getNamespaceURI
public String getNamespaceURI()
- Description copied from interface:
TWSDLExtensible
- Gives namespace URI of a wsdl extensibility element.
- Specified by:
getNamespaceURI
in interface TWSDLExtensible
getWSDLElementName
public QName getWSDLElementName()
- Description copied from interface:
TWSDLExtensible
- Gives the WSDL element or WSDL extensibility element name
- Specified by:
getWSDLElementName
in interface TWSDLExtensible
addExtension
public void addExtension(TWSDLExtension e)
- Description copied from interface:
TWSDLExtensible
- An
TWSDLExtensionHandler
will call this method to add an TWSDLExtension
object
- Specified by:
addExtension
in interface TWSDLExtensible
- Parameters:
e
- non-null extension object
extensions
public Iterable<TWSDLExtension> extensions()
- Description copied from interface:
TWSDLExtensible
- Gives iterator over
TWSDLExtension
s
- Specified by:
extensions
in interface TWSDLExtensible
withAllSubEntitiesDo
public void withAllSubEntitiesDo(EntityAction action)
- Overrides:
withAllSubEntitiesDo
in class Entity
validateThis
public void validateThis()
- Specified by:
validateThis
in class Entity