00001 /*00002 * Licensed to the Apache Software Foundation (ASF) under one or more00003 * contributor license agreements. See the NOTICE file distributed with00004 * this work for additional information regarding copyright ownership.00005 * The ASF licenses this file to You under the Apache License, Version 2.000006 * (the "License"); you may not use this file except in compliance with00007 * the License. You may obtain a copy of the License at00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.000010 * 00011 * Unless required by applicable law or agreed to in writing, software00012 * 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 and00015 * limitations under the License.00016 */00017
00018 /*00019 * $Id: PSVIHandler.hpp 568078 2007-08-21 11:43:25Z amassari $00020 */00021
00022
00023 #if !defined(PSVIHANDLER_HPP)00024#define PSVIHANDLER_HPP00025
00026 #include <xercesc/framework/psvi/PSVIElement.hpp>00027 #include <xercesc/framework/psvi/PSVIAttributeList.hpp>00028
00029 XERCES_CPP_NAMESPACE_BEGIN00030
00031
00037class PSVIHandler00038 {
00039 public:
00040 // -----------------------------------------------------------------------00041 // Constructors are hidden, just the virtual destructor is exposed00042 // -----------------------------------------------------------------------00045virtual ~PSVIHandler()
00046 {
00047 }
00049
00062 virtualvoid handleElementPSVI
00063 (
00064 const XMLCh* const localName
00065 , const XMLCh* const uri
00066 , PSVIElement * elementInfo
00067 ) = 0;
00068
00091 virtualvoid handlePartialElementPSVI
00092 (
00093 const XMLCh* const localName
00094 , const XMLCh* const uri
00095 , PSVIElement * elementInfo
00096 );
00097
00109 virtualvoid handleAttributesPSVI
00110 (
00111 const XMLCh* const localName
00112 , const XMLCh* const uri
00113 , PSVIAttributeList * psviAttributes
00114 ) = 0;
00115
00116
00118
00119
00120
00121 protected :
00122 // -----------------------------------------------------------------------00123 // Hidden Constructors00124 // -----------------------------------------------------------------------00125PSVIHandler()
00126 {
00127 }
00128
00129
00130 private:
00131 // -----------------------------------------------------------------------00132 // Unimplemented constructors and operators00133 // -----------------------------------------------------------------------00134 PSVIHandler(constPSVIHandler&);
00135 PSVIHandler& operator=(constPSVIHandler&);
00136 };
00137
00138inlinevoidPSVIHandler::handlePartialElementPSVI(const XMLCh* const/*localName*/00139 , const XMLCh* const/*uri*/00140 , PSVIElement * /*elementInfo*/00141 )
00142 {
00143 }
00144
00145 XERCES_CPP_NAMESPACE_END00146
00147 #endif