Xerces-C++  3.1.2
DOMText.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 /*
19  * $Id: DOMText.hpp 527149 2007-04-10 14:56:39Z amassari $
20  */
21 
22 #if !defined(XERCESC_INCLUDE_GUARD_DOMTEXT_HPP)
23 #define XERCESC_INCLUDE_GUARD_DOMTEXT_HPP
24 
27 
29 
30 
52 protected:
53  // -----------------------------------------------------------------------
54  // Hidden constructors
55  // -----------------------------------------------------------------------
58  DOMText() {}
59  DOMText(const DOMText &other) : DOMCharacterData(other) {}
61 
62 private:
63  // -----------------------------------------------------------------------
64  // Unimplemented constructors and operators
65  // -----------------------------------------------------------------------
68  DOMText & operator = (const DOMText &);
70 
71 public:
72  // -----------------------------------------------------------------------
73  // All constructors are hidden, just the destructor is available
74  // -----------------------------------------------------------------------
81  virtual ~DOMText() {};
83 
84  // -----------------------------------------------------------------------
85  // Virtual DOMText interface
86  // -----------------------------------------------------------------------
107  virtual DOMText *splitText(XMLSize_t offset) = 0;
109 
120  virtual bool getIsElementContentWhitespace() const = 0;
121 
128  virtual const XMLCh* getWholeText() const = 0;
129 
158  virtual DOMText* replaceWholeText(const XMLCh* content) = 0;
160 
161  // -----------------------------------------------------------------------
162  // Non-standard extension
163  // -----------------------------------------------------------------------
172  virtual bool isIgnorableWhitespace() const = 0;
174 
175 };
176 
177 
179 
180 #endif
181 
182 
virtual ~DOMText()
Destructor.
Definition: DOMText.hpp:81
The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...
Definition: DOMCharacterData.hpp:46
The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...
Definition: DOMText.hpp:51
#define CDOM_EXPORT
Definition: XercesDefs.hpp:166
SIZE_T XMLSize_t
Definition: Xerces_autoconf_config.borland.hpp:86
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
wchar_t XMLCh
Definition: Xerces_autoconf_config.borland.hpp:92
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
DOMText(const DOMText &other)
Definition: DOMText.hpp:59
DOMText()
Definition: DOMText.hpp:58