|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.intabulas.sandler.elements.impl.ContentImpl
public class ContentImpl
ContentImpl
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ContentImpl()
|
|
ContentImpl(String tagname)
|
|
ContentImpl(String content,
String tagname)
|
|
| Method Summary | |
|---|---|
String |
getBody()
Returns the actual entry content |
String |
getLanguage()
Retutns the language of the body content (xml:lang) |
String |
getMimeType()
Returns the MIME Type format of the body content |
String |
getMode()
Returns the method used to encode the body content (ie: xml, escaped, base64) |
void |
loadDocument(org.xmlpull.v1.XmlPullParser parser)
Extract relevant content from the parser stream |
void |
setBody(String content)
Set's the entry content |
void |
setLanguage(String language)
Sets the language of the body content (xml:lang) |
void |
setMimeType(String mimeType)
Set's the MIME Type format of the body content |
void |
setMode(String mode)
Set's the method used to encode the body content (ie: xml, escaped, base64) |
void |
setTagName(String tagame)
Set's the content tag name |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContentImpl()
public ContentImpl(String tagname)
public ContentImpl(String content,
String tagname)
| Method Detail |
|---|
public String getMimeType()
getMimeType in interface Contentpublic void setMimeType(String mimeType)
setMimeType in interface ContentmimeType - a String representing the MIME Typepublic String getMode()
getMode in interface Contentpublic void setMode(String mode)
setMode in interface Contentmode - a String representing the encodingpublic String getLanguage()
getLanguage in interface Contentpublic void setLanguage(String language)
setLanguage in interface Contentlanguage - a String representing the content languagepublic String getBody()
getBody in interface Contentpublic void setBody(String content)
setBody in interface Contentcontent - a String representing the body contentpublic void setTagName(String tagame)
setTagName in interface Contenttagame - public String toString()
toString in class Object
public void loadDocument(org.xmlpull.v1.XmlPullParser parser)
throws org.xmlpull.v1.XmlPullParserException
loadDocument in interface ParseableEntityparser - the XML Pull Parser instabce
org.xmlpull.v1.XmlPullParserException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||