| API Docs for SAX and DOM |
| Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members # DeclHandler.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: DeclHandler.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  2002/01/28 17:08:33  knoaman
    00032  * SAX2-ext's DeclHandler support.
    00033  *
    00034  */
    00035
    00036
    00037 #ifndef DECLHANDLER_HPP
    00038 #define DECLHANDLER_HPP
    00039
    00040 #include <xercesc/util/XercesDefs.hpp>
    00041
    00042 XERCES_CPP_NAMESPACE_BEGIN
    00043
    00063 class  DeclHandler
    00064 {
    00065 public:
    00069     DeclHandler()
    00070     {
    00071     }
    00072
    00074     virtual ~DeclHandler()
    00075     {
    00076     }
    00078
    00098     virtual void elementDecl
    00099     (
    00100         const   XMLCh* const    name
    00101         , const XMLCh* const    model
    00102     ) = 0;
    00103
    00121     virtual void attributeDecl
    00122     (
    00123         const   XMLCh* const    eName
    00124         , const XMLCh* const    aName
    00125         , const XMLCh* const    type
    00126         , const XMLCh* const    mode
    00127         , const XMLCh* const    value
    00128     ) = 0;
    00129
    00142     virtual void internalEntityDecl
    00143     (
    00144         const   XMLCh* const    name
    00145         , const XMLCh* const    value
    00146     ) = 0;
    00147
    00160     virtual void externalEntityDecl
    00161     (
    00162         const   XMLCh* const    name
    00163         , const XMLCh* const    publicId
    00164         , const XMLCh* const    systemId
    00165     ) = 0;
    00166
    00168 private :
    00169     /* Unimplemented Constructors and operators */
    00170     /* Copy constructor */
    00171     DeclHandler(const DeclHandler&);
    00173     DeclHandler& operator=(const DeclHandler&);
    00174 };
    00175
    00176 XERCES_CPP_NAMESPACE_END
    00177
    00178 #endif

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