Class Content

    • Constructor Detail

      • Content

        public Content()
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

        Overrides:
        equals in class Object
        Parameters:
        other - he reference object with which to compare.
        Returns:
        true if 'this' object is equal to the 'other' object.
      • hashCode

        public int hashCode()
        Returns a hashcode value for the object.

        It follows the contract defined by the Object hashCode() method.

        Overrides:
        hashCode in class Object
        Returns:
        the hashcode of the bean object.
      • toString

        public String toString()
        Returns the String representation for the object.

        Overrides:
        toString in class Object
        Returns:
        String representation for the object.
      • getType

        public String getType()
        Returns the content type.

        The type indicates how the value was/will-be encoded in the XML feed.

        Since:
        Atom 1.0
      • setType

        public void setType​(String type)
        Sets the content type.

        The type indicates how the value was/will-be encoded in the XML feed.

        Since:
        Atom 1.0
      • getMode

        public String getMode()
        Returns the content mode (Atom 0.3 only).

        The mode indicates how the value was/will-be encoded in the XML feed.

        Returns:
        the content mode, null if none.
      • setMode

        public void setMode​(String mode)
        Sets the content mode (Atom 0.3 only).

        The mode indicates how the value was/will-be encoded in the XML feed.

        Parameters:
        mode - the content mode, null if none.
      • getValue

        public String getValue()
        Returns the content value.

        The return value should be decoded.

        Returns:
        the content value, null if none.
      • setValue

        public void setValue​(String value)
        Sets the content value.

        The value being set should be decoded.

        Parameters:
        value - the content value, null if none.
      • getSrc

        public String getSrc()
        Returns the src

        Returns:
        Returns the src.
        Since:
        Atom 1.0
      • setSrc

        public void setSrc​(String src)
        Set the src

        Parameters:
        src - The src to set.
        Since:
        Atom 1.0