Constructor and Description |
---|
Content()
Construct content
|
Content(String value)
Construct content with value (and type="html")
|
Modifier and Type | Method and Description |
---|---|
String |
getSrc()
Get URI of content if out-of-line
|
String |
getType()
Get type of content, either "text", "html", "xhtml" or a MIME content-type.
|
String |
getValue()
Get value of content if in-line
|
void |
setSrc(String src)
Set URI of content if out-of-line
|
void |
setType(String type)
Set type of content, either "text", "html", "xhtml" or a MIME content-type.
|
void |
setValue(String value)
Set value of content if in-line
|
public Content()
public Content(String value)
public String getValue()
public void setValue(String value)
public String getType()
public void setType(String type)
public String getSrc()
public void setSrc(String src)
Copyright © 2017. All rights reserved.