Xerces-C++ 3.3.0
PSVIHandler.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_PSVIHANDLER_HPP)
23#define XERCESC_INCLUDE_GUARD_PSVIHANDLER_HPP
24
25
27
28
29class PSVIElement;
31
32
39{
40public:
41 // -----------------------------------------------------------------------
42 // Constructors are hidden, just the virtual destructor is exposed
43 // -----------------------------------------------------------------------
46 virtual ~PSVIHandler()
47 {
48 }
50
63 virtual void handleElementPSVI
64 (
65 const XMLCh* const localName
66 , const XMLCh* const uri
67 , PSVIElement * elementInfo
68 ) = 0;
69
92 virtual void handlePartialElementPSVI
93 (
94 const XMLCh* const localName
95 , const XMLCh* const uri
96 , PSVIElement * elementInfo
97 );
98
111 (
112 const XMLCh* const localName
113 , const XMLCh* const uri
114 , PSVIAttributeList * psviAttributes
115 ) = 0;
116
117
119
120
121
122protected :
123 // -----------------------------------------------------------------------
124 // Hidden Constructors
125 // -----------------------------------------------------------------------
127 {
128 }
129
130
131private:
132 // -----------------------------------------------------------------------
133 // Unimplemented constructors and operators
134 // -----------------------------------------------------------------------
135 PSVIHandler(const PSVIHandler&);
136 PSVIHandler& operator=(const PSVIHandler&);
137};
138
139inline void PSVIHandler::handlePartialElementPSVI(const XMLCh* const /*localName*/
140 , const XMLCh* const /*uri*/
141 , PSVIElement * /*elementInfo*/
142 )
143{
144}
145
147
148#endif
#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
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
Definition PSVIAttributeList.hpp:60
Definition PSVIElement.hpp:42
This abstract class provides the interface for the scanner to return PSVI information to the applicat...
Definition PSVIHandler.hpp:39
virtual void handleAttributesPSVI(const XMLCh *const localName, const XMLCh *const uri, PSVIAttributeList *psviAttributes)=0
Enables PSVI information about attributes to be passed back to the application.
virtual void handleElementPSVI(const XMLCh *const localName, const XMLCh *const uri, PSVIElement *elementInfo)=0
Receive notification of the PSVI properties of an element.
virtual ~PSVIHandler()
Definition PSVIHandler.hpp:46
PSVIHandler()
Definition PSVIHandler.hpp:126
virtual void handlePartialElementPSVI(const XMLCh *const localName, const XMLCh *const uri, PSVIElement *elementInfo)
Receive notification of partial PSVI properties of an element.
Definition PSVIHandler.hpp:139