01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/publishing/markups/TKMarkupStatics.java,v 1.5 2000/05/22 15:01:29 careck Exp $
03: *
04: */
05: package com.teamkonzept.publishing.markups;
06:
07: import com.teamkonzept.lib.*;
08:
09: 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)
32: lookup = new TKHashtable();
33:
34: TKMarkupStatics statics = (TKMarkupStatics) lookup.get(lala);
35: if (statics != null)
36: return statics;
37:
38: statics = new TKMarkupStatics();
39: lookup.put(lala, statics);
40:
41: return statics;
42: }
43: }
|