org.apache.cocoon.portal.pluto.om.common
Class LanguageImpl

java.lang.Object
  extended by org.apache.cocoon.portal.pluto.om.common.LanguageImpl
All Implemented Interfaces:
Serializable, org.apache.pluto.om.common.Language, org.apache.pluto.om.Model

public class LanguageImpl
extends Object
implements org.apache.pluto.om.common.Language, Serializable

Version:
CVS $Id: LanguageImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Constructor Summary
LanguageImpl(Locale locale, ResourceBundle bundle, String defaultTitle, String defaultShortTitle, String defaultKeyWords)
           
 
Method Summary
 boolean equals(Object o)
           
 Iterator getKeywords()
           
 Locale getLocale()
           
 ResourceBundle getResourceBundle()
           
 String getShortTitle()
           
 String getTitle()
           
 int hashCode()
           
 void setKeywords(Collection keywords)
           
 void setLocale(Locale locale)
           
 void setShortTitle(String shortTitle)
           
 void setTitle(String title)
           
 String toString()
           
 String toString(int indent)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LanguageImpl

public LanguageImpl(Locale locale,
                    ResourceBundle bundle,
                    String defaultTitle,
                    String defaultShortTitle,
                    String defaultKeyWords)
Method Detail

getLocale

public Locale getLocale()
Specified by:
getLocale in interface org.apache.pluto.om.common.Language

getTitle

public String getTitle()
Specified by:
getTitle in interface org.apache.pluto.om.common.Language

getShortTitle

public String getShortTitle()
Specified by:
getShortTitle in interface org.apache.pluto.om.common.Language

getKeywords

public Iterator getKeywords()
Specified by:
getKeywords in interface org.apache.pluto.om.common.Language

getResourceBundle

public ResourceBundle getResourceBundle()
Specified by:
getResourceBundle in interface org.apache.pluto.om.common.Language

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(int indent)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

setKeywords

public void setKeywords(Collection keywords)

setLocale

public void setLocale(Locale locale)

setShortTitle

public void setShortTitle(String shortTitle)

setTitle

public void setTitle(String title)


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