http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Release Info

Installation
Download
Build

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PSVIHandler.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2000,2004 The Apache Software Foundation.
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  * 
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017  /*
00018   * $Log: PSVIHandler.hpp,v $
00019   * Revision 1.10  2004/09/23 21:22:15  peiyongz
00020   * Documentation
00021   *
00022   * Revision 1.9  2004/09/22 20:38:45  peiyongz
00023   * provide default implementation and documentation
00024   *
00025   * Revision 1.8  2004/09/21 16:09:37  peiyongz
00026   * Handle partial PSVIElement
00027   *
00028   * Revision 1.7  2004/09/08 13:56:07  peiyongz
00029   * Apache License Version 2.0
00030   *
00031   * Revision 1.6  2003/12/01 23:23:26  neilg
00032   * fix for bug 25118; thanks to Jeroen Witmond
00033   *
00034   * Revision 1.5  2003/11/28 05:13:45  neilg
00035   * remove passing of prefixes in PSVIHandler
00036   *
00037   * Revision 1.4  2003/11/25 14:20:21  neilg
00038   * clean up usage of const in PSVIHandler
00039   *
00040   * Revision 1.3  2003/11/17 18:12:00  neilg
00041   * PSVIAttributeList needs to be included by PSVIHandler.  Thanks to Pete Lloyd for the patch
00042   *
00043   * Revision 1.2  2003/09/22 15:03:06  neilg
00044   * clearly the local name of an element should be a string, not an XMLElementDecl...
00045   *
00046   * Revision 1.1  2003/09/16 14:33:36  neilg
00047   * PSVI/schema component model classes, with Makefile/configuration changes necessary to build them
00048   *
00049   */
00050 
00051 
00052 #if !defined(PSVIHANDLER_HPP)
00053 #define PSVIHANDLER_HPP
00054 
00055 #include <xercesc/framework/psvi/PSVIElement.hpp>
00056 #include <xercesc/framework/psvi/PSVIAttributeList.hpp>
00057 
00058 XERCES_CPP_NAMESPACE_BEGIN
00059 
00060 
00066 class  PSVIHandler
00067 {
00068 public:
00069     // -----------------------------------------------------------------------
00070     //  Constructors are hidden, just the virtual destructor is exposed
00071     // -----------------------------------------------------------------------
00074     virtual ~PSVIHandler()
00075     {
00076     }
00078 
00091     virtual void handleElementPSVI
00092     (
00093         const   XMLCh* const            localName 
00094         , const XMLCh* const            uri
00095         ,       PSVIElement *           elementInfo
00096     ) = 0;
00097 
00120     virtual void handlePartialElementPSVI
00121     (
00122           const XMLCh*        const localName 
00123         , const XMLCh*        const uri
00124         ,       PSVIElement *       elementInfo
00125     )
00126     { }
00127 
00139     virtual void handleAttributesPSVI
00140     (
00141         const   XMLCh* const            localName 
00142         , const XMLCh* const            uri
00143         ,       PSVIAttributeList *     psviAttributes
00144     ) = 0;
00145 
00146 
00148 
00149 
00150 
00151 protected :
00152     // -----------------------------------------------------------------------
00153     //  Hidden Constructors
00154     // -----------------------------------------------------------------------
00155     PSVIHandler()
00156     {
00157     }
00158 
00159 
00160 private:
00161     // -----------------------------------------------------------------------
00162     //  Unimplemented constructors and operators
00163     // -----------------------------------------------------------------------
00164     PSVIHandler(const PSVIHandler&);
00165     PSVIHandler& operator=(const PSVIHandler&);
00166 };
00167 
00168 XERCES_CPP_NAMESPACE_END
00169 
00170 #endif


Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.