| API Docs for SAX and DOM |

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

# XMLUni.hpp

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 1999-2004 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 /*
    00018  * $Id: XMLUni.hpp 176382 2005-04-21 09:05:57Z cargilld $
    00019  */
    00020
    00021
    00022 // ---------------------------------------------------------------------------
    00023 //  This file contains the grunt work constants for Unicode characters and
    00024 //  common Unicode constant strings. These cannot be created normally because
    00025 //  we have to compile on systems that cannot do the L"" style prefix. So
    00026 //  they must be created as constant values for Unicode code points and the
    00027 //  strings built up as arrays of those constants.
    00028 // ---------------------------------------------------------------------------
    00029
    00030 #if !defined(XMLUNI_HPP)
    00031 #define XMLUNI_HPP
    00032
    00033 #include <xercesc/util/XercesDefs.hpp>
    00034
    00035 XERCES_CPP_NAMESPACE_BEGIN
    00036
    00037 class  XMLUni
    00038 {
    00039 public :
    00040     // -----------------------------------------------------------------------
    00041     //  These are constant strings that are common in XML data. Because
    00042     //  of the limitation of the compilers we have to work with, these are
    00043     //  done as arrays of XMLCh characters, not as constant strings.
    00044     // -----------------------------------------------------------------------
    00045     static const XMLCh fgAnyString[];
    00046     static const XMLCh fgAttListString[];
    00047     static const XMLCh fgCommentString[];
    00048     static const XMLCh fgCDATAString[];
    00049     static const XMLCh fgDefaultString[];
    00050     static const XMLCh fgDocTypeString[];
    00051     static const XMLCh fgEBCDICEncodingString[];
    00052     static const XMLCh fgElemString[];
    00053     static const XMLCh fgEmptyString[];
    00054     static const XMLCh fgEncodingString[];
    00055     static const XMLCh fgEntitString[];
    00056     static const XMLCh fgEntityString[];
    00057     static const XMLCh fgEntitiesString[];
    00058     static const XMLCh fgEnumerationString[];
    00059     static const XMLCh fgExceptDomain[];
    00060     static const XMLCh fgFixedString[];
    00061     static const XMLCh fgIBM037EncodingString[];
    00062     static const XMLCh fgIBM037EncodingString2[];
    00063     static const XMLCh fgIBM1047EncodingString[];
    00064     static const XMLCh fgIBM1047EncodingString2[];
    00065     static const XMLCh fgIBM1140EncodingString[];
    00066     static const XMLCh fgIBM1140EncodingString2[];
    00067     static const XMLCh fgIBM1140EncodingString3[];
    00068     static const XMLCh fgIBM1140EncodingString4[];
    00069     static const XMLCh fgIESString[];
    00070     static const XMLCh fgIDString[];
    00071     static const XMLCh fgIDRefString[];
    00072     static const XMLCh fgIDRefsString[];
    00073     static const XMLCh fgImpliedString[];
    00074     static const XMLCh fgIgnoreString[];
    00075     static const XMLCh fgIncludeString[];
    00076     static const XMLCh fgISO88591EncodingString[];
    00077     static const XMLCh fgISO88591EncodingString2[];
    00078     static const XMLCh fgISO88591EncodingString3[];
    00079     static const XMLCh fgISO88591EncodingString4[];
    00080     static const XMLCh fgISO88591EncodingString5[];
    00081     static const XMLCh fgISO88591EncodingString6[];
    00082     static const XMLCh fgISO88591EncodingString7[];
    00083     static const XMLCh fgISO88591EncodingString8[];
    00084     static const XMLCh fgISO88591EncodingString9[];
    00085     static const XMLCh fgISO88591EncodingString10[];
    00086     static const XMLCh fgISO88591EncodingString11[];
    00087     static const XMLCh fgISO88591EncodingString12[];
    00088     static const XMLCh fgLocalHostString[];
    00089     static const XMLCh fgNoString[];
    00090     static const XMLCh fgNotationString[];
    00091     static const XMLCh fgNDATAString[];
    00092     static const XMLCh fgNmTokenString[];
    00093     static const XMLCh fgNmTokensString[];
    00094     static const XMLCh fgPCDATAString[];
    00095     static const XMLCh fgPIString[];
    00096     static const XMLCh fgPubIDString[];
    00097     static const XMLCh fgRefString[];
    00098     static const XMLCh fgRequiredString[];
    00099     static const XMLCh fgStandaloneString[];
    00100     static const XMLCh fgVersion1_0[];
    00101     static const XMLCh fgVersion1_1[];
    00102     static const XMLCh fgSysIDString[];
    00103     static const XMLCh fgUnknownURIName[];
    00104     static const XMLCh fgUCS4EncodingString[];
    00105     static const XMLCh fgUCS4EncodingString2[];
    00106     static const XMLCh fgUCS4EncodingString3[];
    00107     static const XMLCh fgUCS4BEncodingString[];
    00108     static const XMLCh fgUCS4BEncodingString2[];
    00109     static const XMLCh fgUCS4LEncodingString[];
    00110     static const XMLCh fgUCS4LEncodingString2[];
    00111     static const XMLCh fgUSASCIIEncodingString[];
    00112     static const XMLCh fgUSASCIIEncodingString2[];
    00113     static const XMLCh fgUSASCIIEncodingString3[];
    00114     static const XMLCh fgUSASCIIEncodingString4[];
    00115     static const XMLCh fgUTF8EncodingString[];
    00116     static const XMLCh fgUTF8EncodingString2[];
    00117     static const XMLCh fgUTF16EncodingString[];
    00118     static const XMLCh fgUTF16EncodingString2[];
    00119     static const XMLCh fgUTF16EncodingString3[];
    00120     static const XMLCh fgUTF16EncodingString4[];
    00121     static const XMLCh fgUTF16EncodingString5[];
    00122     static const XMLCh fgUTF16EncodingString6[];
    00123     static const XMLCh fgUTF16EncodingString7[];
    00124     static const XMLCh fgUTF16BEncodingString[];
    00125     static const XMLCh fgUTF16BEncodingString2[];
    00126     static const XMLCh fgUTF16LEncodingString[];
    00127     static const XMLCh fgUTF16LEncodingString2[];
    00128     static const XMLCh fgVersionString[];
    00129     static const XMLCh fgValidityDomain[];
    00130     static const XMLCh fgWin1252EncodingString[];
    00131     static const XMLCh fgXMLChEncodingString[];
    00132     static const XMLCh fgXMLDOMMsgDomain[];
    00133     static const XMLCh fgXMLString[];
    00134     static const XMLCh fgXMLStringSpace[];
    00135     static const XMLCh fgXMLStringHTab[];
    00136     static const XMLCh fgXMLStringCR[];
    00137     static const XMLCh fgXMLStringLF[];
    00138     static const XMLCh fgXMLStringSpaceU[];
    00139     static const XMLCh fgXMLStringHTabU[];
    00140     static const XMLCh fgXMLStringCRU[];
    00141     static const XMLCh fgXMLStringLFU[];
    00142     static const XMLCh fgXMLDeclString[];
    00143     static const XMLCh fgXMLDeclStringSpace[];
    00144     static const XMLCh fgXMLDeclStringHTab[];
    00145     static const XMLCh fgXMLDeclStringLF[];
    00146     static const XMLCh fgXMLDeclStringCR[];
    00147     static const XMLCh fgXMLDeclStringSpaceU[];
    00148     static const XMLCh fgXMLDeclStringHTabU[];
    00149     static const XMLCh fgXMLDeclStringLFU[];
    00150     static const XMLCh fgXMLDeclStringCRU[];
    00151     static const XMLCh fgXMLNSString[];
    00152     static const XMLCh fgXMLNSColonString[];
    00153     static const XMLCh fgXMLNSURIName[];
    00154     static const XMLCh fgXMLErrDomain[];
    00155     static const XMLCh fgXMLURIName[];
    00156     static const XMLCh fgInfosetURIName[];
    00157     static const XMLCh fgYesString[];
    00158     static const XMLCh fgZeroLenString[];
    00159     static const XMLCh fgDTDEntityString[];
    00160     static const XMLCh fgAmp[];
    00161     static const XMLCh fgLT[];
    00162     static const XMLCh fgGT[];
    00163     static const XMLCh fgQuot[];
    00164     static const XMLCh fgApos[];
    00165     static const XMLCh fgWFXMLScanner[];
    00166     static const XMLCh fgIGXMLScanner[];
    00167     static const XMLCh fgSGXMLScanner[];
    00168     static const XMLCh fgDGXMLScanner[];
    00169     static const XMLCh fgXSAXMLScanner[];
    00170     static const XMLCh fgCDataStart[];
    00171     static const XMLCh fgCDataEnd[];
    00172
    00173     // Exception Name
    00174     static const XMLCh fgArrayIndexOutOfBoundsException_Name[];
    00175     static const XMLCh fgEmptyStackException_Name[];
    00176     static const XMLCh fgIllegalArgumentException_Name[];
    00177     static const XMLCh fgInvalidCastException_Name[];
    00178     static const XMLCh fgIOException_Name[];
    00179     static const XMLCh fgNoSuchElementException_Name[];
    00180     static const XMLCh fgNullPointerException_Name[];
    00181     static const XMLCh fgXMLPlatformUtilsException_Name[];
    00182     static const XMLCh fgRuntimeException_Name[];
    00183     static const XMLCh fgTranscodingException_Name[];
    00184     static const XMLCh fgUnexpectedEOFException_Name[];
    00185     static const XMLCh fgUnsupportedEncodingException_Name[];
    00186     static const XMLCh fgUTFDataFormatException_Name[];
    00187     static const XMLCh fgNetAccessorException_Name[];
    00188     static const XMLCh fgMalformedURLException_Name[];
    00189     static const XMLCh fgNumberFormatException_Name[];
    00190     static const XMLCh fgParseException_Name[];
    00191     static const XMLCh fgInvalidDatatypeFacetException_Name[];
    00192     static const XMLCh fgInvalidDatatypeValueException_Name[];
    00193     static const XMLCh fgSchemaDateTimeException_Name[];
    00194     static const XMLCh fgXPathException_Name[];
    00195     static const XMLCh fgXSerializationException_Name[];
    00196
    00197     // Numerical String
    00198     static const XMLCh fgNegINFString[];
    00199     static const XMLCh fgNegZeroString[];
    00200     static const XMLCh fgPosZeroString[];
    00201     static const XMLCh fgPosINFString[];
    00202     static const XMLCh fgNaNString[];
    00203     static const XMLCh fgEString[];
    00204     static const XMLCh fgZeroString[];
    00205     static const XMLCh fgNullString[];
    00206
    00207     // Xerces features/properties names
    00208     static const XMLCh fgXercesDynamic[];
    00209     static const XMLCh fgXercesSchema[];
    00210     static const XMLCh fgXercesSchemaFullChecking[];
    00211     static const XMLCh fgXercesIdentityConstraintChecking[];
    00212     static const XMLCh fgXercesSchemaExternalSchemaLocation[];
    00213     static const XMLCh fgXercesSchemaExternalNoNameSpaceSchemaLocation[];
    00214     static const XMLCh fgXercesSecurityManager[];
    00215     static const XMLCh fgXercesLoadExternalDTD[];
    00216     static const XMLCh fgXercesContinueAfterFatalError[];
    00217     static const XMLCh fgXercesValidationErrorAsFatal[];
    00218     static const XMLCh fgXercesUserAdoptsDOMDocument[];
    00219     static const XMLCh fgXercesCacheGrammarFromParse[];
    00220     static const XMLCh fgXercesUseCachedGrammarInParse[];
    00221     static const XMLCh fgXercesScannerName[];
    00222     static const XMLCh fgXercesParserUseDocumentFromImplementation[];
    00223     static const XMLCh fgXercesCalculateSrcOfs[];
    00224     static const XMLCh fgXercesStandardUriConformant[];
    00225     static const XMLCh fgXercesDOMHasPSVIInfo[];
    00226     static const XMLCh fgXercesGenerateSyntheticAnnotations[];
    00227     static const XMLCh fgXercesValidateAnnotations[];
    00228     static const XMLCh fgXercesIgnoreCachedDTD[];
    00229     static const XMLCh fgXercesIgnoreAnnotations[];
    00230     static const XMLCh fgXercesDisableDefaultEntityResolution[];
    00231     static const XMLCh fgXercesSkipDTDValidation[];
    00232
    00233
    00234     // SAX2 features/properties names
    00235     static const XMLCh fgSAX2CoreValidation[];
    00236     static const XMLCh fgSAX2CoreNameSpaces[];
    00237     static const XMLCh fgSAX2CoreNameSpacePrefixes[];
    00238
    00239     // Introduced in DOM Level 3
    00240     // DOMBuilder features
    00241     static const XMLCh fgDOMCanonicalForm[];
    00242     static const XMLCh fgDOMCDATASections[];
    00243     static const XMLCh fgDOMComments[];
    00244     static const XMLCh fgDOMCharsetOverridesXMLEncoding[];
    00245     static const XMLCh fgDOMDatatypeNormalization[];
    00246     static const XMLCh fgDOMEntities[];
    00247     static const XMLCh fgDOMInfoset[];
    00248     static const XMLCh fgDOMNamespaces[];
    00249     static const XMLCh fgDOMNamespaceDeclarations[];
    00250     static const XMLCh fgDOMSupportedMediatypesOnly[];
    00251     static const XMLCh fgDOMValidateIfSchema[];
    00252     static const XMLCh fgDOMValidation[];
    00253     static const XMLCh fgDOMWhitespaceInElementContent[];
    00254
    00255     // Introduced in DOM Level 3
    00256     // DOMWriter feature
    00257     static const XMLCh fgDOMWRTCanonicalForm[];
    00258     static const XMLCh fgDOMWRTDiscardDefaultContent[];
    00259     static const XMLCh fgDOMWRTEntities[];
    00260     static const XMLCh fgDOMWRTFormatPrettyPrint[];
    00261     static const XMLCh fgDOMWRTNormalizeCharacters[];
    00262     static const XMLCh fgDOMWRTSplitCdataSections[];
    00263     static const XMLCh fgDOMWRTValidation[];
    00264     static const XMLCh fgDOMWRTWhitespaceInElementContent[];
    00265     static const XMLCh fgDOMWRTBOM[];
    00266     static const XMLCh fgDOMXMLDeclaration[];
    00267
    00268     // Private interface names
    00269     static const XMLCh fgXercescInterfacePSVITypeInfo[];
    00270     static const XMLCh fgXercescInterfaceDOMDocumentTypeImpl[];
    00271
    00272     // Locale
    00273     static const char  fgXercescDefaultLocale[];
    00274
    00275     // Default Exception String
    00276     static const XMLCh  fgDefErrMsg[];
    00277
    00278     // Datatype
    00279     static const XMLCh fgValueZero[];
    00280     static const XMLCh fgNegOne[];
    00281     static const XMLCh fgValueOne[];
    00282     static const XMLCh fgLongMaxInc[];
    00283     static const XMLCh fgLongMinInc[];
    00284     static const XMLCh fgIntMaxInc[];
    00285     static const XMLCh fgIntMinInc[];
    00286     static const XMLCh fgShortMaxInc[];
    00287     static const XMLCh fgShortMinInc[];
    00288     static const XMLCh fgByteMaxInc[];
    00289     static const XMLCh fgByteMinInc[];
    00290     static const XMLCh fgULongMaxInc[];
    00291     static const XMLCh fgUIntMaxInc[];
    00292     static const XMLCh fgUShortMaxInc[];
    00293     static const XMLCh fgUByteMaxInc[];
    00294     static const XMLCh fgLangPattern[];
    00295
    00296     static const XMLCh fgBooleanValueSpace[][32];
    00297     static const unsigned int fgBooleanValueSpaceArraySize;
    00298
    00299 private:
    00300     // -----------------------------------------------------------------------
    00301     //  Unimplemented constructors and operators
    00302     // -----------------------------------------------------------------------
    00303     XMLUni();
    00304 };
    00305
    00306 XERCES_CPP_NAMESPACE_END
    00307
    00308 #endif

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.