Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesEntityWrapper.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XERCESENTITYWRAPPER_HEADER_GUARD_1357924680)
17 #define XERCESENTITYWRAPPER_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
25 
26 
28 
29 
30 
33 
34 
35 
36 XALAN_CPP_NAMESPACE_BEGIN
37 
38 
39 
41 
42 
43 
45 {
46 public:
47 
49  const DOMEntityType* theXercesDOMEntity,
50  const XercesWrapperNavigator& theNavigator);
51 
52  static XercesEntityWrapper*
53  create( MemoryManagerType& theManager,
54  const DOMEntityType* theXercesDOMEntity,
55  const XercesWrapperNavigator& theNavigator);
56 
57  virtual
59 
60 
61  // These interfaces are inherited from XalanNode...
62 
63  virtual const XalanDOMString&
64  getNodeName() const;
65 
69  virtual const XalanDOMString&
70  getNodeValue() const;
71 
75  virtual NodeType
76  getNodeType() const;
77 
87  virtual XalanNode*
88  getParentNode() const;
89 
103  virtual const XalanNodeList*
104  getChildNodes() const;
105 
111  virtual XalanNode*
112  getFirstChild() const;
113 
119  virtual XalanNode*
120  getLastChild() const;
121 
127  virtual XalanNode*
128  getPreviousSibling() const;
129 
135  virtual XalanNode*
136  getNextSibling() const;
137 
142  virtual const XalanNamedNodeMap*
143  getAttributes() const;
144 
154  virtual XalanDocument*
155  getOwnerDocument() const;
156 
158 
160 
179 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
180  virtual XalanNode*
181 #else
182  virtual XercesEntityWrapper*
183 #endif
184  cloneNode(bool deep) const;
185 
187 
189 
206  virtual XalanNode*
207  insertBefore(
208  XalanNode* newChild,
209  XalanNode* refChild);
210 
224  virtual XalanNode*
225  replaceChild(
226  XalanNode* newChild,
227  XalanNode* oldChild);
228 
236  virtual XalanNode*
237  removeChild(XalanNode* oldChild);
238 
250  virtual XalanNode*
251  appendChild(XalanNode* newChild);
252 
254 
256 
264  virtual bool
265  hasChildNodes() const;
266 
267 
269 
271 
272 
286  virtual void
287  setNodeValue(const XalanDOMString& nodeValue);
288 
290 
292 
309  virtual void
310  normalize();
311 
325  virtual bool
326  isSupported(
327  const XalanDOMString& feature,
328  const XalanDOMString& version) const;
329 
343  virtual const XalanDOMString&
344  getNamespaceURI() const;
345 
350  virtual const XalanDOMString&
351  getPrefix() const;
352 
360  virtual const XalanDOMString&
361  getLocalName() const;
362 
392  virtual void
393  setPrefix(const XalanDOMString& prefix);
394 
395  virtual bool
396  isIndexed() const;
397 
398  virtual IndexType
399  getIndex() const;
400 
402 
403  // These interfaces are inherited from XalanEntity...
404 
412  virtual const XalanDOMString&
413  getPublicId() const;
414 
422  virtual const XalanDOMString&
423  getSystemId() const;
424 
430  virtual const XalanDOMString&
431  getNotationName() const;
432 
438  const DOMEntityType*
439  getXercesNode() const
440  {
441  return m_xercesNode;
442  }
443 
444 private:
445 
446  // Not implemented...
447  XercesEntityWrapper(const XercesEntityWrapper& theSource);
448 
450  operator=(const XercesEntityWrapper& theSource);
451 
452  bool
453  operator==(const XercesEntityWrapper& theRHS) const;
454 
455  // Data members...
456  const DOMEntityType* const m_xercesNode;
457 
458  const XercesWrapperNavigator& m_navigator;
459 
460  XercesNodeListWrapper m_children;
461 };
462 
463 
464 
465 XALAN_CPP_NAMESPACE_END
466 
467 
468 
469 #endif // !defined(XERCESENTITYWRAPPER_HEADER_GUARD_1357924680)

Interpreting class diagrams

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

dot

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

Apache Logo