01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package javax.swing.text.html.parser;
18:
19: public interface DTDConstants {
20: int CDATA = 1;
21:
22: int ENTITY = 2;
23:
24: int ENTITIES = 3;
25:
26: int ID = 4;
27:
28: int IDREF = 5;
29:
30: int IDREFS = 6;
31:
32: int NAME = 7;
33:
34: int NAMES = 8;
35:
36: int NMTOKEN = 9;
37:
38: int NMTOKENS = 10;
39:
40: int NOTATION = 11;
41:
42: int NUMBER = 12;
43:
44: int NUMBERS = 13;
45:
46: int NUTOKEN = 14;
47:
48: int NUTOKENS = 15;
49:
50: int RCDATA = 16;
51:
52: int EMPTY = 17;
53:
54: int MODEL = 18;
55:
56: int ANY = 19;
57:
58: int FIXED = 1;
59:
60: int REQUIRED = 2;
61:
62: int CURRENT = 3;
63:
64: int CONREF = 4;
65:
66: int IMPLIED = 5;
67:
68: int PUBLIC = 10;
69:
70: int SDATA = 11;
71:
72: int PI = 12;
73:
74: int STARTTAG = 13;
75:
76: int ENDTAG = 14;
77:
78: int MS = 15;
79:
80: int MD = 16;
81:
82: int SYSTEM = 17;
83:
84: int GENERAL = 65536;
85:
86: int DEFAULT = 131072;
87:
88: int PARAMETER = 262144;
89: }
|