Xalan-C++ API Reference  1.12.0
XalanDocumentFragment.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(XALANDOCUMENTFRAGMENT_HEADER_GUARD_1357924680)
19 #define XALANDOCUMENTFRAGMENT_HEADER_GUARD_1357924680
20 
21 
22 
25 
26 
27 
28 namespace XALAN_CPP_NAMESPACE {
29 
30 
31 
33 {
34 public:
35 
37 
38  virtual
40 
41  // These interfaces are inherited from XalanNode...
42 
43  virtual const XalanDOMString&
44  getNodeName() const = 0;
45 
46  virtual const XalanDOMString&
47  getNodeValue() const = 0;
48 
49  virtual NodeType
50  getNodeType() const = 0;
51 
52  virtual XalanNode*
53  getParentNode() const = 0;
54 
55  virtual const XalanNodeList*
56  getChildNodes() const = 0;
57 
58  virtual XalanNode*
59  getFirstChild() const = 0;
60 
61  virtual XalanNode*
62  getLastChild() const = 0;
63 
64  virtual XalanNode*
65  getPreviousSibling() const = 0;
66 
67  virtual XalanNode*
68  getNextSibling() const = 0;
69 
70  virtual const XalanNamedNodeMap*
71  getAttributes() const = 0;
72 
73  virtual XalanDocument*
74  getOwnerDocument() const = 0;
75 
76  virtual const XalanDOMString&
77  getNamespaceURI() const = 0;
78 
79  virtual const XalanDOMString&
80  getPrefix() const = 0;
81 
82  virtual const XalanDOMString&
83  getLocalName() const = 0;
84 
85  virtual bool
86  isIndexed() const = 0;
87 
88  virtual IndexType
89  getIndex() const = 0;
90 
91 protected:
92 
94 
96  operator=(const XalanDocumentFragment& theSource);
97 
98  bool
99  operator==(const XalanDocumentFragment& theRHS) const;
100 
101 private:
102 };
103 
104 
105 
106 }
107 
108 
109 
110 #endif // !defined(XALANDOCUMENTFRAGMENT_HEADER_GUARD_1357924680)
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanNode
Definition: XalanNode.hpp:38
xalanc::XalanNode::NodeType
NodeType
Definition: XalanNode.hpp:47
xalanc::XalanDocument
Definition: XalanDocument.hpp:36
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1118
xalanc::XalanNode::IndexType
unsigned long IndexType
Definition: XalanNode.hpp:64
XalanNode.hpp
xalanc::XalanNodeList
Definition: XalanNodeList.hpp:36
xalanc::XalanNamedNodeMap
Definition: XalanNamedNodeMap.hpp:36
XalanDOMDefinitions.hpp
XALAN_DOM_EXPORT
#define XALAN_DOM_EXPORT
Definition: XalanDOMDefinitions.hpp:37
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45
xalanc::XalanDocumentFragment
Definition: XalanDocumentFragment.hpp:32