SourceForge.net Logo
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//------------------------------------------------------------------------------------
24#include <xercesc/util/XMLString.hpp>
25
26
27XERCES_CPP_NAMESPACE_BEGIN
28
34class CDOM_EXPORT DOMPSVITypeInfo
35{
36protected:
37 // -----------------------------------------------------------------------
38 // Hidden constructors
39 // -----------------------------------------------------------------------
44
45private:
46 // -----------------------------------------------------------------------
47 // Unimplemented constructors and operators
48 // -----------------------------------------------------------------------
52 DOMPSVITypeInfo & operator = (const DOMPSVITypeInfo &);
54
55public:
56
73
74 // -----------------------------------------------------------------------
75 // All constructors are hidden, just the destructor is available
76 // -----------------------------------------------------------------------
79
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
112XERCES_CPP_NAMESPACE_END
113
114#endif
115
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,...
virtual ~DOMPSVITypeInfo()
Destructor.
Definition DOMPSVITypeInfo.hpp:83
virtual const XMLCh * getStringProperty(PSVIProperty prop) const =0
Returns the string value of the specified PSVI property associated to a DOMElement or DOMAttr,...
DOMPSVITypeInfo()
Definition DOMPSVITypeInfo.hpp:42
PSVIProperty
Definition DOMPSVITypeInfo.hpp:58
@ PSVI_Type_Definition_Anonymous
Definition DOMPSVITypeInfo.hpp:64
@ PSVI_Schema_Normalized_Value
Definition DOMPSVITypeInfo.hpp:70
@ PSVI_Validation_Attempted
Definition DOMPSVITypeInfo.hpp:60
@ PSVI_Nil
Definition DOMPSVITypeInfo.hpp:65
@ PSVI_Type_Definition_Name
Definition DOMPSVITypeInfo.hpp:62
@ PSVI_Type_Definition_Namespace
Definition DOMPSVITypeInfo.hpp:63
@ PSVI_Validity
Definition DOMPSVITypeInfo.hpp:59
@ PSVI_Schema_Specified
Definition DOMPSVITypeInfo.hpp:71
@ PSVI_Member_Type_Definition_Anonymous
Definition DOMPSVITypeInfo.hpp:68
@ PSVI_Schema_Default
Definition DOMPSVITypeInfo.hpp:69
@ PSVI_Member_Type_Definition_Namespace
Definition DOMPSVITypeInfo.hpp:67
@ PSVI_Member_Type_Definition_Name
Definition DOMPSVITypeInfo.hpp:66
@ PSVI_Type_Definition_Type
Definition DOMPSVITypeInfo.hpp:61