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  

LexicalHandler.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: LexicalHandler.hpp,v $
00019  * Revision 1.4  2004/09/08 13:56:20  peiyongz
00020  * Apache License Version 2.0
00021  *
00022  * Revision 1.3  2003/03/07 18:10:30  tng
00023  * Return a reference instead of void for operator=
00024  *
00025  * Revision 1.2  2002/11/04 14:55:45  tng
00026  * C++ Namespace Support.
00027  *
00028  * Revision 1.1.1.1  2002/02/01 22:22:09  peiyongz
00029  * sane_include
00030  *
00031  * Revision 1.1  2000/12/22 15:17:04  tng
00032  * SAX2-ext's LexicalHandler support added by David Bertoni.
00033  *
00034  *
00035  */
00036 
00037 
00038 #ifndef LEXICALHANDLER_HPP
00039 #define LEXICALHANDLER_HPP
00040 
00041 #include <xercesc/util/XercesDefs.hpp>
00042 
00043 XERCES_CPP_NAMESPACE_BEGIN
00044 
00062 class  LexicalHandler
00063 {
00064 public:
00068     LexicalHandler()
00069     {
00070     }
00071 
00073     virtual ~LexicalHandler()
00074     {
00075     }
00077 
00095     virtual void comment
00096     (
00097         const   XMLCh* const    chars
00098         , const unsigned int    length
00099     ) = 0;
00100 
00110     virtual void endCDATA () = 0;
00111 
00121     virtual void endDTD () = 0;
00122 
00133     virtual void endEntity (const XMLCh* const name) = 0;
00134 
00144     virtual void startCDATA () = 0;
00145 
00158     virtual void startDTD
00159     (
00160         const   XMLCh* const    name
00161         , const   XMLCh* const    publicId
00162         , const   XMLCh* const    systemId
00163     ) = 0;
00164 
00175     virtual void startEntity (const XMLCh* const name) = 0;
00176 
00178 private :
00179     /* Unimplemented Constructors and operators */
00180     /* Copy constructor */
00181     LexicalHandler(const LexicalHandler&);
00183     LexicalHandler& operator=(const LexicalHandler&);
00184 };
00185 
00186 XERCES_CPP_NAMESPACE_END
00187 
00188 #endif


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