1
package com.thaiopensource.xml.dtd.om;
3
public abstract class TopLevel {
4
public static final int ELEMENT_DECL = 1;
5
public static final int ATTLIST_DECL = 2;
6
public static final int PROCESSING_INSTRUCTION = 3;
7
public static final int COMMENT = 4;
8
public static final int NOTATION_DECL = 5;
9
public static final int MODEL_GROUP_DEF = 6;
10
public static final int ATTRIBUTE_GROUP_DEF = 7;
11
public static final int DATATYPE_DEF = 8;
12
public static final int ENUM_GROUP_DEF = 9;
13
public static final int FLAG_DEF = 10;
14
public static final int INCLUDED_SECTION = 11;
15
public static final int IGNORED_SECTION = 12;
16
public static final int INTERNAL_ENTITY_DECL = 13;
17
public static final int EXTERNAL_ENTITY_DECL = 14;
18
public static final int NAME_SPEC_DEF = 15;
19
public static final int OVERRIDDEN_DEF = 16;
20
public static final int EXTERNAL_ID_DEF = 17;
21
public static final int EXTERNAL_ID_REF = 18;
22
public static final int PARAM_DEF = 19;
23
public static final int ATTRIBUTE_DEFAULT_DEF = 20;
25
public abstract int getType();
26
public abstract void accept(TopLevelVisitor visitor) throws Exception;