Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesDocumentTypeBridge.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(XERCESDOCUMENTTYPEBRIDGE_HEADER_GUARD_1357924680)
17 #define XERCESDOCUMENTTYPEBRIDGE_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 #if XERCES_VERSION_MAJOR >= 2
26 #include <xercesc/dom/deprecated/DOM_DocumentType.hpp>
27 #else
28 #include <xercesc/dom/DOM_DocumentType.hpp>
29 #endif
30 
31 
32 
34 
35 
36 
39 
40 
41 
42 XALAN_CPP_NAMESPACE_BEGIN
43 
44 
45 
48 
49 
56 {
57 public:
58 
60  const DOM_DocumentType_Type& theXercesDOMDocumentType,
61  const XercesBridgeNavigator& theNavigator);
62 
63  virtual
65 
66 
67  // These interfaces are inherited from XalanNode...
68 
69  virtual const XalanDOMString&
70  getNodeName() const;
71 
75  virtual const XalanDOMString&
76  getNodeValue() const;
77 
81  virtual NodeType
82  getNodeType() const;
83 
93  virtual XalanNode*
94  getParentNode() const;
95 
109  virtual const XalanNodeList*
110  getChildNodes() const;
111 
117  virtual XalanNode*
118  getFirstChild() const;
119 
125  virtual XalanNode*
126  getLastChild() const;
127 
133  virtual XalanNode*
134  getPreviousSibling() const;
135 
141  virtual XalanNode*
142  getNextSibling() const;
143 
148  virtual const XalanNamedNodeMap*
149  getAttributes() const;
150 
160  virtual XalanDocument*
161  getOwnerDocument() const;
162 
164 
166 
185 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
186  virtual XalanNode*
187 #else
188  virtual XercesDocumentTypeBridge*
189 #endif
190  cloneNode(bool deep) const;
191 
193 
195 
212  virtual XalanNode*
213  insertBefore(
214  XalanNode* newChild,
215  XalanNode* refChild);
216 
230  virtual XalanNode*
231  replaceChild(
232  XalanNode* newChild,
233  XalanNode* oldChild);
234 
242  virtual XalanNode*
243  removeChild(XalanNode* oldChild);
244 
256  virtual XalanNode*
257  appendChild(XalanNode* newChild);
258 
260 
262 
270  virtual bool
271  hasChildNodes() const;
272 
273 
275 
277 
278 
292  virtual void
293  setNodeValue(const XalanDOMString& nodeValue);
294 
296 
298 
315  virtual void
316  normalize();
317 
331  virtual bool
332  isSupported(
333  const XalanDOMString& feature,
334  const XalanDOMString& version) const;
335 
349  virtual const XalanDOMString&
350  getNamespaceURI() const;
351 
356  virtual const XalanDOMString&
357  getPrefix() const;
358 
366  virtual const XalanDOMString&
367  getLocalName() const;
368 
398  virtual void
399  setPrefix(const XalanDOMString& prefix);
400 
401  virtual bool
402  isIndexed() const;
403 
404  virtual IndexType
405  getIndex() const;
406 
408 
409  // These interfaces are inherited from XalanDocumentType...
410 
413 
418  virtual const XalanDOMString&
419  getName() const;
420 
426  virtual const XalanNamedNodeMap*
427  getEntities() const;
428 
433  virtual const XalanNamedNodeMap*
434  getNotations() const;
436 
443  virtual const XalanDOMString&
444  getPublicId() const;
445 
450  virtual const XalanDOMString&
451  getSystemId() const;
452 
457  virtual const XalanDOMString&
458  getInternalSubset() const;
459 
467  {
468  return m_xercesNode;
469  }
470 
472 
473 private:
474 
475  // Not implemented...
477 
479  operator=(const XercesDocumentTypeBridge& theSource);
480 
481  bool
482  operator==(const XercesDocumentTypeBridge& theRHS) const;
483 
484  // Data members...
485  DOM_DocumentType_Type m_xercesNode;
486 
487  XercesNamedNodeMapBridge m_entities;
488 
489  XercesNamedNodeMapBridge m_notations;
490 
491  const XercesBridgeNavigator& m_navigator;
492 };
493 
494 
495 
496 XALAN_CPP_NAMESPACE_END
497 
498 
499 
500 #endif // !defined(XERCESDOCUMENTTYPEBRIDGE_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