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

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet
              extended by org.apache.cocoon.portal.pluto.om.common.AbstractSupportSet
                  extended by org.apache.cocoon.portal.pluto.om.common.LanguageSetImpl
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, Set, Support, org.apache.pluto.om.common.LanguageSet, org.apache.pluto.om.Model

public class LanguageSetImpl
extends AbstractSupportSet
implements org.apache.pluto.om.common.LanguageSet, Serializable, Support

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

Field Summary
 
Fields inherited from interface org.apache.cocoon.portal.pluto.om.common.Support
POST_BUILD, POST_LOAD, POST_STORE, PRE_BUILD, PRE_STORE
 
Constructor Summary
LanguageSetImpl()
           
 
Method Summary
 org.apache.pluto.om.common.Language get(Locale locale)
           
 String getCastorKeywords()
           
 Locale getDefaultLocale()
           
 Iterator getLocales()
           
 String getResources()
           
 String getShortTitle()
           
 String getTitle()
           
protected  ResourceBundle loadResourceBundle(Locale locale)
           
 void postBuild(Object parameter)
           
 void postLoad(Object parameter)
           
 void postStore(Object parameter)
           
 void preBuild(Object parameter)
           
 void preStore(Object parameter)
           
 void setCastorKeywords(String keywords)
           
 void setClassLoader(ClassLoader loader)
           
 void setResources(String resources)
           
 void setShortTitle(String shortTitle)
           
 void setTitle(String title)
           
 String toString()
           
 String toString(int indent)
           
 
Methods inherited from class org.apache.cocoon.portal.pluto.om.common.AbstractSupportSet
dispatch
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.pluto.om.common.LanguageSet
iterator
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

LanguageSetImpl

public LanguageSetImpl()
Method Detail

get

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

getLocales

public Iterator getLocales()
Specified by:
getLocales in interface org.apache.pluto.om.common.LanguageSet

getDefaultLocale

public Locale getDefaultLocale()
Specified by:
getDefaultLocale in interface org.apache.pluto.om.common.LanguageSet

postBuild

public void postBuild(Object parameter)
               throws Exception
Specified by:
postBuild in interface Support
Overrides:
postBuild in class AbstractSupportSet
Throws:
Exception

postLoad

public void postLoad(Object parameter)
              throws Exception
Specified by:
postLoad in interface Support
Overrides:
postLoad in class AbstractSupportSet
Throws:
Exception

postStore

public void postStore(Object parameter)
               throws Exception
Specified by:
postStore in interface Support
Overrides:
postStore in class AbstractSupportSet
Throws:
Exception

preBuild

public void preBuild(Object parameter)
              throws Exception
Specified by:
preBuild in interface Support
Overrides:
preBuild in class AbstractSupportSet
Throws:
Exception

preStore

public void preStore(Object parameter)
              throws Exception
Specified by:
preStore in interface Support
Overrides:
preStore in class AbstractSupportSet
Throws:
Exception

getCastorKeywords

public String getCastorKeywords()

getResources

public String getResources()

getShortTitle

public String getShortTitle()

getTitle

public String getTitle()

loadResourceBundle

protected ResourceBundle loadResourceBundle(Locale locale)

setCastorKeywords

public void setCastorKeywords(String keywords)

setClassLoader

public void setClassLoader(ClassLoader loader)

setResources

public void setResources(String resources)

setShortTitle

public void setShortTitle(String shortTitle)

setTitle

public void setTitle(String title)

toString

public String toString()
Overrides:
toString in class AbstractCollection

toString

public String toString(int indent)


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