| API Docs for SAX and DOM |
| Main Page Classes Files Related Pages # DeclHandler.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: DeclHandler.hpp 568078 2007-08-21 11:43:25Z amassari $
    00020  */
    00021
    00022
    00023 #ifndef DECLHANDLER_HPP
    00024 #define DECLHANDLER_HPP
    00025
    00026 #include <xercesc/util/XercesDefs.hpp>
    00027
    00028 XERCES_CPP_NAMESPACE_BEGIN
    00029
    00049 class  DeclHandler
    00050 {
    00051 public:
    00055     DeclHandler()
    00056     {
    00057     }
    00058
    00060     virtual ~DeclHandler()
    00061     {
    00062     }
    00064
    00084     virtual void elementDecl
    00085     (
    00086         const   XMLCh* const    name
    00087         , const XMLCh* const    model
    00088     ) = 0;
    00089
    00107     virtual void attributeDecl
    00108     (
    00109         const   XMLCh* const    eName
    00110         , const XMLCh* const    aName
    00111         , const XMLCh* const    type
    00112         , const XMLCh* const    mode
    00113         , const XMLCh* const    value
    00114     ) = 0;
    00115
    00128     virtual void internalEntityDecl
    00129     (
    00130         const   XMLCh* const    name
    00131         , const XMLCh* const    value
    00132     ) = 0;
    00133
    00146     virtual void externalEntityDecl
    00147     (
    00148         const   XMLCh* const    name
    00149         , const XMLCh* const    publicId
    00150         , const XMLCh* const    systemId
    00151     ) = 0;
    00152
    00154 private :
    00155     /* Unimplemented Constructors and operators */
    00156     /* Copy constructor */
    00157     DeclHandler(const DeclHandler&);
    00159     DeclHandler& operator=(const DeclHandler&);
    00160 };
    00161
    00162 XERCES_CPP_NAMESPACE_END
    00163
    00164 #endif

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