GME  13
XPathSymbols.cpp
Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  * 
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  * 
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 /*
00019  * $Id: XPathSymbols.cpp 471747 2006-11-06 14:31:56Z amassari $
00020  */
00021 
00022 
00023 // ---------------------------------------------------------------------------
00024 //  Includes
00025 // ---------------------------------------------------------------------------
00026 #include <xercesc/util/XMLUniDefs.hpp>
00027 #include <xercesc/validators/schema/identity/XPathSymbols.hpp>
00028 
00029 XERCES_CPP_NAMESPACE_BEGIN
00030 
00031 // ---------------------------------------------------------------------------
00032 //  SchemaSymbols: Static data
00033 // ---------------------------------------------------------------------------
00034 const XMLCh XPathSymbols::fgSYMBOL_AND[] =
00035 {
00036     chLatin_a, chLatin_n, chLatin_d, chNull
00037 };
00038 
00039 const XMLCh XPathSymbols::fgSYMBOL_OR[] =
00040 {
00041     chLatin_o, chLatin_r, chNull
00042 };
00043 
00044 const XMLCh XPathSymbols::fgSYMBOL_MOD[] =
00045 {
00046     chLatin_m, chLatin_o, chLatin_d, chNull
00047 };
00048 
00049 const XMLCh XPathSymbols::fgSYMBOL_DIV[] =
00050 {
00051     chLatin_d, chLatin_i, chLatin_v, chNull
00052 };
00053 
00054 const XMLCh XPathSymbols::fgSYMBOL_COMMENT[] =
00055 {
00056     chLatin_c, chLatin_o, chLatin_m, chLatin_m, chLatin_e, chLatin_n, chLatin_t, chNull
00057 };
00058 
00059 const XMLCh XPathSymbols::fgSYMBOL_TEXT[] =
00060 {
00061     chLatin_t, chLatin_e, chLatin_x, chLatin_t, chNull
00062 };
00063 
00064 const XMLCh XPathSymbols::fgSYMBOL_PI[] =
00065 {
00066     chLatin_p, chLatin_r, chLatin_o, chLatin_c, chLatin_e, chLatin_s, chLatin_s,
00067     chLatin_i, chLatin_n, chLatin_g, chDash, chLatin_i, chLatin_n, chLatin_s, chLatin_t,
00068     chLatin_r, chLatin_u, chLatin_c, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull
00069 };
00070 
00071 const XMLCh XPathSymbols::fgSYMBOL_NODE[] =
00072 {
00073     chLatin_n, chLatin_o, chLatin_d, chLatin_e, chNull
00074 };
00075 
00076 const XMLCh XPathSymbols::fgSYMBOL_ANCESTOR[] =
00077 {
00078     chLatin_a, chLatin_n, chLatin_c, chLatin_e, chLatin_s, chLatin_t, chLatin_o,
00079     chLatin_r, chNull
00080 };
00081 
00082 
00083 const XMLCh XPathSymbols::fgSYMBOL_ANCESTOR_OR_SELF[] =
00084 {
00085     chLatin_a, chLatin_n, chLatin_c, chLatin_e, chLatin_s, chLatin_t, chLatin_o,
00086     chLatin_r, chDash, chLatin_o, chLatin_r, chDash, chLatin_s, chLatin_e,
00087     chLatin_l, chLatin_f, chNull
00088 };
00089 
00090 const XMLCh XPathSymbols::fgSYMBOL_ATTRIBUTE[] =
00091 {
00092     chLatin_a, chLatin_t, chLatin_t, chLatin_r, chLatin_i, chLatin_b, chLatin_u,
00093     chLatin_t, chLatin_e, chNull
00094 };
00095 
00096 const XMLCh XPathSymbols::fgSYMBOL_CHILD[] =
00097 {
00098     chLatin_c, chLatin_h, chLatin_i, chLatin_l, chLatin_d, chNull
00099 };
00100 
00101 const XMLCh XPathSymbols::fgSYMBOL_DESCENDANT[] =
00102 {
00103     chLatin_d, chLatin_e, chLatin_s, chLatin_c, chLatin_e, chLatin_n, chLatin_d,
00104     chLatin_a, chLatin_n, chLatin_t, chNull
00105 };
00106 
00107 const XMLCh XPathSymbols::fgSYMBOL_DESCENDANT_OR_SELF[] =
00108 {
00109     chLatin_d, chLatin_e, chLatin_s, chLatin_c, chLatin_e, chLatin_n, chLatin_d,
00110     chLatin_a, chLatin_n, chLatin_t, chDash, chLatin_o, chLatin_r, chDash, chLatin_s,
00111         chLatin_e, chLatin_l, chLatin_f, chNull
00112 };
00113 
00114 const XMLCh XPathSymbols::fgSYMBOL_FOLLOWING[] =
00115 {
00116     chLatin_f, chLatin_o, chLatin_l, chLatin_l, chLatin_o, chLatin_w, chLatin_i,
00117     chLatin_n, chLatin_g, chNull
00118 };
00119 
00120 const XMLCh XPathSymbols::fgSYMBOL_FOLLOWING_SIBLING[] =
00121 {
00122     chLatin_f, chLatin_o, chLatin_l, chLatin_l, chLatin_o, chLatin_w, chLatin_i,
00123     chLatin_n, chLatin_g, chDash, chLatin_s, chLatin_i, chLatin_b, chLatin_l, chLatin_i,
00124     chLatin_n, chLatin_g, chNull
00125 };
00126 
00127 const XMLCh XPathSymbols::fgSYMBOL_NAMESPACE[] =
00128 {
00129     chLatin_n, chLatin_a, chLatin_m, chLatin_e, chLatin_s, chLatin_p, chLatin_a,
00130     chLatin_c, chLatin_e, chNull
00131 };
00132 
00133 const XMLCh XPathSymbols::fgSYMBOL_PARENT[] =
00134 {
00135     chLatin_p, chLatin_a, chLatin_r, chLatin_e, chLatin_n, chLatin_t, chNull
00136 };
00137 
00138 const XMLCh XPathSymbols::fgSYMBOL_PRECEDING[] =
00139 {
00140     chLatin_p, chLatin_r, chLatin_e, chLatin_c, chLatin_e, chLatin_d, chLatin_i,
00141     chLatin_n, chLatin_g, chNull
00142 };
00143 
00144 const XMLCh XPathSymbols::fgSYMBOL_PRECEDING_SIBLING[] =
00145 {
00146     chLatin_p, chLatin_r, chLatin_e, chLatin_c, chLatin_e, chLatin_d, chLatin_i,
00147     chLatin_n, chLatin_g, chDash, chLatin_s, chLatin_i, chLatin_b, chLatin_l, chLatin_i,
00148     chLatin_n, chLatin_g, chNull
00149 };
00150 
00151 const XMLCh XPathSymbols::fgSYMBOL_SELF[] =
00152 {
00153     chLatin_s, chLatin_e, chLatin_l, chLatin_f, chNull
00154 };
00155 
00156 XERCES_CPP_NAMESPACE_END
00157