org.apache.pluto.om.common
Interface Language

All Superinterfaces:
Model

public interface Language
extends Model

This interface provides access to a language and its attributes. A language is defined in the portlet.xml of a portlet application archive file.

This interface defines the model as known from the MVC pattern. Its purpose is to provide read access to the data stored in the model.


Method Summary
 java.util.Iterator getKeywords()
          Returns the keywords
 java.util.Locale getLocale()
          Returns the locale
 java.util.ResourceBundle getResourceBundle()
          Returns the resource bundle for the portlet for the locale of the language will be returned.
 java.lang.String getShortTitle()
          Returns the short title.
 java.lang.String getTitle()
          Returns the title
 

Method Detail

getLocale

java.util.Locale getLocale()
Returns the locale

Returns:
the locale

getTitle

java.lang.String getTitle()
Returns the title

Returns:
the title

getShortTitle

java.lang.String getShortTitle()
Returns the short title. The return value may be NULL.

Returns:
the short title

getKeywords

java.util.Iterator getKeywords()
Returns the keywords

Returns:
a readonly collection containg the keywords

getResourceBundle

java.util.ResourceBundle getResourceBundle()
Returns the resource bundle for the portlet for the locale of the language will be returned.

Returns:
a resource bundle