1 | #ifndef DOMComment_HEADER_GUARD_ |
---|
2 | #define DOMComment_HEADER_GUARD_ |
---|
3 | |
---|
4 | |
---|
5 | /* |
---|
6 | * Licensed to the Apache Software Foundation (ASF) under one or more |
---|
7 | * contributor license agreements. See the NOTICE file distributed with |
---|
8 | * this work for additional information regarding copyright ownership. |
---|
9 | * The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
10 | * (the "License"); you may not use this file except in compliance with |
---|
11 | * the License. You may obtain a copy of the License at |
---|
12 | * |
---|
13 | * http://www.apache.org/licenses/LICENSE-2.0 |
---|
14 | * |
---|
15 | * Unless required by applicable law or agreed to in writing, software |
---|
16 | * distributed under the License is distributed on an "AS IS" BASIS, |
---|
17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
18 | * See the License for the specific language governing permissions and |
---|
19 | * limitations under the License. |
---|
20 | */ |
---|
21 | |
---|
22 | /* |
---|
23 | * $Id: DOMComment.hpp 568078 2007-08-21 11:43:25Z amassari $ |
---|
24 | */ |
---|
25 | |
---|
26 | #include <xercesc/util/XercesDefs.hpp> |
---|
27 | #include <xercesc/dom/DOMCharacterData.hpp> |
---|
28 | |
---|
29 | XERCES_CPP_NAMESPACE_BEGIN |
---|
30 | |
---|
31 | |
---|
32 | /** |
---|
33 | * This interface inherits from <code>CharacterData</code> and represents the |
---|
34 | * content of a comment, i.e., all the characters between the starting ' |
---|
35 | * <code><!--</code>' and ending '<code>--></code>'. |
---|
36 | * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document Object Model (DOM) Level 2 Core Specification</a>. |
---|
37 | * |
---|
38 | * @since DOM Level 1 |
---|
39 | */ |
---|
40 | class CDOM_EXPORT DOMComment: public DOMCharacterData { |
---|
41 | protected: |
---|
42 | // ----------------------------------------------------------------------- |
---|
43 | // Hidden constructors |
---|
44 | // ----------------------------------------------------------------------- |
---|
45 | /** @name Hidden constructors */ |
---|
46 | //@{ |
---|
47 | DOMComment() {}; |
---|
48 | //@} |
---|
49 | |
---|
50 | private: |
---|
51 | // ----------------------------------------------------------------------- |
---|
52 | // Unimplemented constructors and operators |
---|
53 | // ----------------------------------------------------------------------- |
---|
54 | /** @name Unimplemented constructors and operators */ |
---|
55 | //@{ |
---|
56 | DOMComment(const DOMComment &); |
---|
57 | DOMComment & operator = (const DOMComment &); |
---|
58 | //@} |
---|
59 | |
---|
60 | public: |
---|
61 | // ----------------------------------------------------------------------- |
---|
62 | // All constructors are hidden, just the destructor is available |
---|
63 | // ----------------------------------------------------------------------- |
---|
64 | /** @name Destructor */ |
---|
65 | //@{ |
---|
66 | /** |
---|
67 | * Destructor |
---|
68 | * |
---|
69 | */ |
---|
70 | virtual ~DOMComment() {}; |
---|
71 | //@} |
---|
72 | }; |
---|
73 | |
---|
74 | XERCES_CPP_NAMESPACE_END |
---|
75 | |
---|
76 | #endif |
---|