Class SignMessageType


  • public class SignMessageType
    extends java.lang.Object

    Java class for SignMessageType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="SignMessageType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element ref="{http://id.elegnamnden.se/csig/1.1/dss-ext/ns}Message"/>
             <element ref="{http://id.elegnamnden.se/csig/1.1/dss-ext/ns}EncryptedMessage"/>
           </choice>
           <attribute name="MustShow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="DisplayEntity" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="MimeType" default="text">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                 <enumeration value="text/html"/>
                 <enumeration value="text"/>
                 <enumeration value="text/markdown"/>
               </restriction>
             </simpleType>
           </attribute>
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Summary

      Constructors 
      Constructor Description
      SignMessageType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayEntity()
      Gets the value of the displayEntity property.
      EncryptedElementType getEncryptedMessage()
      Gets the value of the encryptedMessage property.
      byte[] getMessage()
      Gets the value of the message property.
      java.lang.String getMimeType()
      Gets the value of the mimeType property.
      java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.
      boolean isMustShow()
      Gets the value of the mustShow property.
      void setDisplayEntity​(java.lang.String value)
      Sets the value of the displayEntity property.
      void setEncryptedMessage​(EncryptedElementType value)
      Sets the value of the encryptedMessage property.
      void setMessage​(byte[] value)
      Sets the value of the message property.
      void setMimeType​(java.lang.String value)
      Sets the value of the mimeType property.
      void setMustShow​(java.lang.Boolean value)
      Sets the value of the mustShow property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • message

        protected byte[] message
      • mustShow

        protected java.lang.Boolean mustShow
      • displayEntity

        protected java.lang.String displayEntity
      • mimeType

        protected java.lang.String mimeType
    • Constructor Detail

      • SignMessageType

        public SignMessageType()
    • Method Detail

      • getMessage

        public byte[] getMessage()
        Gets the value of the message property.
        Returns:
        possible object is byte[]
      • setMessage

        public void setMessage​(byte[] value)
        Sets the value of the message property.
        Parameters:
        value - allowed object is byte[]
      • isMustShow

        public boolean isMustShow()
        Gets the value of the mustShow property.
        Returns:
        possible object is Boolean
      • setMustShow

        public void setMustShow​(java.lang.Boolean value)
        Sets the value of the mustShow property.
        Parameters:
        value - allowed object is Boolean
      • getDisplayEntity

        public java.lang.String getDisplayEntity()
        Gets the value of the displayEntity property.
        Returns:
        possible object is String
      • setDisplayEntity

        public void setDisplayEntity​(java.lang.String value)
        Sets the value of the displayEntity property.
        Parameters:
        value - allowed object is String
      • getMimeType

        public java.lang.String getMimeType()
        Gets the value of the mimeType property.
        Returns:
        possible object is String
      • setMimeType

        public void setMimeType​(java.lang.String value)
        Sets the value of the mimeType property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null