org.mmbase.applications.multilanguagegui
Class MultiLanguageGui

java.lang.Object
  extended byorg.mmbase.applications.multilanguagegui.MultiLanguageGui

public class MultiLanguageGui
extends Object

Warning: No Java Documentation Available.

Field Summary
static String DTD_LANGUAGEGUISET_1_0
           
static String DTD_LANGUAGEGUISETS_1_0
           
static String PUBLIC_ID_LANGUAGEGUISET_1_0
           
static String PUBLIC_ID_LANGUAGEGUISETS_1_0
           
 
Constructor Summary
MultiLanguageGui()
           
 
Method Summary
 boolean addKeyword(String setname, String keyword)
           
 boolean addLanguage(String setname, String keyword, String language, String value)
           
 boolean addSet(String setname)
           
 boolean changeLanguage(String setname, String keyword, String language, String value)
           
static String getConversion(String name, String lang)
           
 List getKeywordPerLanguage(String setname, String language)
           
 List getKeywords(String setname, String searchkey, String language)
           
 List getLanguagesInSet(String setname)
           
 List getSets()
           
 String getTranslation(String setname, String keyword, String language)
           
 List getTranslations(String setname, String keyword)
           
static void readSets()
           
static void registerPublicIDs()
          Register the Public Ids for DTDs used by DatabaseReader This method is called by XMLEntityResolver.
 boolean removeKeyword(String setname, String keyword)
           
 boolean removeLanguage(String setname, String keyword, String language)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DTD_LANGUAGEGUISETS_1_0

public static final String DTD_LANGUAGEGUISETS_1_0
See Also:
Constant Field Values

DTD_LANGUAGEGUISET_1_0

public static final String DTD_LANGUAGEGUISET_1_0
See Also:
Constant Field Values

PUBLIC_ID_LANGUAGEGUISETS_1_0

public static final String PUBLIC_ID_LANGUAGEGUISETS_1_0
See Also:
Constant Field Values

PUBLIC_ID_LANGUAGEGUISET_1_0

public static final String PUBLIC_ID_LANGUAGEGUISET_1_0
See Also:
Constant Field Values
Constructor Detail

MultiLanguageGui

public MultiLanguageGui()
Method Detail

registerPublicIDs

public static void registerPublicIDs()
Register the Public Ids for DTDs used by DatabaseReader This method is called by XMLEntityResolver.


readSets

public static void readSets()

getConversion

public static String getConversion(String name,
                                   String lang)

getSets

public List getSets()

getKeywords

public List getKeywords(String setname,
                        String searchkey,
                        String language)

getKeywordPerLanguage

public List getKeywordPerLanguage(String setname,
                                  String language)

getLanguagesInSet

public List getLanguagesInSet(String setname)

getTranslation

public String getTranslation(String setname,
                             String keyword,
                             String language)

getTranslations

public List getTranslations(String setname,
                            String keyword)

addKeyword

public boolean addKeyword(String setname,
                          String keyword)

addSet

public boolean addSet(String setname)

addLanguage

public boolean addLanguage(String setname,
                           String keyword,
                           String language,
                           String value)

changeLanguage

public boolean changeLanguage(String setname,
                              String keyword,
                              String language,
                              String value)

removeLanguage

public boolean removeLanguage(String setname,
                              String keyword,
                              String language)

removeKeyword

public boolean removeKeyword(String setname,
                             String keyword)


MMBase build 1.8.1.20060716