| API Docs for SAX and DOM |
| Main Page Classes Files Related Pages # DOMProcessingInstruction.hpp Go to the documentation of this file.
    00001 #ifndef DOMProcessingInstruction_HEADER_GUARD_
    00002 #define DOMProcessingInstruction_HEADER_GUARD_
    00003
    00004
    00005 /*
    00006  * Licensed to the Apache Software Foundation (ASF) under one or more
    00007  * contributor license agreements.  See the NOTICE file distributed with
    00008  * this work for additional information regarding copyright ownership.
    00009  * The ASF licenses this file to You under the Apache License, Version 2.0
    00010  * (the "License"); you may not use this file except in compliance with
    00011  * the License.  You may obtain a copy of the License at
    00012  *
    00013  *      http://www.apache.org/licenses/LICENSE-2.0
    00014  *
    00015  * Unless required by applicable law or agreed to in writing, software
    00016  * distributed under the License is distributed on an "AS IS" BASIS,
    00017  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00018  * See the License for the specific language governing permissions and
    00019  * limitations under the License.
    00020  */
    00021
    00022 /*
    00023  * $Id: DOMProcessingInstruction.hpp 568078 2007-08-21 11:43:25Z amassari $
    00024  */
    00025
    00026 #include <xercesc/util/XercesDefs.hpp>
    00027 #include <xercesc/dom/DOMNode.hpp>
    00028
    00029 XERCES_CPP_NAMESPACE_BEGIN
    00030
    00031
    00039 class   DOMProcessingInstruction: public DOMNode {
    00040 protected:
    00041     // -----------------------------------------------------------------------
    00042     //  Hidden constructors
    00043     // -----------------------------------------------------------------------
    00046     DOMProcessingInstruction() {}
    00047     DOMProcessingInstruction(const DOMProcessingInstruction &other) : DOMNode(other) {}
    00049
    00050 private:
    00051     // -----------------------------------------------------------------------
    00052     // Unimplemented constructors and operators
    00053     // -----------------------------------------------------------------------
    00056     DOMProcessingInstruction & operator = (const DOMProcessingInstruction &);
    00058
    00059 public:
    00060     // -----------------------------------------------------------------------
    00061     //  All constructors are hidden, just the destructor is available
    00062     // -----------------------------------------------------------------------
    00069     virtual ~DOMProcessingInstruction() {};
    00071
    00072     // -----------------------------------------------------------------------
    00073     //  Virtual DOMProcessingInstruction interface
    00074     // -----------------------------------------------------------------------
    00077     // -----------------------------------------------------------------------
    00078     //  Getter methods
    00079     // -----------------------------------------------------------------------
    00088     virtual const XMLCh *        getTarget() const = 0;
    00089
    00100     virtual const XMLCh *        getData() const = 0;
    00101
    00102     // -----------------------------------------------------------------------
    00103     //  Setter methods
    00104     // -----------------------------------------------------------------------
    00114     virtual void             setData(const XMLCh * data) = 0;
    00116
    00117 };
    00118
    00119 XERCES_CPP_NAMESPACE_END
    00120
    00121 #endif
    00122

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