01: package migration.modules.ldap;
02:
03: import java.util.Hashtable;
04: import java.util.Vector;
05: import com.iplanet.portalserver.parser.ParseOutput;
06:
07: public class List extends Element implements ParseOutput {
08:
09: public void process(String tag, Vector elems, Hashtable atts,
10: String data) {
11: if (data == null)
12: pcdata = "";
13: else
14: pcdata = data;
15: if (tag.equals(Element.WRITEPERM)
16: || tag.equals(Element.WRITEPERMN))
17: type = Element.WRITEPERM_I;
18: else if (tag.equals(Element.READPERM)
19: || tag.equals(Element.READPERMN))
20: type = Element.READPERM_I;
21: else if (tag.equals(Element.VALUELIST)
22: || tag.equals(Element.VALUELISTN))
23: type = Element.VALUE_I;
24: else if (tag.equals(Element.CHOICEVALUE)
25: || tag.equals(Element.CHOICEVALUEN))
26: type = Element.CHOICELST_I;
27: else if (tag.equals(Element.DENYLIST)
28: || tag.equals(Element.DENYLISTN))
29: type = Element.DENYLST_I;
30: else if (tag.equals(Element.ALLOWLIST)
31: || tag.equals(Element.ALLOWLISTN))
32: type = Element.ALLOWLST_I;
33:
34: }
35: }
|