1/*
2 * reserved comment block
3 * DO NOT REMOVE OR ALTER!
4 */
5/*
6 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * contributor license agreements.  See the NOTICE file distributed with
8 * this work for additional information regarding copyright ownership.
9 * The ASF licenses this file to You under the Apache License, Version 2.0
10 * (the "License"); you may not use this file except in compliance with
11 * the License.  You may obtain a copy of the License at
12 *
13 *      http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 */
21
22package com.sun.org.apache.xerces.internal.util;
23
24/**
25 * All internalized xml symbols. They can be compared using "==".
26 *
27 * @author Sandy Gao, IBM
28 */
29public class XMLSymbols {
30
31    // public constructor.
32    public XMLSymbols(){}
33
34    //==========================
35    // Commonly used strings
36    //==========================
37
38    /**
39     * The empty string.
40     */
41    public final static String EMPTY_STRING = "".intern();
42
43    //==========================
44    // Namespace prefixes/uris
45    //==========================
46
47    /**
48     * The internalized "xml" prefix.
49     */
50    public final static String PREFIX_XML = "xml".intern();
51
52    /**
53     * The internalized "xmlns" prefix.
54     */
55    public final static String PREFIX_XMLNS = "xmlns".intern();
56
57    //==========================
58    // DTD symbols
59    //==========================
60
61    /** Symbol: "ANY". */
62    public static final String fANYSymbol = "ANY".intern();
63
64    /** Symbol: "CDATA". */
65    public static final String fCDATASymbol = "CDATA".intern();
66
67    /** Symbol: "ID". */
68    public static final String fIDSymbol = "ID".intern();
69
70    /** Symbol: "IDREF". */
71    public static final String fIDREFSymbol = "IDREF".intern();
72
73    /** Symbol: "IDREFS". */
74    public static final String fIDREFSSymbol = "IDREFS".intern();
75
76    /** Symbol: "ENTITY". */
77    public static final String fENTITYSymbol = "ENTITY".intern();
78
79    /** Symbol: "ENTITIES". */
80    public static final String fENTITIESSymbol = "ENTITIES".intern();
81
82    /** Symbol: "NMTOKEN". */
83    public static final String fNMTOKENSymbol = "NMTOKEN".intern();
84
85    /** Symbol: "NMTOKENS". */
86    public static final String fNMTOKENSSymbol = "NMTOKENS".intern();
87
88    /** Symbol: "NOTATION". */
89    public static final String fNOTATIONSymbol = "NOTATION".intern();
90
91    /** Symbol: "ENUMERATION". */
92    public static final String fENUMERATIONSymbol = "ENUMERATION".intern();
93
94    /** Symbol: "#IMPLIED. */
95    public static final String fIMPLIEDSymbol = "#IMPLIED".intern();
96
97    /** Symbol: "#REQUIRED". */
98    public static final String fREQUIREDSymbol = "#REQUIRED".intern();
99
100    /** Symbol: "#FIXED". */
101    public static final String fFIXEDSymbol = "#FIXED".intern();
102
103
104}
105