http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Installation
Build

API Docs
Samples
Programming
Migration
FAQs

Releases
Feedback
Bug-Todo

Download
CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XMLUniDefs.hpp

Go to the documentation of this file.
00001 /*
00002  * The Apache Software License, Version 1.1

00003  * 

00004  * Copyright (c) 1999-2000 The Apache Software Foundation.  All rights

00005  * reserved.

00006  * 

00007  * Redistribution and use in source and binary forms, with or without

00008  * modification, are permitted provided that the following conditions

00009  * are met:

00010  * 

00011  * 1. Redistributions of source code must retain the above copyright

00012  *    notice, this list of conditions and the following disclaimer. 

00013  * 

00014  * 2. Redistributions in binary form must reproduce the above copyright

00015  *    notice, this list of conditions and the following disclaimer in

00016  *    the documentation and/or other materials provided with the

00017  *    distribution.

00018  * 

00019  * 3. The end-user documentation included with the redistribution,

00020  *    if any, must include the following acknowledgment:  

00021  *       "This product includes software developed by the

00022  *        Apache Software Foundation (http://www.apache.org/)."

00023  *    Alternately, this acknowledgment may appear in the software itself,

00024  *    if and wherever such third-party acknowledgments normally appear.

00025  * 

00026  * 4. The names "Xerces" and "Apache Software Foundation" must

00027  *    not be used to endorse or promote products derived from this

00028  *    software without prior written permission. For written 

00029  *    permission, please contact apache\@apache.org.

00030  * 

00031  * 5. Products derived from this software may not be called "Apache",

00032  *    nor may "Apache" appear in their name, without prior written

00033  *    permission of the Apache Software Foundation.

00034  * 

00035  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED

00036  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES

00037  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE

00038  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR

00039  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,

00040  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT

00041  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF

00042  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND

00043  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,

00044  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

00045  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF

00046  * SUCH DAMAGE.

00047  * ====================================================================

00048  * 

00049  * This software consists of voluntary contributions made by many

00050  * individuals on behalf of the Apache Software Foundation, and was

00051  * originally based on software copyright (c) 1999, International

00052  * Business Machines, Inc., http://www.ibm.com .  For more information

00053  * on the Apache Software Foundation, please see

00054  * <http://www.apache.org/>.

00055  */
00056 
00057 /*
00058  * $Id: XMLUniDefs.hpp,v 1.1 2000/07/25 22:28:16 aruna1 Exp $

00059  */
00060 #if !defined(XMLUNIDEFS_HPP)
00061 #define XMLUNIDEFS_HPP
00062 
00063 #include <util/XercesDefs.hpp>
00064 
00065 // ---------------------------------------------------------------------------
00066 //  Constants for the Unicode characters of interest to us in an XML parser
00067 //  We don't put these inside the class because then they could not be const
00068 //  inline values, which would have significant performance ramifications.
00069 //
00070 //  We cannot use a namespace because of the requirement to support old
00071 //  compilers.
00072 // ---------------------------------------------------------------------------
00073 const XMLCh chNull                  = 0x00;
00074 const XMLCh chHTab                  = 0x09;
00075 const XMLCh chLF                    = 0x0A;
00076 const XMLCh chCR                    = 0x0D;
00077 const XMLCh chAmpersand             = 0x26;
00078 const XMLCh chAsterisk              = 0x2A;
00079 const XMLCh chAt                    = 0x40;
00080 const XMLCh chBackSlash             = 0x5C;
00081 const XMLCh chBang                  = 0x21;
00082 const XMLCh chCloseAngle            = 0x3E;
00083 const XMLCh chCloseCurly            = 0x7D;
00084 const XMLCh chCloseParen            = 0x29;
00085 const XMLCh chCloseSquare           = 0x5D;
00086 const XMLCh chColon                 = 0x3A;
00087 const XMLCh chComma                 = 0x2C;
00088 const XMLCh chDash                  = 0x2D;
00089 const XMLCh chDollarSign            = 0x24;
00090 const XMLCh chDoubleQuote           = 0x22;
00091 const XMLCh chEqual                 = 0x3D;
00092 const XMLCh chForwardSlash          = 0x2F;
00093 const XMLCh chGrave                 = 0x60;
00094 const XMLCh chOpenAngle             = 0x3C;
00095 const XMLCh chOpenCurly             = 0x7B;
00096 const XMLCh chOpenParen             = 0x28;
00097 const XMLCh chOpenSquare            = 0x5B;
00098 const XMLCh chPercent               = 0x25;
00099 const XMLCh chPeriod                = 0x2E;
00100 const XMLCh chPipe                  = 0x7C;
00101 const XMLCh chPlus                  = 0x2B;
00102 const XMLCh chPound                 = 0x23;
00103 const XMLCh chQuestion              = 0x3F;
00104 const XMLCh chSingleQuote           = 0x27;
00105 const XMLCh chSpace                 = 0x20;
00106 const XMLCh chSemiColon             = 0x3B;
00107 const XMLCh chTilde                 = 0x7E;
00108 const XMLCh chUnderscore            = 0x5F;
00109 
00110 const XMLCh chSwappedUnicodeMarker  = XMLCh(0xFFFE);
00111 const XMLCh chUnicodeMarker         = XMLCh(0xFEFF);
00112 
00113 const XMLCh chDigit_0               = 0x30;
00114 const XMLCh chDigit_1               = 0x31;
00115 const XMLCh chDigit_2               = 0x32;
00116 const XMLCh chDigit_3               = 0x33;
00117 const XMLCh chDigit_4               = 0x34;
00118 const XMLCh chDigit_5               = 0x35;
00119 const XMLCh chDigit_6               = 0x36;
00120 const XMLCh chDigit_7               = 0x37;
00121 const XMLCh chDigit_8               = 0x38;
00122 const XMLCh chDigit_9               = 0x39;
00123 
00124 const XMLCh chLatin_A               = 0x41;
00125 const XMLCh chLatin_B               = 0x42;
00126 const XMLCh chLatin_C               = 0x43;
00127 const XMLCh chLatin_D               = 0x44;
00128 const XMLCh chLatin_E               = 0x45;
00129 const XMLCh chLatin_F               = 0x46;
00130 const XMLCh chLatin_G               = 0x47;
00131 const XMLCh chLatin_H               = 0x48;
00132 const XMLCh chLatin_I               = 0x49;
00133 const XMLCh chLatin_J               = 0x4A;
00134 const XMLCh chLatin_K               = 0x4B;
00135 const XMLCh chLatin_L               = 0x4C;
00136 const XMLCh chLatin_M               = 0x4D;
00137 const XMLCh chLatin_N               = 0x4E;
00138 const XMLCh chLatin_O               = 0x4F;
00139 const XMLCh chLatin_P               = 0x50;
00140 const XMLCh chLatin_Q               = 0x51;
00141 const XMLCh chLatin_R               = 0x52;
00142 const XMLCh chLatin_S               = 0x53;
00143 const XMLCh chLatin_T               = 0x54;
00144 const XMLCh chLatin_U               = 0x55;
00145 const XMLCh chLatin_V               = 0x56;
00146 const XMLCh chLatin_W               = 0x57;
00147 const XMLCh chLatin_X               = 0x58;
00148 const XMLCh chLatin_Y               = 0x59;
00149 const XMLCh chLatin_Z               = 0x5A;
00150 
00151 const XMLCh chLatin_a               = 0x61;
00152 const XMLCh chLatin_b               = 0x62;
00153 const XMLCh chLatin_c               = 0x63;
00154 const XMLCh chLatin_d               = 0x64;
00155 const XMLCh chLatin_e               = 0x65;
00156 const XMLCh chLatin_f               = 0x66;
00157 const XMLCh chLatin_g               = 0x67;
00158 const XMLCh chLatin_h               = 0x68;
00159 const XMLCh chLatin_i               = 0x69;
00160 const XMLCh chLatin_j               = 0x6A;
00161 const XMLCh chLatin_k               = 0x6B;
00162 const XMLCh chLatin_l               = 0x6C;
00163 const XMLCh chLatin_m               = 0x6D;
00164 const XMLCh chLatin_n               = 0x6E;
00165 const XMLCh chLatin_o               = 0x6F;
00166 const XMLCh chLatin_p               = 0x70;
00167 const XMLCh chLatin_q               = 0x71;
00168 const XMLCh chLatin_r               = 0x72;
00169 const XMLCh chLatin_s               = 0x73;
00170 const XMLCh chLatin_t               = 0x74;
00171 const XMLCh chLatin_u               = 0x75;
00172 const XMLCh chLatin_v               = 0x76;
00173 const XMLCh chLatin_w               = 0x77;
00174 const XMLCh chLatin_x               = 0x78;
00175 const XMLCh chLatin_y               = 0x79;
00176 const XMLCh chLatin_z               = 0x7A;
00177 
00178 const XMLCh chYenSign               = 0xA5;
00179 const XMLCh chWonSign               = 0x20A9;
00180 
00181 
00182 #endif


Copyright © 2000 The Apache Software Foundation. All Rights Reserved.