~ubuntu-branches/debian/wheezy/jing-trang/wheezy

« back to all changes in this revision

Viewing changes to mod/dtd-parse/src/main/com/thaiopensource/xml/dtd/om/TopLevel.java

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Thibault
  • Date: 2009-09-01 15:53:03 UTC
  • Revision ID: james.westby@ubuntu.com-20090901155303-2kweef05h5v9j3ni
Tags: upstream-20090818
ImportĀ upstreamĀ versionĀ 20090818

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package com.thaiopensource.xml.dtd.om;
 
2
 
 
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;
 
24
 
 
25
  public abstract int getType();
 
26
  public abstract void accept(TopLevelVisitor visitor) throws Exception;
 
27
}