SourceForge.net Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Examples

DOMConfiguration.hpp

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  * 
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  * 
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #if !defined(XERCESC_INCLUDE_GUARD_DOMCONFIGURATION_HPP)
00019 #define XERCESC_INCLUDE_GUARD_DOMCONFIGURATION_HPP
00020 
00021 //------------------------------------------------------------------------------------
00022 //  Includes
00023 //------------------------------------------------------------------------------------
00024 
00025 #include <xercesc/util/XMLString.hpp>
00026 #include <xercesc/util/RefVectorOf.hpp>
00027 #include <xercesc/dom/DOMStringList.hpp>
00028 
00029 XERCES_CPP_NAMESPACE_BEGIN
00030 
00350 class CDOM_EXPORT DOMConfiguration
00351 {
00352 protected:
00353     //-----------------------------------------------------------------------------------
00354     //  Constructor
00355     //-----------------------------------------------------------------------------------
00358     DOMConfiguration() {};
00360 
00361 private:
00362     // -----------------------------------------------------------------------
00363     // Unimplemented constructors and operators
00364     // -----------------------------------------------------------------------
00367     DOMConfiguration(const DOMConfiguration &);
00368     DOMConfiguration & operator = (const DOMConfiguration &);
00370 
00371 public:
00372 
00373     // -----------------------------------------------------------------------
00374     //  Setter methods
00375     // -----------------------------------------------------------------------
00376     
00390     virtual void setParameter(const XMLCh* name, const void* value) = 0;
00391     virtual void setParameter(const XMLCh* name, bool value) = 0;
00392 
00393     // -----------------------------------------------------------------------
00394     //  Getter methods
00395     // -----------------------------------------------------------------------
00406     virtual const void* getParameter(const XMLCh* name) const = 0;
00407 
00408                                         
00409     // -----------------------------------------------------------------------
00410     //  Query methods
00411     // -----------------------------------------------------------------------
00412 
00422     virtual bool canSetParameter(const XMLCh* name, const void* value) const = 0;
00423     virtual bool canSetParameter(const XMLCh* name, bool value) const = 0;
00424 
00433     virtual const DOMStringList* getParameterNames() const = 0;
00434 
00435     // -----------------------------------------------------------------------
00436     //  All constructors are hidden, just the destructor is available
00437     // -----------------------------------------------------------------------
00444     virtual ~DOMConfiguration() {};
00446 };
00447         
00448 XERCES_CPP_NAMESPACE_END
00449 
00450 #endif 
00451 

Generated on Fri Sep 25 06:55:48 2009 for XQilla DOM Level 3 API by  doxygen 1.3.9.1