01: /*
02: * Created on Feb 23, 2005
03: */
04: package com.sun.portal.wireless.htmlconversion.processors;
05:
06: import com.sun.portal.wireless.htmlconversion.ParserState;
07:
08: /**
09: * Tag processor for the AmlList tag.
10: *
11: * @author ashwin.mathew@sun.com
12: */
13: public class AmlListTagProcessor extends BaseTagProcessor {
14:
15: public static final String AML_LIST = "AmlList";
16:
17: private static final String[] supportedTags = { "ul", "dir", "dl" };
18:
19: /* (non-Javadoc)
20: * @see com.sun.portal.wireless.htmlconversion.TagProcessor#getAmlTag()
21: */
22: public String getAmlTag() {
23: return AML_LIST;
24: }
25:
26: /* (non-Javadoc)
27: * @see com.sun.portal.wireless.htmlconversion.TagProcessor#getSupportedTags()
28: */
29: public String[] getSupportedTags() {
30: return supportedTags;
31: }
32:
33: /* (non-Javadoc)
34: * @see com.sun.portal.wireless.htmlconversion.TagProcessor#canHaveChildren()
35: */
36: public boolean canHaveChildren(ParserState state) {
37: return true;
38: }
39:
40: }
|