Class ContentType

  • All Implemented Interfaces:
    Serializable

    public class ContentType
    extends Object
    implements Serializable

    Java class for contentType complex type.

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

     <complexType name="contentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="file">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="filename" type="{http://www.w3.org/2001/XMLSchema}string"/>
                       <choice minOccurs="0">
                         <element name="textContent" type="{http://www.w3.org/2001/XMLSchema}string"/>
                         <element name="binaryContent" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
                       </choice>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </choice>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ContentType

        public ContentType()
        Default no-arg constructor
    • Method Detail

      • getText

        public String getText()
        Gets the value of the text property.
        Returns:
        possible object is String
      • setText

        public void setText​(String value)
        Sets the value of the text property.
        Parameters:
        value - allowed object is String
      • getUrl

        public String getUrl()
        Gets the value of the url property.
        Returns:
        possible object is String
      • setUrl

        public void setUrl​(String value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is String