Class Content

  • All Implemented Interfaces:
    Serializable

    public class Content
    extends Object
    implements Serializable

    Java class for content complex type.

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

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

      • filename

        protected String filename
      • textContent

        protected String textContent
      • binaryContent

        protected javax.activation.DataHandler binaryContent
      • xmlContent

        protected Element xmlContent
    • Constructor Detail

      • Content

        public Content()
        Default no-arg constructor
      • Content

        public Content​(String url,
                       String filename,
                       String textContent,
                       javax.activation.DataHandler binaryContent,
                       Element xmlContent)
        Fully-initialising value constructor
      • Content

        public Content​(javax.activation.DataSource dataSource)
    • Method Detail

      • 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
      • getFilename

        public String getFilename()
        Gets the value of the filename property.
        Returns:
        possible object is String
      • setFilename

        public void setFilename​(String value)
        Sets the value of the filename property.
        Parameters:
        value - allowed object is String
      • getTextContent

        public String getTextContent()
        Gets the value of the textContent property.
        Returns:
        possible object is String
      • setTextContent

        public void setTextContent​(String value)
        Sets the value of the textContent property.
        Parameters:
        value - allowed object is String
      • getBinaryContent

        public javax.activation.DataHandler getBinaryContent()
        Gets the value of the binaryContent property.
        Returns:
        possible object is DataHandler
      • setBinaryContent

        public void setBinaryContent​(javax.activation.DataHandler value)
        Sets the value of the binaryContent property.
        Parameters:
        value - allowed object is DataHandler
      • getXmlContent

        public Element getXmlContent()
        Gets the value of the xmlContent property.
        Returns:
        possible object is Element
      • setXmlContent

        public void setXmlContent​(Element value)
        Sets the value of the xmlContent property.
        Parameters:
        value - allowed object is Element
      • withTextContent

        public Content withTextContent​(String value)
      • withBinaryContent

        public Content withBinaryContent​(javax.activation.DataHandler value)