Xerces-C++ 3.2.4
XSConstants.hpp
Go to the documentation of this file.
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$
20 */
21
22#if !defined(XERCESC_INCLUDE_GUARD_XSCONSTANTS_HPP)
23#define XERCESC_INCLUDE_GUARD_XSCONSTANTS_HPP
24
25#include <xercesc/util/RefVectorOf.hpp>
26#include <xercesc/util/RefArrayVectorOf.hpp>
27
29
33
34// forward definitions for typedefs
35class XSAnnotation;
36class XSAttributeUse;
37class XSFacet;
39class XSNamespaceItem;
40class XSParticle;
42
43// these typedefs are intended to help hide dependence on utility
44// classes, as well as to define more intuitive names for commonly
45// used concepts.
46
47typedef RefVectorOf <XSAnnotation> XSAnnotationList;
48typedef RefVectorOf <XSAttributeUse> XSAttributeUseList;
49typedef RefVectorOf <XSFacet> XSFacetList;
50typedef RefVectorOf <XSMultiValueFacet> XSMultiValueFacetList;
51typedef RefVectorOf <XSNamespaceItem> XSNamespaceItemList;
52typedef RefVectorOf <XSParticle> XSParticleList;
53typedef RefVectorOf <XSSimpleTypeDefinition> XSSimpleTypeDefinitionList;
54typedef RefArrayVectorOf <XMLCh> StringList;
55
56class XMLPARSER_EXPORT XSConstants
57{
58public:
59
60 // XML Schema Components
120
121 // Derivation constants
150
151 // Scope
170
171 // Value Constraint
186
187private:
188 // -----------------------------------------------------------------------
189 // Unimplemented constructors and operators
190 // -----------------------------------------------------------------------
191 XSConstants();
192};
193
195
196#endif
RefVectorOf< XSMultiValueFacet > XSMultiValueFacetList
Definition XSConstants.hpp:50
RefVectorOf< XSNamespaceItem > XSNamespaceItemList
Definition XSConstants.hpp:51
RefVectorOf< XSParticle > XSParticleList
Definition XSConstants.hpp:52
RefVectorOf< XSSimpleTypeDefinition > XSSimpleTypeDefinitionList
Definition XSConstants.hpp:53
RefVectorOf< XSAnnotation > XSAnnotationList
Definition XSConstants.hpp:47
RefArrayVectorOf< XMLCh > StringList
Definition XSConstants.hpp:54
RefVectorOf< XSAttributeUse > XSAttributeUseList
Definition XSConstants.hpp:48
RefVectorOf< XSFacet > XSFacetList
Definition XSConstants.hpp:49
#define XMLPARSER_EXPORT
Definition XercesDefs.hpp:163
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
Definition XSAnnotation.hpp:42
Definition XSAttributeUse.hpp:40
Definition XSConstants.hpp:57
DERIVATION_TYPE
Definition XSConstants.hpp:122
@ DERIVATION_LIST
XSTypeDefinition final set.
Definition XSConstants.hpp:148
@ DERIVATION_EXTENSION
XSTypeDefinition final set or XSElementDeclaration disallowed substitution group.
Definition XSConstants.hpp:131
@ DERIVATION_UNION
XSTypeDefinition final set.
Definition XSConstants.hpp:144
@ DERIVATION_NONE
No constraint is available.
Definition XSConstants.hpp:126
@ DERIVATION_RESTRICTION
XSTypeDefinition final set or XSElementDeclaration disallowed substitution group.
Definition XSConstants.hpp:136
@ DERIVATION_SUBSTITUTION
XSTypeDefinition final set.
Definition XSConstants.hpp:140
COMPONENT_TYPE
Definition XSConstants.hpp:61
@ ATTRIBUTE_GROUP_DEFINITION
The object describes an attribute group definition.
Definition XSConstants.hpp:81
@ TYPE_DEFINITION
The object describes a complex type or simple type definition.
Definition XSConstants.hpp:73
@ IDENTITY_CONSTRAINT
The object describes an identity constraint definition.
Definition XSConstants.hpp:101
@ NOTATION_DECLARATION
The object describes a notation declaration.
Definition XSConstants.hpp:105
@ WILDCARD
The object describes a wildcard.
Definition XSConstants.hpp:97
@ MULTIVALUE_FACET
The object describes enumeration/pattern facets.
Definition XSConstants.hpp:118
@ ELEMENT_DECLARATION
The object describes an element declaration.
Definition XSConstants.hpp:69
@ ATTRIBUTE_USE
The object describes an attribute use definition.
Definition XSConstants.hpp:77
@ ANNOTATION
The object describes an annotation.
Definition XSConstants.hpp:109
@ MODEL_GROUP_DEFINITION
The object describes a model group definition.
Definition XSConstants.hpp:85
@ PARTICLE
The object describes a particle.
Definition XSConstants.hpp:93
@ ATTRIBUTE_DECLARATION
The object describes an attribute declaration.
Definition XSConstants.hpp:65
@ FACET
The object describes a constraining facet.
Definition XSConstants.hpp:113
@ MODEL_GROUP
A model group.
Definition XSConstants.hpp:89
VALUE_CONSTRAINT
Definition XSConstants.hpp:172
@ VALUE_CONSTRAINT_DEFAULT
Indicates that there is a default value constraint.
Definition XSConstants.hpp:180
@ VALUE_CONSTRAINT_FIXED
Indicates that there is a fixed value constraint for this attribute.
Definition XSConstants.hpp:184
@ VALUE_CONSTRAINT_NONE
Indicates that the component does not have any value constraint.
Definition XSConstants.hpp:176
SCOPE
Definition XSConstants.hpp:152
@ SCOPE_LOCAL
Locally scoped declarations are available for use only within the complex type.
Definition XSConstants.hpp:168
@ SCOPE_ABSENT
The scope of a declaration within named model groups or attribute groups is absent.
Definition XSConstants.hpp:159
@ SCOPE_GLOBAL
A scope of global identifies top-level declarations.
Definition XSConstants.hpp:163
Definition XSFacet.hpp:41
Definition XSMultiValueFacet.hpp:41
Definition XSNamespaceItem.hpp:54
Definition XSParticle.hpp:42
Definition XSSimpleTypeDefinition.hpp:44