# PSVIHandler.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  /*
    00019  * $Id: PSVIHandler.hpp 676796 2008-07-15 05:04:13Z dbertoni $
    00020  */
    00021
    00022 #if !defined(XERCESC_INCLUDE_GUARD_PSVIHANDLER_HPP)
    00023 #define XERCESC_INCLUDE_GUARD_PSVIHANDLER_HPP
    00024
    00025
    00026 XERCES_CPP_NAMESPACE_BEGIN
    00027
    00028
    00029 class PSVIElement;
    00030 class PSVIAttributeList;
    00031
    00032
    00038 class XMLPARSER_EXPORT PSVIHandler
    00039 {
    00040 public:
    00041     // -----------------------------------------------------------------------
    00042     //  Constructors are hidden, just the virtual destructor is exposed
    00043     // -----------------------------------------------------------------------
    00046     virtual ~PSVIHandler()
    00047     {
    00048     }
    00050
    00063     virtual void handleElementPSVI
    00064     (
    00065         const   XMLCh* const            localName
    00066         , const XMLCh* const            uri
    00067         ,       PSVIElement *           elementInfo
    00068     ) = 0;
    00069
    00092     virtual void handlePartialElementPSVI
    00093     (
    00094           const XMLCh*        const localName
    00095         , const XMLCh*        const uri
    00096         ,       PSVIElement *       elementInfo
    00097     );
    00098
    00110     virtual void handleAttributesPSVI
    00111     (
    00112         const   XMLCh* const            localName
    00113         , const XMLCh* const            uri
    00114         ,       PSVIAttributeList *     psviAttributes
    00115     ) = 0;
    00116
    00117
    00119
    00120
    00121
    00122 protected :
    00123     // -----------------------------------------------------------------------
    00124     //  Hidden Constructors
    00125     // -----------------------------------------------------------------------
    00126     PSVIHandler()
    00127     {
    00128     }
    00129
    00130
    00131 private:
    00132     // -----------------------------------------------------------------------
    00133     //  Unimplemented constructors and operators
    00134     // -----------------------------------------------------------------------
    00135     PSVIHandler(const PSVIHandler&);
    00136     PSVIHandler& operator=(const PSVIHandler&);
    00137 };
    00138
    00139 inline void PSVIHandler::handlePartialElementPSVI(const XMLCh*        const /*localName*/
    00140                                                 , const XMLCh*        const /*uri*/
    00141                                                 ,       PSVIElement *       /*elementInfo*/
    00142                                                  )
    00143 {
    00144 }
    00145
    00146 XERCES_CPP_NAMESPACE_END
    00147
    00148 #endif