1 5 package com.teamkonzept.publishing.markups; 6 7 import com.teamkonzept.lib.*; 8 9 public class TKMarkupStatics { 10 11 public TKHashtable paramClassNames = new TKHashtable (); 12 public TKHashtable paramClassIds = new TKHashtable (); 13 public TKMarkupParamClass defaultTypeClass = null; 14 15 public TKHashtable markupNames = new TKHashtable (); 16 public TKHashtable markupIds = new TKHashtable (); 17 18 public TKHashtable paramNames = new TKHashtable (); 19 public TKHashtable paramIds = new TKHashtable (); 20 21 public static TKHashtable lookup = null; 22 23 public boolean doCrConversion = false; 24 public String crMarkup = null; 25 public String crcrMarkup = null; 26 27 public static synchronized TKMarkupStatics setup () { 28 29 String lala = "eindeutige DB-Id"; 30 31 if (lookup == null) lookup = new TKHashtable(); 32 33 TKMarkupStatics statics = (TKMarkupStatics) lookup.get(lala); 34 if (statics != null) return statics; 35 36 statics = new TKMarkupStatics(); 37 lookup.put( lala, statics ); 38 39 return statics; 40 } 41 } 42 43 | Popular Tags |