org.intabulas.sandler.elements
Interface Content

All Superinterfaces:
ParseableEntity
All Known Implementing Classes:
ContentImpl

public interface Content
extends ParseableEntity

Content

Version:
$Id: Content.java,v 1.4 2004/01/02 01:43:57 intabulas Exp $
Author:
Mark Lussier

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 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
 
Methods inherited from interface org.intabulas.sandler.elements.ParseableEntity
loadDocument
 

Method Detail

getMimeType

String getMimeType()
Returns the MIME Type format of the body content

Returns:
a String representing the MIME Type

setMimeType

void setMimeType(String mimeType)
Set's the MIME Type format of the body content

Parameters:
mimeType - a String representing the MIME Type

getMode

String getMode()
Returns the method used to encode the body content (ie: xml, escaped, base64)

Returns:
a String representing the encoding

setMode

void setMode(String mode)
Set's the method used to encode the body content (ie: xml, escaped, base64)

Parameters:
mode - a String representing the encoding

getLanguage

String getLanguage()
Retutns the language of the body content (xml:lang)

Returns:
a String representing the content language

setLanguage

void setLanguage(String language)
Sets the language of the body content (xml:lang)

Parameters:
language - a String representing the content language

getBody

String getBody()
Returns the actual entry content

Returns:
content a String representing the body content

setBody

void setBody(String content)
Set's the entry content

Parameters:
content - a String representing the body content

setTagName

void setTagName(String tagame)
Set's the content tag name

Parameters:
tagame -


Copyright © 2003-2004 Mark Lussier. All Rights Reserved.