org.apache.jetspeed.om.portlet.impl
Class LanguageImpl

java.lang.Object
  extended by org.apache.jetspeed.om.portlet.impl.LanguageImpl
All Implemented Interfaces:
java.io.Serializable, Language, org.apache.pluto.container.om.portlet.PortletInfo

public class LanguageImpl
extends java.lang.Object
implements Language, java.io.Serializable

LanguageImpl
Okay, base Language really has nothing to really do at all with language per se. It actually represents the locallized title and short-title attributes of a portlet's definition.

Version:
$Id: LanguageImpl.java 759884 2009-03-30 08:52:37Z ate $
Author:
Scott T. Weaver , Ate Douma
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.jetspeed.om.portlet.Language
JAVAX_PORTLET_KEYWORDS, JAVAX_PORTLET_SHORT_TITLE, JAVAX_PORTLET_TITLE
 
Constructor Summary
LanguageImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.String> getKeywordList()
           
 java.lang.String getKeywords()
           
 java.util.Locale getLocale()
           
 java.lang.String getShortTitle()
           
 java.lang.String getTitle()
           
 int hashCode()
           
 boolean isSupportedLocale()
           
 void setKeywords(java.lang.String keywords)
           
 void setLocale(java.util.Locale locale)
           
 void setShortTitle(java.lang.String shortTitle)
           
 void setSupportedLocale(boolean supportedLocale)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageImpl

public LanguageImpl()
Method Detail

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface Language

isSupportedLocale

public boolean isSupportedLocale()
Specified by:
isSupportedLocale in interface Language

setSupportedLocale

public void setSupportedLocale(boolean supportedLocale)
Specified by:
setSupportedLocale in interface Language

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface org.apache.pluto.container.om.portlet.PortletInfo

getShortTitle

public java.lang.String getShortTitle()
Specified by:
getShortTitle in interface org.apache.pluto.container.om.portlet.PortletInfo

getKeywordList

public java.util.List<java.lang.String> getKeywordList()
Specified by:
getKeywordList in interface Language

setLocale

public void setLocale(java.util.Locale locale)

setTitle

public void setTitle(java.lang.String title)
Specified by:
setTitle in interface org.apache.pluto.container.om.portlet.PortletInfo

setShortTitle

public void setShortTitle(java.lang.String shortTitle)
Specified by:
setShortTitle in interface org.apache.pluto.container.om.portlet.PortletInfo

setKeywords

public void setKeywords(java.lang.String keywords)
Specified by:
setKeywords in interface Language
Specified by:
setKeywords in interface org.apache.pluto.container.om.portlet.PortletInfo

getKeywords

public java.lang.String getKeywords()
Specified by:
getKeywords in interface org.apache.pluto.container.om.portlet.PortletInfo

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.