public interface SyndContent extends Cloneable, CopyFrom
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a deep clone of the object.
|
String |
getMode()
Gets the content mode (needed for Atom 0.3 support).
|
String |
getType()
Returns the content type.
|
String |
getValue()
Returns the content value.
|
void |
setMode(String mode)
Sets the content mode (needed for Atom 0.3 support).
|
void |
setType(String type)
Sets the content type.
|
void |
setValue(String value)
Sets the content value.
|
copyFrom, getInterface
String getType()
When used for the description of an entry, if null 'text/plain' must be assumed.
void setType(String type)
When used for the description of an entry, if null 'text/plain' must be assumed.
type
- the content type to set, null if none.String getMode()
void setMode(String mode)
mode
- the content mode to set, null if none.String getValue()
void setValue(String value)
value
- the content value to set, null if none.Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.Copyright © 2020. All rights reserved.