Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesDocumentTypeWrapper.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(XERCESDOCUMENTTYPEWRAPPER_HEADER_GUARD_1357924680)
17 #define XERCESDOCUMENTTYPEWRAPPER_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
26 
28 
31 
32 
33 
34 XALAN_CPP_NAMESPACE_BEGIN
35 
36 
37 
40 
41 
42 
44 {
45 public:
46 
48  const DOMDocumentType_Type* theXercesDOMDocumentType,
49  const XercesWrapperNavigator& theNavigator);
50 
52  create( MemoryManagerType& theManager,
53  const DOMDocumentType_Type* theXercesDOMDocumentType,
54  const XercesWrapperNavigator& theNavigator);
55 
56  virtual
58 
59 
60  // These interfaces are inherited from XalanNode...
61 
62  virtual const XalanDOMString&
63  getNodeName() const;
64 
68  virtual const XalanDOMString&
69  getNodeValue() const;
70 
74  virtual NodeType
75  getNodeType() const;
76 
86  virtual XalanNode*
87  getParentNode() const;
88 
102  virtual const XalanNodeList*
103  getChildNodes() const;
104 
110  virtual XalanNode*
111  getFirstChild() const;
112 
118  virtual XalanNode*
119  getLastChild() const;
120 
126  virtual XalanNode*
127  getPreviousSibling() const;
128 
134  virtual XalanNode*
135  getNextSibling() const;
136 
141  virtual const XalanNamedNodeMap*
142  getAttributes() const;
143 
153  virtual XalanDocument*
154  getOwnerDocument() const;
155 
157 
159 
178 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
179  virtual XalanNode*
180 #else
182 #endif
183  cloneNode(bool deep) const;
184 
186 
188 
205  virtual XalanNode*
206  insertBefore(
207  XalanNode* newChild,
208  XalanNode* refChild);
209 
223  virtual XalanNode*
224  replaceChild(
225  XalanNode* newChild,
226  XalanNode* oldChild);
227 
235  virtual XalanNode*
236  removeChild(XalanNode* oldChild);
237 
249  virtual XalanNode*
250  appendChild(XalanNode* newChild);
251 
253 
255 
263  virtual bool
264  hasChildNodes() const;
265 
266 
268 
270 
271 
285  virtual void
286  setNodeValue(const XalanDOMString& nodeValue);
287 
289 
291 
308  virtual void
309  normalize();
310 
324  virtual bool
325  isSupported(
326  const XalanDOMString& feature,
327  const XalanDOMString& version) const;
328 
342  virtual const XalanDOMString&
343  getNamespaceURI() const;
344 
349  virtual const XalanDOMString&
350  getPrefix() const;
351 
359  virtual const XalanDOMString&
360  getLocalName() const;
361 
391  virtual void
392  setPrefix(const XalanDOMString& prefix);
393 
394  virtual bool
395  isIndexed() const;
396 
397  virtual IndexType
398  getIndex() const;
399 
401 
402  // These interfaces are inherited from XalanDocumentType...
403 
406 
411  virtual const XalanDOMString&
412  getName() const;
413 
419  virtual const XalanNamedNodeMap*
420  getEntities() const;
421 
426  virtual const XalanNamedNodeMap*
427  getNotations() const;
429 
436  virtual const XalanDOMString&
437  getPublicId() const;
438 
443  virtual const XalanDOMString&
444  getSystemId() const;
445 
450  virtual const XalanDOMString&
451  getInternalSubset() const;
452 
458  const DOMDocumentType_Type*
459  getXercesNode() const
460  {
461  return m_xercesNode;
462  }
463 
465 
466 private:
467 
468  // Not implemented...
470 
472  operator=(const XercesDocumentTypeWrapper& theSource);
473 
474  bool
475  operator==(const XercesDocumentTypeWrapper& theRHS) const;
476 
477  // Data members...
478  const DOMDocumentType_Type* const m_xercesNode;
479 
480  XercesNamedNodeMapWrapper m_entities;
481 
482  XercesNamedNodeMapWrapper m_notations;
483 
484  const XercesWrapperNavigator& m_navigator;
485 };
486 
487 
488 
489 XALAN_CPP_NAMESPACE_END
490 
491 
492 
493 #endif // !defined(XERCESDOCUMENTTYPEWRAPPER_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