Xerces-C++ 3.1.3

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

DOMConfiguration.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_DOMCONFIGURATION_HPP)
19 #define XERCESC_INCLUDE_GUARD_DOMCONFIGURATION_HPP
20
21 //------------------------------------------------------------------------------------
22 // Includes
23 //------------------------------------------------------------------------------------
24
25 #include <xercesc/util/XMLString.hpp>
26 #include <xercesc/util/RefVectorOf.hpp>
27 #include <xercesc/dom/DOMStringList.hpp>
28
29 XERCES_CPP_NAMESPACE_BEGIN
30
350 class CDOM_EXPORT DOMConfiguration
351 {
352 protected:
353 //-----------------------------------------------------------------------------------
354 // Constructor
355 //-----------------------------------------------------------------------------------
358 DOMConfiguration() {};
360
361 private:
362 // -----------------------------------------------------------------------
363 // Unimplemented constructors and operators
364 // -----------------------------------------------------------------------
367 DOMConfiguration(const DOMConfiguration &);
368 DOMConfiguration & operator = (const DOMConfiguration &);
370
371 public:
372
373 // -----------------------------------------------------------------------
374 // Setter methods
375 // -----------------------------------------------------------------------
376
390 virtual void setParameter(const XMLCh* name, const void* value) = 0;
391 virtual void setParameter(const XMLCh* name, bool value) = 0;
392
393 // -----------------------------------------------------------------------
394 // Getter methods
395 // -----------------------------------------------------------------------
406 virtual const void* getParameter(const XMLCh* name) const = 0;
407
408
409 // -----------------------------------------------------------------------
410 // Query methods
411 // -----------------------------------------------------------------------
412
422 virtual bool canSetParameter(const XMLCh* name, const void* value) const = 0;
423 virtual bool canSetParameter(const XMLCh* name, bool value) const = 0;
424
433 virtual const DOMStringList* getParameterNames() const = 0;
434
435 // -----------------------------------------------------------------------
436 // All constructors are hidden, just the destructor is available
437 // -----------------------------------------------------------------------
444 virtual ~DOMConfiguration() {};
446 };
447
448 XERCES_CPP_NAMESPACE_END
449
450 #endif
451