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

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

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

Version:
$Id: LanguageImpl.java 325880 2005-10-17 11:57:44Z cziegeler $
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()
See Also:
Object.toString()

toString

public String toString(int indent)

equals

public boolean equals(Object o)
See Also:
used for element equality according collection implementations

hashCode

public int hashCode()
See Also:
Object.hashCode()

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-2005 The Apache Software Foundation. All Rights Reserved.