Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:20

0001 /*
0002  * Licensed to the Apache Software Foundation (ASF) under one or more
0003  * contributor license agreements.  See the NOTICE file distributed with
0004  * this work for additional information regarding copyright ownership.
0005  * The ASF licenses this file to You under the Apache License, Version 2.0
0006  * (the "License"); you may not use this file except in compliance with
0007  * the License.  You may obtain a copy of the License at
0008  * 
0009  *      http://www.apache.org/licenses/LICENSE-2.0
0010  * 
0011  * Unless required by applicable law or agreed to in writing, software
0012  * distributed under the License is distributed on an "AS IS" BASIS,
0013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0014  * See the License for the specific language governing permissions and
0015  * limitations under the License.
0016  */
0017 
0018 /*
0019  * $Id$
0020  */
0021 
0022 #if !defined(XERCESC_INCLUDE_GUARD_SCHEMASYMBOLS_HPP)
0023 #define XERCESC_INCLUDE_GUARD_SCHEMASYMBOLS_HPP
0024 
0025 #include <xercesc/util/XercesDefs.hpp>
0026 
0027 XERCES_CPP_NAMESPACE_BEGIN
0028 
0029 /*
0030  * Collection of symbols used to parse a Schema Grammar
0031  */
0032 
0033 class VALIDATORS_EXPORT SchemaSymbols
0034 {
0035 public :
0036     // -----------------------------------------------------------------------
0037     // Constant data
0038     // -----------------------------------------------------------------------
0039     static const XMLCh fgURI_XSI[];
0040     static const XMLCh fgURI_SCHEMAFORSCHEMA[];
0041     // deprecated (typo)
0042     static const XMLCh fgXSI_SCHEMALOCACTION[];
0043     // deprecated (typo)
0044     static const XMLCh fgXSI_NONAMESPACESCHEMALOCACTION[];
0045     static const XMLCh fgXSI_SCHEMALOCATION[];
0046     static const XMLCh fgXSI_NONAMESPACESCHEMALOCATION[];
0047     static const XMLCh fgXSI_TYPE[];
0048     static const XMLCh fgELT_ALL[];
0049     static const XMLCh fgELT_ANNOTATION[];
0050     static const XMLCh fgELT_ANY[];
0051     static const XMLCh fgELT_WILDCARD[];
0052     static const XMLCh fgELT_ANYATTRIBUTE[];
0053     static const XMLCh fgELT_APPINFO[];
0054     static const XMLCh fgELT_ATTRIBUTE[];
0055     static const XMLCh fgELT_ATTRIBUTEGROUP[];
0056     static const XMLCh fgELT_CHOICE[];
0057     static const XMLCh fgELT_COMPLEXTYPE[];
0058     static const XMLCh fgELT_CONTENT[];
0059     static const XMLCh fgELT_DOCUMENTATION[];
0060     static const XMLCh fgELT_DURATION[];
0061     static const XMLCh fgELT_ELEMENT[];
0062     static const XMLCh fgELT_ENCODING[];
0063     static const XMLCh fgELT_ENUMERATION[];
0064     static const XMLCh fgELT_FIELD[];
0065     static const XMLCh fgELT_WHITESPACE[];
0066     static const XMLCh fgELT_GROUP[];
0067     static const XMLCh fgELT_IMPORT[];
0068     static const XMLCh fgELT_INCLUDE[];
0069     static const XMLCh fgELT_REDEFINE[];
0070     static const XMLCh fgELT_KEY[];
0071     static const XMLCh fgELT_KEYREF[];
0072     static const XMLCh fgELT_LENGTH[];
0073     static const XMLCh fgELT_MAXEXCLUSIVE[];
0074     static const XMLCh fgELT_MAXINCLUSIVE[];
0075     static const XMLCh fgELT_MAXLENGTH[];
0076     static const XMLCh fgELT_MINEXCLUSIVE[];
0077     static const XMLCh fgELT_MININCLUSIVE[];
0078     static const XMLCh fgELT_MINLENGTH[];
0079     static const XMLCh fgELT_NOTATION[];
0080     static const XMLCh fgELT_PATTERN[];
0081     static const XMLCh fgELT_PERIOD[];
0082     static const XMLCh fgELT_TOTALDIGITS[];
0083     static const XMLCh fgELT_FRACTIONDIGITS[];
0084     static const XMLCh fgELT_SCHEMA[];
0085     static const XMLCh fgELT_SELECTOR[];
0086     static const XMLCh fgELT_SEQUENCE[];
0087     static const XMLCh fgELT_SIMPLETYPE[];
0088     static const XMLCh fgELT_UNION[];
0089     static const XMLCh fgELT_LIST[];
0090     static const XMLCh fgELT_UNIQUE[];
0091     static const XMLCh fgELT_COMPLEXCONTENT[];
0092     static const XMLCh fgELT_SIMPLECONTENT[];
0093     static const XMLCh fgELT_RESTRICTION[];
0094     static const XMLCh fgELT_EXTENSION[];
0095     static const XMLCh fgATT_ABSTRACT[];
0096     static const XMLCh fgATT_ATTRIBUTEFORMDEFAULT[];
0097     static const XMLCh fgATT_BASE[];
0098     static const XMLCh fgATT_ITEMTYPE[];
0099     static const XMLCh fgATT_MEMBERTYPES[];
0100     static const XMLCh fgATT_BLOCK[];
0101     static const XMLCh fgATT_BLOCKDEFAULT[];
0102     static const XMLCh fgATT_DEFAULT[];
0103     static const XMLCh fgATT_ELEMENTFORMDEFAULT[];
0104     static const XMLCh fgATT_SUBSTITUTIONGROUP[];
0105     static const XMLCh fgATT_FINAL[];
0106     static const XMLCh fgATT_FINALDEFAULT[];
0107     static const XMLCh fgATT_FIXED[];
0108     static const XMLCh fgATT_FORM[];
0109     static const XMLCh fgATT_ID[];
0110     static const XMLCh fgATT_MAXOCCURS[];
0111     static const XMLCh fgATT_MINOCCURS[];
0112     static const XMLCh fgATT_NAME[];
0113     static const XMLCh fgATT_NAMESPACE[];
0114     static const XMLCh fgATT_NILL[];
0115     static const XMLCh fgATT_NILLABLE[];
0116     static const XMLCh fgATT_PROCESSCONTENTS[];
0117     static const XMLCh fgATT_REF[];
0118     static const XMLCh fgATT_REFER[];
0119     static const XMLCh fgATT_SCHEMALOCATION[];
0120     static const XMLCh fgATT_SOURCE[];
0121     static const XMLCh fgATT_SYSTEM[];
0122     static const XMLCh fgATT_PUBLIC[];
0123     static const XMLCh fgATT_TARGETNAMESPACE[];
0124     static const XMLCh fgATT_TYPE[];
0125     static const XMLCh fgATT_USE[];
0126     static const XMLCh fgATT_VALUE[];
0127     static const XMLCh fgATT_MIXED[];
0128     static const XMLCh fgATT_VERSION[];
0129     static const XMLCh fgATT_XPATH[];
0130     static const XMLCh fgATTVAL_TWOPOUNDANY[];
0131     static const XMLCh fgATTVAL_TWOPOUNDLOCAL[];
0132     static const XMLCh fgATTVAL_TWOPOUNDOTHER[];
0133     static const XMLCh fgATTVAL_TWOPOUNDTRAGETNAMESPACE[];
0134     static const XMLCh fgATTVAL_POUNDALL[];
0135     static const XMLCh fgATTVAL_BASE64[];
0136     static const XMLCh fgATTVAL_BOOLEAN[];
0137     static const XMLCh fgATTVAL_DEFAULT[];
0138     static const XMLCh fgATTVAL_ELEMENTONLY[];
0139     static const XMLCh fgATTVAL_EMPTY[];
0140     static const XMLCh fgATTVAL_EXTENSION[];
0141     static const XMLCh fgATTVAL_FALSE[];
0142     static const XMLCh fgATTVAL_FIXED[];
0143     static const XMLCh fgATTVAL_HEX[];
0144     static const XMLCh fgATTVAL_ID[];
0145     static const XMLCh fgATTVAL_LAX[];
0146     static const XMLCh fgATTVAL_MAXLENGTH[];
0147     static const XMLCh fgATTVAL_MINLENGTH[];
0148     static const XMLCh fgATTVAL_MIXED[];
0149     static const XMLCh fgATTVAL_NCNAME[];
0150     static const XMLCh fgATTVAL_OPTIONAL[];
0151     static const XMLCh fgATTVAL_PROHIBITED[];
0152     static const XMLCh fgATTVAL_QNAME[];
0153     static const XMLCh fgATTVAL_QUALIFIED[];
0154     static const XMLCh fgATTVAL_REQUIRED[];
0155     static const XMLCh fgATTVAL_RESTRICTION[];
0156     static const XMLCh fgATTVAL_SKIP[];
0157     static const XMLCh fgATTVAL_STRICT[];
0158     static const XMLCh fgATTVAL_STRING[];
0159     static const XMLCh fgATTVAL_TEXTONLY[];
0160     static const XMLCh fgATTVAL_TIMEDURATION[];
0161     static const XMLCh fgATTVAL_TRUE[];
0162     static const XMLCh fgATTVAL_UNQUALIFIED[];
0163     static const XMLCh fgATTVAL_URI[];
0164     static const XMLCh fgATTVAL_URIREFERENCE[];
0165     static const XMLCh fgATTVAL_SUBSTITUTIONGROUP[];
0166     static const XMLCh fgATTVAL_SUBSTITUTION[];
0167     static const XMLCh fgATTVAL_ANYTYPE[];
0168     static const XMLCh fgWS_PRESERVE[];
0169     static const XMLCh fgWS_COLLAPSE[];
0170     static const XMLCh fgWS_REPLACE[];
0171     static const XMLCh fgDT_STRING[];
0172     static const XMLCh fgDT_TOKEN[];
0173     static const XMLCh fgDT_LANGUAGE[];
0174     static const XMLCh fgDT_NAME[];
0175     static const XMLCh fgDT_NCNAME[];
0176     static const XMLCh fgDT_INTEGER[];
0177     static const XMLCh fgDT_DECIMAL[];
0178     static const XMLCh fgDT_BOOLEAN[];
0179     static const XMLCh fgDT_NONPOSITIVEINTEGER[];
0180     static const XMLCh fgDT_NEGATIVEINTEGER[];
0181     static const XMLCh fgDT_LONG[];
0182     static const XMLCh fgDT_INT[];
0183     static const XMLCh fgDT_SHORT[];
0184     static const XMLCh fgDT_BYTE[];
0185     static const XMLCh fgDT_NONNEGATIVEINTEGER[];
0186     static const XMLCh fgDT_ULONG[];
0187     static const XMLCh fgDT_UINT[];
0188     static const XMLCh fgDT_USHORT[];
0189     static const XMLCh fgDT_UBYTE[];
0190     static const XMLCh fgDT_POSITIVEINTEGER[];
0191 //datetime
0192     static const XMLCh fgDT_DATETIME[];
0193     static const XMLCh fgDT_DATE[];
0194     static const XMLCh fgDT_TIME[];
0195     static const XMLCh fgDT_DURATION[];
0196     static const XMLCh fgDT_DAY[];
0197     static const XMLCh fgDT_MONTH[];
0198     static const XMLCh fgDT_MONTHDAY[];
0199     static const XMLCh fgDT_YEAR[];
0200     static const XMLCh fgDT_YEARMONTH[];
0201 
0202     static const XMLCh fgDT_BASE64BINARY[];
0203     static const XMLCh fgDT_HEXBINARY[];
0204     static const XMLCh fgDT_FLOAT[];
0205     static const XMLCh fgDT_DOUBLE[];
0206     static const XMLCh fgDT_URIREFERENCE[];
0207     static const XMLCh fgDT_ANYURI[];
0208     static const XMLCh fgDT_QNAME[];
0209     static const XMLCh fgDT_NORMALIZEDSTRING[];
0210     static const XMLCh fgDT_ANYSIMPLETYPE[];
0211     static const XMLCh fgRegEx_XOption[];
0212     static const XMLCh fgRedefIdentifier[];
0213     static const int   fgINT_MIN_VALUE;
0214     static const int   fgINT_MAX_VALUE;
0215 
0216     enum {
0217         XSD_EMPTYSET = 0,
0218         XSD_SUBSTITUTION = 1,
0219         XSD_EXTENSION = 2,
0220         XSD_RESTRICTION = 4,
0221         XSD_LIST = 8,
0222         XSD_UNION = 16,
0223         XSD_ENUMERATION = 32
0224     };
0225 
0226     // group orders
0227     enum {
0228         XSD_CHOICE = 0,
0229         XSD_SEQUENCE= 1,
0230         XSD_ALL = 2
0231     };
0232 
0233     enum {
0234         XSD_UNBOUNDED = -1,
0235         XSD_NILLABLE = 1,
0236         XSD_ABSTRACT = 2,
0237         XSD_FIXED = 4
0238     };
0239 
0240 private:
0241     // -----------------------------------------------------------------------
0242     //  Unimplemented constructors and operators
0243     // -----------------------------------------------------------------------
0244     SchemaSymbols();
0245 };
0246 
0247 XERCES_CPP_NAMESPACE_END
0248 
0249 #endif
0250 
0251 /**
0252   * End of file SchemaSymbols.hpp
0253   */
0254