Class MIMEPartImpl

    • Field Detail

      • elementType

        protected javax.xml.namespace.QName elementType
      • required

        protected java.lang.Boolean required
      • extElements

        protected java.util.List extElements
    • Constructor Detail

      • MIMEPartImpl

        public MIMEPartImpl()
    • Method Detail

      • setElementType

        public void setElementType​(javax.xml.namespace.QName elementType)
        Set the type of this extensibility element.
        Specified by:
        setElementType in interface ExtensibilityElement
        Parameters:
        elementType - the type
      • getElementType

        public javax.xml.namespace.QName getElementType()
        Get the type of this extensibility element.
        Specified by:
        getElementType in interface ExtensibilityElement
        Returns:
        the extensibility element's type
      • setRequired

        public void setRequired​(java.lang.Boolean required)
        Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
        Specified by:
        setRequired in interface ExtensibilityElement
      • getRequired

        public java.lang.Boolean getRequired()
        Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
        Specified by:
        getRequired in interface ExtensibilityElement
      • addExtensibilityElement

        public void addExtensibilityElement​(ExtensibilityElement extElement)
        Add an extensibility element. This is where the MIME elements go.
        Specified by:
        addExtensibilityElement in interface ElementExtensible
        Parameters:
        extElement - the extensibility element to be added
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object