Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XercesCDATASectionWrapper.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(XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680)
19 #define XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
27 
28 
30 
31 
32 
34 
35 
36 
37 XALAN_CPP_NAMESPACE_BEGIN
38 
39 
40 
42 
43 
44 
46 {
47 public:
48 
50  const DOMCDATASectionType* theXercesCDATASection,
51  const XercesWrapperNavigator& theNavigator);
52 
54  create( MemoryManager& theManager,
55  const DOMCDATASectionType* theXercesCDATASection,
56  const XercesWrapperNavigator& theNavigator);
57 
58  virtual
60 
61 
62  // These interfaces are inherited from XalanCDATASection...
63 
64  virtual const XalanDOMString&
65  getNodeName() const;
66 
67  virtual const XalanDOMString&
68  getNodeValue() const;
69 
70  virtual NodeType
71  getNodeType() const;
72 
73  virtual XalanNode*
74  getParentNode() const;
75 
76  virtual const XalanNodeList*
77  getChildNodes() const;
78 
79  virtual XalanNode*
80  getFirstChild() const;
81 
82  virtual XalanNode*
83  getLastChild() const;
84 
85  virtual XalanNode*
86  getPreviousSibling() const;
87 
88  virtual XalanNode*
89  getNextSibling() const;
90 
91  virtual const XalanNamedNodeMap*
92  getAttributes() const;
93 
94  virtual XalanDocument*
95  getOwnerDocument() const;
96 
97  virtual const XalanDOMString&
98  getNamespaceURI() const;
99 
100  virtual const XalanDOMString&
101  getPrefix() const;
102 
103  virtual const XalanDOMString&
104  getLocalName() const;
105 
106  virtual bool
107  isIndexed() const;
108 
109  virtual IndexType
110  getIndex() const;
111 
112  virtual const XalanDOMString&
113  getData() const;
114 
115  virtual bool
116  isWhitespace() const;
117 
118  /**
119  * Get the Xerces node this instance represent.
120  *
121  * @return The Xerces node
122  */
123  const DOMCDATASectionType*
125  {
126  return m_xercesNode;
127  }
128 
129 private:
130 
131  // Not implemented...
133 
135  operator=(const XercesCDATASectionWrapper& theSource);
136 
137  bool
138  operator==(const XercesCDATASectionWrapper& theRHS) const;
139 
140  // Data members...
141  const DOMCDATASectionType* m_xercesNode;
142 
143  const XercesWrapperNavigator& m_navigator;
144 };
145 
146 
147 
148 XALAN_CPP_NAMESPACE_END
149 
150 
151 
152 #endif // !defined(XERCESCDATASECTIONWRAPPER_HEADER_GUARD_1357924680)
virtual const XalanDOMString & getNodeValue() const =0
Gets the value of this node, depending on its type.
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise...
virtual XalanNode * getFirstChild() const =0
Gets the first child of this node.
#define XALAN_XERCESPARSERLIAISON_EXPORT
const DOMCDATASectionType * getXercesNode() const
Get the Xerces node this instance represent.
virtual const XalanDOMString & getData() const =0
Returns the character data of the node that implements this interface.
virtual const XalanNodeList * getChildNodes() const =0
Gets a NodeList that contains all children of this node.
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
virtual XalanDocument * getOwnerDocument() const =0
Gets the Document object associated with this node.
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
virtual XalanNode * getPreviousSibling() const =0
Gets the node immediately preceding this node.
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
virtual bool isIndexed() const =0
Determine if the document is node-order indexed.
virtual NodeType getNodeType() const =0
An enum value representing the type of the underlying object.
virtual const XalanDOMString & getNodeName() const =0
Gets the name of this node, depending on its type.
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
unsigned long IndexType
Definition: XalanNode.hpp:64
virtual IndexType getIndex() const =0
Get the node's index.
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
virtual bool isWhitespace() const =0
Determine whether the text node instance is composed entirely of XML whitespace.
bool operator==(const XalanCDATASection &theRHS) const
XalanCDATASection & operator=(const XalanCDATASection &theSource)
virtual XalanNode * getNextSibling() const =0
Gets the node immediately following this node.
XERCES_CPP_NAMESPACE_QUALIFIER DOMCDATASection DOMCDATASectionType

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo