Ignore:
Timestamp:
Dec 4, 2012, 6:02:04 PM (6 years ago)
Author:
cameron
Message:

Script for generating link files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icXML/icXML-devel/src/xercesc/validators/schema/SchemaSymbols.hpp

    r2722 r2747  
    1 /*
    2  * Licensed to the Apache Software Foundation (ASF) under one or more
    3  * contributor license agreements.  See the NOTICE file distributed with
    4  * this work for additional information regarding copyright ownership.
    5  * The ASF licenses this file to You under the Apache License, Version 2.0
    6  * (the "License"); you may not use this file except in compliance with
    7  * the License.  You may obtain a copy of the License at
    8  *
    9  *      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 
    18 /*
    19  * $Id: SchemaSymbols.hpp 802804 2009-08-10 14:21:48Z amassari $
    20  */
    21 
    22 #if !defined(XERCESC_INCLUDE_GUARD_SCHEMASYMBOLS_HPP)
    23 #define XERCESC_INCLUDE_GUARD_SCHEMASYMBOLS_HPP
    24 
    25 #include <xercesc/util/XercesDefs.hpp>
    26 
    27 XERCES_CPP_NAMESPACE_BEGIN
    28 
    29 /*
    30  * Collection of symbols used to parse a Schema Grammar
    31  */
    32 
    33 class VALIDATORS_EXPORT SchemaSymbols
    34 {
    35 public :
    36     // -----------------------------------------------------------------------
    37     // Constant data
    38     // -----------------------------------------------------------------------
    39     static const XMLCh fgURI_XSI[];
    40     static const XMLCh fgURI_SCHEMAFORSCHEMA[];
    41     // deprecated (typo)
    42     static const XMLCh fgXSI_SCHEMALOCACTION[];
    43     // deprecated (typo)
    44     static const XMLCh fgXSI_NONAMESPACESCHEMALOCACTION[];
    45     static const XMLCh fgXSI_SCHEMALOCATION[];
    46     static const XMLCh fgXSI_NONAMESPACESCHEMALOCATION[];
    47     static const XMLCh fgXSI_TYPE[];
    48     static const XMLCh fgELT_ALL[];
    49     static const XMLCh fgELT_ANNOTATION[];
    50     static const XMLCh fgELT_ANY[];
    51     static const XMLCh fgELT_WILDCARD[];
    52     static const XMLCh fgELT_ANYATTRIBUTE[];
    53     static const XMLCh fgELT_APPINFO[];
    54     static const XMLCh fgELT_ATTRIBUTE[];
    55     static const XMLCh fgELT_ATTRIBUTEGROUP[];
    56     static const XMLCh fgELT_CHOICE[];
    57     static const XMLCh fgELT_COMPLEXTYPE[];
    58     static const XMLCh fgELT_CONTENT[];
    59     static const XMLCh fgELT_DOCUMENTATION[];
    60     static const XMLCh fgELT_DURATION[];
    61     static const XMLCh fgELT_ELEMENT[];
    62     static const XMLCh fgELT_ENCODING[];
    63     static const XMLCh fgELT_ENUMERATION[];
    64     static const XMLCh fgELT_FIELD[];
    65     static const XMLCh fgELT_WHITESPACE[];
    66     static const XMLCh fgELT_GROUP[];
    67     static const XMLCh fgELT_IMPORT[];
    68     static const XMLCh fgELT_INCLUDE[];
    69     static const XMLCh fgELT_REDEFINE[];
    70     static const XMLCh fgELT_KEY[];
    71     static const XMLCh fgELT_KEYREF[];
    72     static const XMLCh fgELT_LENGTH[];
    73     static const XMLCh fgELT_MAXEXCLUSIVE[];
    74     static const XMLCh fgELT_MAXINCLUSIVE[];
    75     static const XMLCh fgELT_MAXLENGTH[];
    76     static const XMLCh fgELT_MINEXCLUSIVE[];
    77     static const XMLCh fgELT_MININCLUSIVE[];
    78     static const XMLCh fgELT_MINLENGTH[];
    79     static const XMLCh fgELT_NOTATION[];
    80     static const XMLCh fgELT_PATTERN[];
    81     static const XMLCh fgELT_PERIOD[];
    82     static const XMLCh fgELT_TOTALDIGITS[];
    83     static const XMLCh fgELT_FRACTIONDIGITS[];
    84     static const XMLCh fgELT_SCHEMA[];
    85     static const XMLCh fgELT_SELECTOR[];
    86     static const XMLCh fgELT_SEQUENCE[];
    87     static const XMLCh fgELT_SIMPLETYPE[];
    88     static const XMLCh fgELT_UNION[];
    89     static const XMLCh fgELT_LIST[];
    90     static const XMLCh fgELT_UNIQUE[];
    91     static const XMLCh fgELT_COMPLEXCONTENT[];
    92     static const XMLCh fgELT_SIMPLECONTENT[];
    93     static const XMLCh fgELT_RESTRICTION[];
    94     static const XMLCh fgELT_EXTENSION[];
    95     static const XMLCh fgATT_ABSTRACT[];
    96     static const XMLCh fgATT_ATTRIBUTEFORMDEFAULT[];
    97     static const XMLCh fgATT_BASE[];
    98     static const XMLCh fgATT_ITEMTYPE[];
    99     static const XMLCh fgATT_MEMBERTYPES[];
    100     static const XMLCh fgATT_BLOCK[];
    101     static const XMLCh fgATT_BLOCKDEFAULT[];
    102     static const XMLCh fgATT_DEFAULT[];
    103     static const XMLCh fgATT_ELEMENTFORMDEFAULT[];
    104     static const XMLCh fgATT_SUBSTITUTIONGROUP[];
    105     static const XMLCh fgATT_FINAL[];
    106     static const XMLCh fgATT_FINALDEFAULT[];
    107     static const XMLCh fgATT_FIXED[];
    108     static const XMLCh fgATT_FORM[];
    109     static const XMLCh fgATT_ID[];
    110     static const XMLCh fgATT_MAXOCCURS[];
    111     static const XMLCh fgATT_MINOCCURS[];
    112     static const XMLCh fgATT_NAME[];
    113     static const XMLCh fgATT_NAMESPACE[];
    114     static const XMLCh fgATT_NILL[];
    115     static const XMLCh fgATT_NILLABLE[];
    116     static const XMLCh fgATT_PROCESSCONTENTS[];
    117     static const XMLCh fgATT_REF[];
    118     static const XMLCh fgATT_REFER[];
    119     static const XMLCh fgATT_SCHEMALOCATION[];
    120     static const XMLCh fgATT_SOURCE[];
    121     static const XMLCh fgATT_SYSTEM[];
    122     static const XMLCh fgATT_PUBLIC[];
    123     static const XMLCh fgATT_TARGETNAMESPACE[];
    124     static const XMLCh fgATT_TYPE[];
    125     static const XMLCh fgATT_USE[];
    126     static const XMLCh fgATT_VALUE[];
    127     static const XMLCh fgATT_MIXED[];
    128     static const XMLCh fgATT_VERSION[];
    129     static const XMLCh fgATT_XPATH[];
    130     static const XMLCh fgATTVAL_TWOPOUNDANY[];
    131     static const XMLCh fgATTVAL_TWOPOUNDLOCAL[];
    132     static const XMLCh fgATTVAL_TWOPOUNDOTHER[];
    133     static const XMLCh fgATTVAL_TWOPOUNDTRAGETNAMESPACE[];
    134     static const XMLCh fgATTVAL_POUNDALL[];
    135     static const XMLCh fgATTVAL_BASE64[];
    136     static const XMLCh fgATTVAL_BOOLEAN[];
    137     static const XMLCh fgATTVAL_DEFAULT[];
    138     static const XMLCh fgATTVAL_ELEMENTONLY[];
    139     static const XMLCh fgATTVAL_EMPTY[];
    140     static const XMLCh fgATTVAL_EXTENSION[];
    141     static const XMLCh fgATTVAL_FALSE[];
    142     static const XMLCh fgATTVAL_FIXED[];
    143     static const XMLCh fgATTVAL_HEX[];
    144     static const XMLCh fgATTVAL_ID[];
    145     static const XMLCh fgATTVAL_LAX[];
    146     static const XMLCh fgATTVAL_MAXLENGTH[];
    147     static const XMLCh fgATTVAL_MINLENGTH[];
    148     static const XMLCh fgATTVAL_MIXED[];
    149     static const XMLCh fgATTVAL_NCNAME[];
    150     static const XMLCh fgATTVAL_OPTIONAL[];
    151     static const XMLCh fgATTVAL_PROHIBITED[];
    152     static const XMLCh fgATTVAL_QNAME[];
    153     static const XMLCh fgATTVAL_QUALIFIED[];
    154     static const XMLCh fgATTVAL_REQUIRED[];
    155     static const XMLCh fgATTVAL_RESTRICTION[];
    156     static const XMLCh fgATTVAL_SKIP[];
    157     static const XMLCh fgATTVAL_STRICT[];
    158     static const XMLCh fgATTVAL_STRING[];
    159     static const XMLCh fgATTVAL_TEXTONLY[];
    160     static const XMLCh fgATTVAL_TIMEDURATION[];
    161     static const XMLCh fgATTVAL_TRUE[];
    162     static const XMLCh fgATTVAL_UNQUALIFIED[];
    163     static const XMLCh fgATTVAL_URI[];
    164     static const XMLCh fgATTVAL_URIREFERENCE[];
    165     static const XMLCh fgATTVAL_SUBSTITUTIONGROUP[];
    166     static const XMLCh fgATTVAL_SUBSTITUTION[];
    167     static const XMLCh fgATTVAL_ANYTYPE[];
    168     static const XMLCh fgWS_PRESERVE[];
    169     static const XMLCh fgWS_COLLAPSE[];
    170     static const XMLCh fgWS_REPLACE[];
    171     static const XMLCh fgDT_STRING[];
    172     static const XMLCh fgDT_TOKEN[];
    173     static const XMLCh fgDT_LANGUAGE[];
    174     static const XMLCh fgDT_NAME[];
    175     static const XMLCh fgDT_NCNAME[];
    176     static const XMLCh fgDT_INTEGER[];
    177     static const XMLCh fgDT_DECIMAL[];
    178     static const XMLCh fgDT_BOOLEAN[];
    179     static const XMLCh fgDT_NONPOSITIVEINTEGER[];
    180     static const XMLCh fgDT_NEGATIVEINTEGER[];
    181     static const XMLCh fgDT_LONG[];
    182     static const XMLCh fgDT_INT[];
    183     static const XMLCh fgDT_SHORT[];
    184     static const XMLCh fgDT_BYTE[];
    185         static const XMLCh fgDT_NONNEGATIVEINTEGER[];
    186     static const XMLCh fgDT_ULONG[];
    187     static const XMLCh fgDT_UINT[];
    188         static const XMLCh fgDT_USHORT[];
    189         static const XMLCh fgDT_UBYTE[];
    190     static const XMLCh fgDT_POSITIVEINTEGER[];
    191 //datetime
    192     static const XMLCh fgDT_DATETIME[];
    193     static const XMLCh fgDT_DATE[];
    194         static const XMLCh fgDT_TIME[];
    195     static const XMLCh fgDT_DURATION[];
    196     static const XMLCh fgDT_DAY[];
    197     static const XMLCh fgDT_MONTH[];
    198     static const XMLCh fgDT_MONTHDAY[];
    199     static const XMLCh fgDT_YEAR[];
    200     static const XMLCh fgDT_YEARMONTH[];
    201 
    202     static const XMLCh fgDT_BASE64BINARY[];
    203     static const XMLCh fgDT_HEXBINARY[];
    204     static const XMLCh fgDT_FLOAT[];
    205     static const XMLCh fgDT_DOUBLE[];
    206     static const XMLCh fgDT_URIREFERENCE[];
    207     static const XMLCh fgDT_ANYURI[];
    208     static const XMLCh fgDT_QNAME[];
    209     static const XMLCh fgDT_NORMALIZEDSTRING[];
    210     static const XMLCh fgDT_ANYSIMPLETYPE[];
    211     static const XMLCh fgRegEx_XOption[];
    212     static const XMLCh fgRedefIdentifier[];
    213     static const int   fgINT_MIN_VALUE;
    214     static const int   fgINT_MAX_VALUE;
    215 
    216     enum {
    217         XSD_EMPTYSET = 0,
    218         XSD_SUBSTITUTION = 1,
    219         XSD_EXTENSION = 2,
    220         XSD_RESTRICTION = 4,
    221         XSD_LIST = 8,
    222         XSD_UNION = 16,
    223         XSD_ENUMERATION = 32
    224     };
    225 
    226     // group orders
    227     enum {
    228         XSD_CHOICE = 0,
    229         XSD_SEQUENCE= 1,
    230         XSD_ALL = 2
    231     };
    232 
    233     enum {
    234         XSD_UNBOUNDED = -1,
    235         XSD_NILLABLE = 1,
    236         XSD_ABSTRACT = 2,
    237         XSD_FIXED = 4
    238     };
    239 
    240 private:
    241     // -----------------------------------------------------------------------
    242     //  Unimplemented constructors and operators
    243     // -----------------------------------------------------------------------
    244     SchemaSymbols();
    245 };
    246 
    247 XERCES_CPP_NAMESPACE_END
    248 
    249 #endif
    250 
    251 /**
    252   * End of file SchemaSymbols.hpp
    253   */
    254 
     1#include <icxercesc/validators/schema/SchemaSymbols.hpp>
Note: See TracChangeset for help on using the changeset viewer.