Xalan-C++ API Reference
1.12.0
xalanc
XalanDOM
XalanComment.hpp
Go to the documentation of this file.
1
/*
2
* Licensed to the Apache Software Foundation (ASF) under one
3
* or more contributor license agreements. See the NOTICE file
4
* distributed with this work for additional information
5
* regarding copyright ownership. The ASF licenses this file
6
* to you under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*/
18
#if !defined(XALANCOMMENT_HEADER_GUARD_1357924680)
19
#define XALANCOMMENT_HEADER_GUARD_1357924680
20
21
22
23
#include <
xalanc/XalanDOM/XalanDOMDefinitions.hpp
>
24
#include <
xalanc/XalanDOM/XalanCharacterData.hpp
>
25
26
27
28
namespace
XALAN_CPP_NAMESPACE
{
29
30
31
32
class
XALAN_DOM_EXPORT
XalanComment
:
public
XalanCharacterData
33
{
34
public
:
35
36
XalanComment
();
37
38
virtual
39
~XalanComment
();
40
41
// These interfaces are inherited from XalanNode...
42
virtual
const
XalanDOMString
&
43
getNodeName
()
const
= 0;
44
45
virtual
const
XalanDOMString
&
46
getNodeValue
()
const
= 0;
47
48
virtual
NodeType
49
getNodeType
()
const
= 0;
50
51
virtual
XalanNode
*
52
getParentNode
()
const
= 0;
53
54
virtual
const
XalanNodeList
*
55
getChildNodes
()
const
= 0;
56
57
virtual
XalanNode
*
58
getFirstChild
()
const
= 0;
59
60
virtual
XalanNode
*
61
getLastChild
()
const
= 0;
62
63
virtual
XalanNode
*
64
getPreviousSibling
()
const
= 0;
65
66
virtual
XalanNode
*
67
getNextSibling
()
const
= 0;
68
69
virtual
const
XalanNamedNodeMap
*
70
getAttributes
()
const
= 0;
71
72
virtual
XalanDocument
*
73
getOwnerDocument
()
const
= 0;
74
75
virtual
const
XalanDOMString
&
76
getNamespaceURI
()
const
= 0;
77
78
virtual
const
XalanDOMString
&
79
getPrefix
()
const
= 0;
80
81
virtual
const
XalanDOMString
&
82
getLocalName
()
const
= 0;
83
84
virtual
bool
85
isIndexed
()
const
= 0;
86
87
virtual
IndexType
88
getIndex
()
const
= 0;
89
90
// These interfaces are inherited from XalanCharacterData...
91
92
virtual
const
XalanDOMString
&
93
getData
()
const
= 0;
94
95
protected
:
96
97
XalanComment
(
const
XalanComment
&
theSource
);
98
99
XalanComment
&
100
operator=
(
const
XalanComment
&
theSource
);
101
102
bool
103
operator==
(
const
XalanComment
&
theRHS
)
const
;
104
105
private
:
106
};
107
108
109
110
}
111
112
113
114
#endif
// !defined(XALANCOMMENT_HEADER_GUARD_1357924680)
XalanCharacterData.hpp
XalanDOMDefinitions.hpp
XALAN_DOM_EXPORT
#define XALAN_DOM_EXPORT
Definition
XalanDOMDefinitions.hpp:37
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition
XalanVersion.hpp:76
xalanc::XalanCharacterData
Definition
XalanCharacterData.hpp:33
xalanc::XalanComment
Definition
XalanComment.hpp:33
xalanc::XalanComment::XalanComment
XalanComment(const XalanComment &theSource)
xalanc::XalanComment::operator==
bool operator==(const XalanComment &theRHS) const
xalanc::XalanComment::getFirstChild
virtual XalanNode * getFirstChild() const =0
Gets the first child of this node.
xalanc::XalanComment::getNodeType
virtual NodeType getNodeType() const =0
An enum value representing the type of the underlying object.
xalanc::XalanComment::XalanComment
XalanComment()
xalanc::XalanComment::getData
virtual const XalanDOMString & getData() const =0
Returns the character data of the node that implements this interface.
xalanc::XalanComment::getNextSibling
virtual XalanNode * getNextSibling() const =0
Gets the node immediately following this node.
xalanc::XalanComment::getIndex
virtual IndexType getIndex() const =0
Get the node's index.
xalanc::XalanComment::getLastChild
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
xalanc::XalanComment::isIndexed
virtual bool isIndexed() const =0
Determine if the document is node-order indexed.
xalanc::XalanComment::getAttributes
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a XalanNamedNodeMap containing the attributes of this node (if it is an XalanElement) or a null ...
xalanc::XalanComment::getPreviousSibling
virtual XalanNode * getPreviousSibling() const =0
Gets the node immediately preceding this node.
xalanc::XalanComment::getChildNodes
virtual const XalanNodeList * getChildNodes() const =0
Gets a XalanNodeList that contains all children of this node.
xalanc::XalanComment::getNamespaceURI
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node.
xalanc::XalanComment::getOwnerDocument
virtual XalanDocument * getOwnerDocument() const =0
Gets the XalanDocument object associated with this node.
xalanc::XalanComment::getNodeValue
virtual const XalanDOMString & getNodeValue() const =0
Gets the value of this node, depending on its type.
xalanc::XalanComment::getNodeName
virtual const XalanDOMString & getNodeName() const =0
Gets the name of this node, depending on its type.
xalanc::XalanComment::getParentNode
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
xalanc::XalanComment::getLocalName
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
xalanc::XalanComment::getPrefix
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node.
xalanc::XalanComment::operator=
XalanComment & operator=(const XalanComment &theSource)
xalanc::XalanComment::~XalanComment
virtual ~XalanComment()
xalanc::XalanDOMString
Definition
XalanDOMString.hpp:46
xalanc::XalanDocument
Definition
XalanDocument.hpp:37
xalanc::XalanMemMgrAutoPtr
Definition
XalanMemMgrAutoPtr.hpp:47
xalanc::XalanNamedNodeMap
Definition
XalanNamedNodeMap.hpp:37
xalanc::XalanNodeList
Definition
XalanNodeList.hpp:37
xalanc::XalanNode
Definition
XalanNode.hpp:39
xalanc::XalanNode::NodeType
NodeType
Definition
XalanNode.hpp:48
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Tue Oct 10 2023 15:42:07 for Xalan-C++ API Reference by
1.9.8