|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.atom.Common christophedelory.atom.Type christophedelory.atom.Content
public class Content
Contains or links to the content of an entry.
Note: the value of the "type" attribute may be one of "text", "html", or "xhtml".
Failing that, it must conform to the syntax of a MIME media type, but must not be a composite type (see section 4.2.6 of RFC4288).
If neither the type attribute nor the src attribute is provided, Atom processors must behave as though the type attribute were present with a value of "text".
Caution: XHTML elements are not handled.
Constructor Summary | |
---|---|
Content()
|
Method Summary | |
---|---|
String |
getSrc()
Returns the associated URI reference. |
String |
getText()
Returns the associated text. |
void |
setSrc(String src)
Initializes the associated URI reference. |
void |
setText(String text)
Initializes the associated text. |
Methods inherited from class christophedelory.atom.Type |
---|
getType, setType |
Methods inherited from class christophedelory.atom.Common |
---|
getBaseString, getLang, setBaseString, setLang |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Content()
Method Detail |
---|
public String getText()
null
.setText(java.lang.String)
public void setText(String text)
text
- a text. May be null
.getText()
public String getSrc()
null
.setSrc(java.lang.String)
public void setSrc(String src)
src
- an URI as a string. May be null
.getSrc()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |