Xerces-C++ 3.3.0
DOMPSVITypeInfo.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#if !defined(XERCESC_INCLUDE_GUARD_DOMPSVITYPEINFO_HPP)
19#define XERCESC_INCLUDE_GUARD_DOMPSVITYPEINFO_HPP
20
21//------------------------------------------------------------------------------------
22// Includes
23//------------------------------------------------------------------------------------
25
26
28
35{
36protected:
37 // -----------------------------------------------------------------------
38 // Hidden constructors
39 // -----------------------------------------------------------------------
44
45private:
46 // -----------------------------------------------------------------------
47 // Unimplemented constructors and operators
48 // -----------------------------------------------------------------------
52 DOMPSVITypeInfo & operator = (const DOMPSVITypeInfo &);
54
55public:
56
58 {
59 PSVI_Validity
60 , PSVI_Validation_Attempted
61 , PSVI_Type_Definition_Type
62 , PSVI_Type_Definition_Name
63 , PSVI_Type_Definition_Namespace
64 , PSVI_Type_Definition_Anonymous
65 , PSVI_Nil
66 , PSVI_Member_Type_Definition_Name
67 , PSVI_Member_Type_Definition_Namespace
68 , PSVI_Member_Type_Definition_Anonymous
69 , PSVI_Schema_Default
70 , PSVI_Schema_Normalized_Value
71 , PSVI_Schema_Specified
72 };
73
74 // -----------------------------------------------------------------------
75 // All constructors are hidden, just the destructor is available
76 // -----------------------------------------------------------------------
83 virtual ~DOMPSVITypeInfo() {};
85
87 // -----------------------------------------------------------------------
88 // Getter methods
89 // -----------------------------------------------------------------------
98 virtual const XMLCh* getStringProperty(PSVIProperty prop) const = 0;
99
108 virtual int getNumericProperty(PSVIProperty prop) const = 0;
110};
111
113
114#endif
115
#define CDOM_EXPORT
Definition XercesDefs.hpp:166
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
The DOMPSVITypeInfo interface represent the PSVI info used by DOMElement or DOMAttr nodes,...
Definition DOMPSVITypeInfo.hpp:35
virtual int getNumericProperty(PSVIProperty prop) const =0
Returns the numeric value of the specified PSVI property associated to a DOMElement or DOMAttr,...
DOMPSVITypeInfo()
Definition DOMPSVITypeInfo.hpp:42
virtual ~DOMPSVITypeInfo()
Destructor.
Definition DOMPSVITypeInfo.hpp:83
PSVIProperty
Definition DOMPSVITypeInfo.hpp:58
virtual const XMLCh * getStringProperty(PSVIProperty prop) const =0
Returns the string value of the specified PSVI property associated to a DOMElement or DOMAttr,...