|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Markup
Model interface for portal markups. A Markup
object identifies the markup
language in that a client device (such as a web browser, a wap device, or an i-mode device)
expects to get its result. This is, for example
A markup in the portal contains the following data:
html
). This identifies a markup.
utf-8
for most western languages, while for Japanese it could be s-jis
This list does not need to identify all character sets for all portal languages.html
is normally text/html
).MarkupList
model.
Method Summary | |
---|---|
java.lang.String |
getCharset(Language aLanguage)
Returns the character set of the markup, dependent on the selected language |
java.lang.String |
getCharset(java.util.Locale aLocale)
Returns the character set of the markup, dependent on the selected locale |
java.lang.String |
getDefaultCharset()
Returns the default character set of the markup. |
java.lang.String |
getMimeType()
Returns the MIME type of the markup |
java.lang.String |
getName()
Returns the markup name. |
boolean |
isActive()
Returns the activation state of the markup. |
Methods inherited from interface com.ibm.portal.TimeStamped |
---|
getCreated, getLastModified |
Methods inherited from interface com.ibm.portal.Identifiable |
---|
getObjectID |
Methods inherited from interface com.ibm.portal.Localized |
---|
getDescription, getLocales, getTitle |
Method Detail |
---|
boolean isActive() throws ModelException
isActive
in interface ActiveFlag
true
if the markup is active, false
if the markup is inactive
ModelException
- if an error occured while accessing model informationjava.lang.String getCharset(java.util.Locale aLocale) throws ModelException
aLanguage
- the locale for which the character set is to be returned.
null
if there is no language
specific character set for that language.
ModelException
- if an error occured while accessing model informationjava.lang.String getCharset(Language aLanguage) throws ModelException
aLanguage
- the language for which the character set is to be returned.
null
if there is no language
specific character set for that language.
ModelException
- if an error occured while accessing model informationjava.lang.String getMimeType() throws ModelException
ModelException
- if an error occured while accessing model informationjava.lang.String getDefaultCharset() throws ModelException
ModelException
- if an error occured while accessing model informationjava.lang.String getName() throws ModelException
ModelException
- if an error occured while accessing model information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |