Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesProcessingInstructionBridge.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(XERCESPROCESSINGINSTRUCTIONBRIDGE_HEADER_GUARD_1357924680)
17 #define XERCESPROCESSINGINSTRUCTIONBRIDGE_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 #if XERCES_VERSION_MAJOR >= 2
26 #include <xercesc/dom/deprecated/DOM_ProcessingInstruction.hpp>
27 #else
28 #include <xercesc/dom/DOM_ProcessingInstruction.hpp>
29 #endif
30 
31 
32 
34 
35 
36 
38 
39 
40 
41 XALAN_CPP_NAMESPACE_BEGIN
42 
43 
44 
46 
47 
54 {
55 public:
56 
58  const DOM_ProcessingInstructionType& theXercesDOMProcessingInstruction,
59  const XercesBridgeNavigator& theNavigator);
60 
61  virtual
63 
64 
65  // These interfaces are inherited from XalanNode...
66 
67  virtual const XalanDOMString&
68  getNodeName() const;
69 
73  virtual const XalanDOMString&
74  getNodeValue() const;
75 
79  virtual NodeType
80  getNodeType() const;
81 
91  virtual XalanNode*
92  getParentNode() const;
93 
107  virtual const XalanNodeList*
108  getChildNodes() const;
109 
115  virtual XalanNode*
116  getFirstChild() const;
117 
123  virtual XalanNode*
124  getLastChild() const;
125 
131  virtual XalanNode*
132  getPreviousSibling() const;
133 
139  virtual XalanNode*
140  getNextSibling() const;
141 
146  virtual const XalanNamedNodeMap*
147  getAttributes() const;
148 
158  virtual XalanDocument*
159  getOwnerDocument() const;
160 
162 
164 
183 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
184  virtual XalanNode*
185 #else
187 #endif
188  cloneNode(bool deep) const;
189 
191 
193 
210  virtual XalanNode*
211  insertBefore(
212  XalanNode* newChild,
213  XalanNode* refChild);
214 
228  virtual XalanNode*
229  replaceChild(
230  XalanNode* newChild,
231  XalanNode* oldChild);
232 
240  virtual XalanNode*
241  removeChild(XalanNode* oldChild);
242 
254  virtual XalanNode*
255  appendChild(XalanNode* newChild);
256 
258 
260 
268  virtual bool
269  hasChildNodes() const;
270 
271 
273 
275 
276 
290  virtual void
291  setNodeValue(const XalanDOMString& nodeValue);
292 
294 
296 
313  virtual void
314  normalize();
315 
329  virtual bool
330  isSupported(
331  const XalanDOMString& feature,
332  const XalanDOMString& version) const;
333 
347  virtual const XalanDOMString&
348  getNamespaceURI() const;
349 
354  virtual const XalanDOMString&
355  getPrefix() const;
356 
364  virtual const XalanDOMString&
365  getLocalName() const;
366 
396  virtual void
397  setPrefix(const XalanDOMString& prefix);
398 
399  virtual bool
400  isIndexed() const;
401 
402  virtual IndexType
403  getIndex() const;
404 
406 
407  // These interfaces are inherited from XalanProcessingInstruction...
408 
410 
418  virtual const XalanDOMString&
419  getTarget() const;
420 
430  virtual const XalanDOMString&
431  getData() const;
432 
434 
444  virtual void
445  setData(const XalanDOMString& data);
447 
455  {
456  return m_xercesNode;
457  }
458 
459 private:
460 
461  // Not implemented...
463 
466 
467  bool
468  operator==(const XercesProcessingInstructionBridge& theRHS) const;
469 
470  // Data members...
471  DOM_ProcessingInstructionType m_xercesNode;
472 
473  const XercesBridgeNavigator& m_navigator;
474 };
475 
476 
477 
478 XALAN_CPP_NAMESPACE_END
479 
480 
481 
482 #endif // !defined(XERCESPROCESSINGINSTRUCTIONBRIDGE_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