00001 #ifndef DOMProcessingInstruction_HEADER_GUARD_00002 #define DOMProcessingInstruction_HEADER_GUARD_00003
00004
00005 /*00006 * Licensed to the Apache Software Foundation (ASF) under one or more00007 * contributor license agreements. See the NOTICE file distributed with00008 * this work for additional information regarding copyright ownership.00009 * The ASF licenses this file to You under the Apache License, Version 2.000010 * (the "License"); you may not use this file except in compliance with00011 * the License. You may obtain a copy of the License at00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.000014 * 00015 * Unless required by applicable law or agreed to in writing, software00016 * 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 and00019 * 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_BEGIN00030
00031
00039class DOMProcessingInstruction: publicDOMNode {
00040 protected:
00041 // -----------------------------------------------------------------------00042 // Hidden constructors00043 // -----------------------------------------------------------------------00046DOMProcessingInstruction() {}
00047DOMProcessingInstruction(constDOMProcessingInstruction &other) : DOMNode(other) {}
00049
00050 private:
00051 // -----------------------------------------------------------------------00052 // Unimplemented constructors and operators00053 // -----------------------------------------------------------------------00056 DOMProcessingInstruction & operator = (constDOMProcessingInstruction &);
00058
00059 public:
00060 // -----------------------------------------------------------------------00061 // All constructors are hidden, just the destructor is available00062 // -----------------------------------------------------------------------00069virtual ~DOMProcessingInstruction() {};
00071
00072 // -----------------------------------------------------------------------00073 // Virtual DOMProcessingInstruction interface00074 // -----------------------------------------------------------------------00077 // -----------------------------------------------------------------------00078 // Getter methods00079 // -----------------------------------------------------------------------00088 virtualconst XMLCh * getTarget() const = 0;
00089
00100 virtualconst XMLCh * getData() const = 0;
00101
00102 // -----------------------------------------------------------------------00103 // Setter methods00104 // -----------------------------------------------------------------------00114 virtualvoid setData(const XMLCh * data) = 0;
00116
00117 };
00118
00119 XERCES_CPP_NAMESPACE_END00120
00121 #endif00122