|
|||||||||
| Home >> All >> org >> intabulas >> sandler >> elements >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.intabulas.sandler.elements.impl
Class ContentImpl

java.lang.Objectorg.intabulas.sandler.elements.impl.ContentImpl
- All Implemented Interfaces:
- org.intabulas.sandler.elements.AtomElement, org.intabulas.sandler.elements.Content, org.intabulas.sandler.elements.ParseableEntity
- public class ContentImpl
- extends java.lang.Object
- implements org.intabulas.sandler.elements.Content, org.intabulas.sandler.elements.AtomElement
- extends java.lang.Object
ContentImpl
- Version:
- $Id: ContentImpl.java,v 1.4 2003/09/09 23:44:44 intabulas Exp $
| Field Summary | |
private java.lang.String |
_content
|
private java.lang.String |
_language
|
private java.lang.String |
_mimeType
|
private java.lang.String |
_mode
|
| Constructor Summary | |
ContentImpl()
|
|
| Method Summary | |
java.lang.String |
getBody()
Returns the actual entry content |
java.lang.String |
getLanguage()
Retutns the language of the body content (xml:lang) |
java.lang.String |
getMimeType()
Returns the MIME Type format of the body content |
java.lang.String |
getMode()
Returns the method used to encode the body content (ie: xml, escaped, base64) |
void |
loadDocument(XmlPullParser parser)
Extract relevant content from the parser stream |
private void |
processDocumentAttributes(XmlPullParser parser)
|
void |
setBody(java.lang.String content)
Set's the entry content |
void |
setLanguage(java.lang.String language)
Sets the language of the body content (xml:lang) |
void |
setMimeType(java.lang.String mimeType)
Set's the MIME Type format of the body content |
void |
setMode(java.lang.String mode)
Set's the method used to encode the body content (ie: xml, escaped, base64) |
java.lang.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 |
| Field Detail |
_mimeType
private java.lang.String _mimeType
_language
private java.lang.String _language
_mode
private java.lang.String _mode
_content
private java.lang.String _content
| Constructor Detail |
ContentImpl
public ContentImpl()
| Method Detail |
getMimeType
public java.lang.String getMimeType()
- Returns the MIME Type format of the body content
- Specified by:
getMimeTypein interfaceorg.intabulas.sandler.elements.Content
setMimeType
public void setMimeType(java.lang.String mimeType)
- Set's the MIME Type format of the body content
- Specified by:
setMimeTypein interfaceorg.intabulas.sandler.elements.Content
getMode
public java.lang.String getMode()
- Returns the method used to encode the body content (ie: xml, escaped, base64)
- Specified by:
getModein interfaceorg.intabulas.sandler.elements.Content
setMode
public void setMode(java.lang.String mode)
- Set's the method used to encode the body content (ie: xml, escaped, base64)
- Specified by:
setModein interfaceorg.intabulas.sandler.elements.Content
getLanguage
public java.lang.String getLanguage()
- Retutns the language of the body content (xml:lang)
- Specified by:
getLanguagein interfaceorg.intabulas.sandler.elements.Content
setLanguage
public void setLanguage(java.lang.String language)
- Sets the language of the body content (xml:lang)
- Specified by:
setLanguagein interfaceorg.intabulas.sandler.elements.Content
getBody
public java.lang.String getBody()
- Returns the actual entry content
- Specified by:
getBodyin interfaceorg.intabulas.sandler.elements.Content
setBody
public void setBody(java.lang.String content)
- Set's the entry content
- Specified by:
setBodyin interfaceorg.intabulas.sandler.elements.Content
toString
public java.lang.String toString()
- Returns a string representation of the object.
loadDocument
public void loadDocument(XmlPullParser parser)
throws XmlPullParserException
- Extract relevant content from the parser stream
- Specified by:
loadDocumentin interfaceorg.intabulas.sandler.elements.ParseableEntity
processDocumentAttributes
private void processDocumentAttributes(XmlPullParser parser)
|
|||||||||
| Home >> All >> org >> intabulas >> sandler >> elements >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.intabulas.sandler.elements.impl.ContentImpl