public static class BlogEntry.Content
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
src |
(package private) java.lang.String |
type |
(package private) java.lang.String |
value |
Constructor and Description |
---|
Content()
Construct content
|
Content(java.lang.String value)
Construct content with value (and type="html")
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSrc()
Get URI of content if out-of-line
|
java.lang.String |
getType()
Get type of content, either "text", "html", "xhtml" or a MIME content-type.
|
java.lang.String |
getValue()
Get value of content if in-line
|
void |
setSrc(java.lang.String src)
Set URI of content if out-of-line
|
void |
setType(java.lang.String type)
Set type of content, either "text", "html", "xhtml" or a MIME content-type.
|
void |
setValue(java.lang.String value)
Set value of content if in-line
|
public Content()
public Content(java.lang.String value)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getSrc()
public void setSrc(java.lang.String src)