Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XercesDocumentBridge.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(XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680)
19 #define XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
26 
29 
30 
31 
32 #if XERCES_VERSION_MAJOR >= 2
33 #include <xercesc/dom/deprecated/DOM_Document.hpp>
34 #else
35 #include <xercesc/dom/DOM_Document.hpp>
36 #endif
37 
38 
39 
41 
42 
43 
44 #if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION)
47 #endif
48 
49 
50 
52 
53 
54 
56 
57 
58 
66 
67 
68 
69 XALAN_CPP_NAMESPACE_BEGIN
70 
71 
72 
73 class XalanDOMStringPool;
74 class XercesAttrBridge;
80 class XercesEntityBridge;
84 class XercesTextBridge;
85 
86 
87 /**
88  * This class is deprecated.
89  *
90  * @deprecated This class is part of the deprecated Xerces DOM bridge.
91  */
93 {
94 public:
95 
96  friend class XercesBridgeNavigator;
97 
98  /**
99  *
100  * Constructor for XercesDocumentBridge.
101  *
102  * If the document will be shared amongst multiple threads of execution,
103  * the parameter buildBridge must be true. Otherwise, the bridge
104  * nodes will be built on demand, a process which is not synchronized.
105  * This could cause serious problems if multiple threads tried to visit
106  * an unbuilt node at the same time.
107  *
108  * @param theXercesDocument The Xerces document to bridge
109  * @param threadSafe If true, the tree can safely be shared amongst multiple threads. (Also implies buildBridge == true)
110  * @param buildBridge If true, all of the bridge nodes will be built during construction.
111  *
112  */
114  const DOM_Document_Type& theXercesDocument,
115  bool threadSafe = true,
116  bool buildBridge = true);
117 
118  virtual
120 
121  // These interfaces are inherited from XalanNode...
122 
123  virtual const XalanDOMString&
124  getNodeName() const;
125 
126  virtual const XalanDOMString&
127  getNodeValue() const;
128 
129  virtual NodeType
130  getNodeType() const;
131 
132  virtual XalanNode*
133  getParentNode() const;
134 
135  virtual const XalanNodeList*
136  getChildNodes() const;
137 
138  virtual XalanNode*
139  getFirstChild() const;
140 
141  virtual XalanNode*
142  getLastChild() const;
143 
144  virtual XalanNode*
146 
147  virtual XalanNode*
148  getNextSibling() const;
149 
150  virtual const XalanNamedNodeMap*
151  getAttributes() const;
152 
153  virtual XalanDocument*
155 
156 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
157  virtual XalanNode*
158 #else
159  virtual XercesDocumentBridge*
160 #endif
161  cloneNode(bool deep) const;
162 
163  virtual XalanNode*
165  XalanNode* newChild,
166  XalanNode* refChild);
167 
168  virtual XalanNode*
170  XalanNode* newChild,
171  XalanNode* oldChild);
172 
173  virtual XalanNode*
174  removeChild(XalanNode* oldChild);
175 
176  virtual XalanNode*
177  appendChild(XalanNode* newChild);
178 
179  virtual bool
180  hasChildNodes() const;
181 
182  virtual void
183  setNodeValue(const XalanDOMString& nodeValue);
184 
185  virtual void
187 
188  virtual bool
190  const XalanDOMString& feature,
191  const XalanDOMString& version) const;
192 
193  virtual const XalanDOMString&
195 
196  virtual const XalanDOMString&
197  getPrefix() const;
198 
199  virtual const XalanDOMString&
200  getLocalName() const;
201 
202  virtual void
203  setPrefix(const XalanDOMString& prefix);
204 
205  virtual bool
206  isIndexed() const;
207 
208  virtual IndexType
209  getIndex() const;
210 
211  virtual XalanElement*
212  createElement(const XalanDOMString& tagName);
213 
214  virtual XalanDocumentFragment*
216 
217  virtual XalanText*
219 
220  virtual XalanComment*
222 
223  virtual XalanCDATASection*
225 
228  const XalanDOMString& target,
229  const XalanDOMString& data);
230 
231  virtual XalanAttr*
233 
234  virtual XalanEntityReference*
236 
237  virtual XalanDocumentType*
238  getDoctype() const;
239 
240  virtual XalanDOMImplementation*
242 
243  virtual XalanElement*
245 
246  virtual XalanNodeList*
247  getElementsByTagName(const XalanDOMString& tagname) const;
248 
249  virtual XalanNode*
251  XalanNode* importedNode,
252  bool deep);
253 
254  virtual XalanElement*
256  const XalanDOMString& namespaceURI,
257  const XalanDOMString& qualifiedName);
258 
259  virtual XalanAttr*
261  const XalanDOMString& namespaceURI,
262  const XalanDOMString& qualifiedName);
263 
264  virtual XalanNodeList*
266  const XalanDOMString& namespaceURI,
267  const XalanDOMString& localName) const;
268 
269  virtual XalanElement*
270  getElementById(const XalanDOMString& elementId) const;
271 
272  // These are some special interfaces to manage relationships between
273  // our nodes and Xerces nodes.
274 
275  /**
276  * Destroy the entire bridge structure that connects
277  * the Xerces document to this XercesDocumentBridge
278  * instance. This will invalidate any pointers to
279  * any nodes in the document (except, of course, the
280  * document itself).
281  */
282  void
284 
285  /**
286  * Rebuild the entire bridge structure that connects
287  * the Xerces document to this XercesDocumentBridge
288  * instance. This destroys the bridge before
289  * rebuilding.
290  */
291  void
293 
294  XalanNode*
295  mapNode(const DOM_NodeType& theXercesNode) const;
296 
297  XalanAttr*
298  mapNode(const DOM_AttrType& theXercesNode) const;
299 
300  XalanElement*
301  mapNode(const DOM_ElementType& theXercesNode) const;
302 
304  mapNode(const XalanNode* theXalanNode) const;
305 
307  mapNode(const XalanAttr* theXalanNode) const;
308 
309  NodeImplType*
310  mapNodeToImpl(const XalanNode* theXalanNode) const;
311 
312  /**
313  *
314  * Get the Xerces DOM_Document that this XercesDocument represents.
315  *
316  * @return the Xerces DOM_Document instance.
317  *
318  */
321  {
322  return m_xercesDocument;
323  }
324 
325  /**
326  * Build the entire bridge structure. This should be done before any
327  * processing begins, if the tree will be shared amongst multiple
328  * threads.
329  */
330  void
332 
333 
336 
337 
338  // Helper class to walk the tree and build everything...
340  {
341  public:
342 
344 
346  XercesDocumentBridge* theDocument,
347  XercesBridgeNavigator* theDocumentNavigator,
348  NavigatorBridgeVectorInnerType& theNavigators,
349  IndexType theStartIndex);
350 
351  virtual
353 
355  {
357  XercesBridgeNavigator* theNavigator = 0,
358  XalanNode* theNode = 0) :
359  m_navigator(theNavigator),
360  m_node(theNode)
361  {
362  }
363 
365 
367  };
368 
369 
371 
372  protected:
373 
374  virtual void
375  startNode(const DOM_NodeType& node);
376 
377  virtual void
378  endNode(const DOM_NodeType& node);
379 
380  private:
381 
382  XercesDocumentBridge* m_document;
383 
384  NavigatorBridgeVectorInnerType& m_navigators;
385 
386  IndexType m_currentIndex;
387 
388  NavigatorStackType m_parentNavigatorStack;
389 
390  NavigatorStackType m_siblingNavigatorStack;
391  };
392 
393 
394  /**
395  * Get a pooled string. If the string is not in the pool,
396  * add it.
397  *
398  * @param theString The string to pool.
399  * @return A const reference to the pooled string.
400  */
401  const XalanDOMString&
402  getPooledString(const XalanDOMString& theString) const;
403 
404  /**
405  * Get a pooled string. If the string is not in the pool,
406  * add it.
407  *
408  * @param theString The string to pool.
409  * @param theLength The length of the string. If XalanDOMString::npos, the string is assumed to be null-terminated.
410  * @return A const reference to the pooled string.
411  */
412  const XalanDOMString&
414  const XalanDOMChar* theString,
415  XalanDOMString::size_type theLength /* = XalanDOMString::npos */) const;
416 
417 private:
418 
419  XalanNode*
420  mapNode(NodeImplType* theXercesNodeImpl) const;
421 
422  // Destruction API...
423  void
424  destroyBridgeNode(XalanNode* theNode);
425 
426  // Not implemented...
427  XercesDocumentBridge(const XercesDocumentBridge& theSource);
428 
430  operator=(const XercesDocumentBridge& theRHS);
431 
432  bool
433  operator==(const XercesDocumentBridge& theRHS) const;
434 
435  // Private delete function...
436  void
437  destroyNode(XalanNode* theNode);
438 
439  // More internal implementation stuff...
440  XalanNode*
441  internalCloneNode(
442  const XalanNode* theXalanNode,
443  const DOM_NodeType& theXercesNode,
444  bool deep);
445 
446  // Factory methods for our implementation nodes...
447  XalanNode*
448  createBridgeNode(
449  const DOM_NodeType& theXercesNode,
450  IndexType theIndex,
451  bool mapNode) const;
452 
454  createBridgeNode(
455  const DOM_DocumentType_Type& theDoctype,
456  IndexType theIndex,
457  bool mapNode) const;
458 
460  createBridgeNode(
461  const DOM_ElementType& theXercesNode,
462  IndexType theIndex,
463  bool mapNode) const;
464 
466  createBridgeNode(
467  const DOM_DocumentFragmentType& theXercesNode,
468  IndexType theIndex,
469  bool mapNode) const;
470 
472  createBridgeNode(
473  const DOM_TextType& theXercesNode,
474  IndexType theIndex,
475  bool mapNode) const;
476 
478  createBridgeNode(
479  const DOM_CommentType& theXercesNode,
480  IndexType theIndex,
481  bool mapNode) const;
482 
484  createBridgeNode(
485  const DOM_CDATASectionType& theXercesNode,
486  IndexType theIndex,
487  bool mapNode) const;
488 
490  createBridgeNode(
491  const DOM_ProcessingInstructionType& theXercesNode,
492  IndexType theIndex,
493  bool mapNode) const;
494 
496  createBridgeNode(
497  const DOM_AttrType& theXercesNode,
498  IndexType theIndex,
499  bool mapNode) const;
500 
502  createBridgeNode(
503  const DOM_EntityType& theXercesNode,
504  IndexType theIndex,
505  bool mapNode) const;
506 
508  createBridgeNode(
509  const DOM_EntityReferenceType& theXercesNode,
510  IndexType theIndex,
511  bool mapNode) const;
512 
514  createBridgeNode(
515  const DOM_NotationType& theXercesNode,
516  IndexType theIndex,
517  bool mapNode) const;
518 
520  pushNavigator(bool mappingMode) const;
521 
522  // This is a private helper class for building the tree...
523  friend class BuildBridgeTreeWalker;
524 
525  // $$$ ToDo: This is because DOM_Document::getElementById() is not
526  // const...
527  mutable DOM_Document_Type m_xercesDocument;
528 
529  XalanElement* m_documentElement;
530 
531  mutable XercesToXalanNodeMap m_nodeMap;
532 
533  XalanAutoPtr<XalanDOMImplementation> m_domImplementation;
534 
535  mutable NavigatorBridgeVectorType m_navigators;
536 
537  // Our navigator will be the first entry in m_navigators,
538  // but we'll cache this so access is faster...
539  XercesBridgeNavigator* m_navigator;
540 
541  XercesNodeListBridge m_children;
542 
543  mutable NodeVectorType m_nodes;
544 
545  mutable XercesDocumentTypeBridge* m_doctype;
546 
547  bool m_mappingMode;
548 
549  bool m_indexValid;
550 
551  mutable XercesElementBridgeAllocator m_elementAllocator;
552 
553  mutable XercesTextBridgeAllocator m_textAllocator;
554 
555  mutable XercesAttributeBridgeAllocator m_attributeAllocator;
556 
557  const XalanAutoPtr<XalanDOMStringPool> m_stringPool;
558 };
559 
560 
561 
562 XALAN_CPP_NAMESPACE_END
563 
564 
565 
566 #endif // !defined(XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680)
XalanNode::NodeType
NodeType
Definition: XalanNode.hpp:48
XercesDocumentBridge::cloneNode
virtual XercesDocumentBridge * cloneNode(bool deep) const
XercesDocumentBridge::getNodeName
virtual const XalanDOMString & getNodeName() const
Gets the name of this node, depending on its type.
XercesDocumentBridge::hasChildNodes
virtual bool hasChildNodes() const
XercesDocumentBridge::getElementsByTagNameNS
virtual XalanNodeList * getElementsByTagNameNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const
XercesDocumentBridge::getFirstChild
virtual XalanNode * getFirstChild() const
Gets the first child of this node.
XercesDocumentBridge::BuildBridgeTreeWalker::NavigatorStackType
XalanVector< NavigatorStackEntryType > NavigatorStackType
Definition: XercesDocumentBridge.hpp:370
XercesDocumentBridge::NavigatorBridgeVectorType
XalanDeque< XercesBridgeNavigator > NavigatorBridgeVectorType
Definition: XercesDocumentBridge.hpp:334
XercesDocumentBridge::BuildBridgeTreeWalker
Definition: XercesDocumentBridge.hpp:340
XercesDocumentBridge::setNodeValue
virtual void setNodeValue(const XalanDOMString &nodeValue)
XercesDocumentBridge::getDocumentElement
virtual XalanElement * getDocumentElement() const
Return a reference to the root element of the document.
XercesBridgeNavigator
This class is deprecated.
Definition: XercesBridgeNavigator.hpp:56
XercesDocumentBridge::appendChild
virtual XalanNode * appendChild(XalanNode *newChild)
XalanDOMStringPool
Definition: XalanDOMStringPool.hpp:40
DOM_TextType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Text DOM_TextType
Definition: XercesBridgeTypes.hpp:72
XercesDocumentBridge::getPooledString
const XalanDOMString & getPooledString(const XalanDOMString &theString) const
Get a pooled string.
XercesDocumentBridge::getXercesDocument
DOM_Document_Type getXercesDocument() const
Get the Xerces DOM_Document that this XercesDocument represents.
Definition: XercesDocumentBridge.hpp:320
XercesDocumentBridge::createCDATASection
virtual XalanCDATASection * createCDATASection(const XalanDOMString &data)
XalanDOMString::size_type
XalanSize_t size_type
Definition: XalanDOMString.hpp:57
DOM_AttrType
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER DOM_Attr DOM_AttrType
Definition: XercesBridgeTypes.hpp:59
XalanDocument
Definition: XalanDocument.hpp:37
XercesDocumentBridge::NodeVectorType
XalanDeque< XalanNode * > NodeVectorType
Definition: XercesDocumentBridge.hpp:335
XalanDeque< XercesBridgeNavigator >
XercesDocumentBridge::rebuildBridge
void rebuildBridge()
Rebuild the entire bridge structure that connects the Xerces document to this XercesDocumentBridge in...
XercesDocumentBridge::createElementNS
virtual XalanElement * createElementNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName)
XercesDocumentTypeBridge
This class is deprecated.
Definition: XercesDocumentTypeBridge.hpp:58
XalanAttr
Definition: XalanAttr.hpp:41
NodeImplType
XERCES_CPP_NAMESPACE_QUALIFIER NodeImpl NodeImplType
Definition: XercesBridgeTypes.hpp:81
XalanDocumentFragment
Definition: XalanDocumentFragment.hpp:33
XalanText
Definition: XalanText.hpp:41
XercesDocumentBridge::normalize
virtual void normalize()
XercesNotationBridge
This class is deprecated.
Definition: XercesNotationBridge.hpp:56
XercesTreeWalker.hpp
XalanDocumentType
Definition: XalanDocumentType.hpp:41
XercesDocumentBridge::XercesDocumentBridge
XercesDocumentBridge(const DOM_Document_Type &theXercesDocument, bool threadSafe=true, bool buildBridge=true)
Constructor for XercesDocumentBridge.
XercesDocumentBridge::createComment
virtual XalanComment * createComment(const XalanDOMString &data)
XalanEntityReference
Definition: XalanEntityReference.hpp:41
XalanCDATASection
Definition: XalanCDATASection.hpp:33
XalanDeque.hpp
XercesDocumentBridge::mapNode
DOM_AttrType mapNode(const XalanAttr *theXalanNode) const
XercesDocumentBridge::BuildBridgeTreeWalker::NavigatorStackEntryType::NavigatorStackEntryType
NavigatorStackEntryType(XercesBridgeNavigator *theNavigator=0, XalanNode *theNode=0)
Definition: XercesDocumentBridge.hpp:356
XercesDocumentBridge::getNodeType
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
XercesDocumentBridge::createTextNode
virtual XalanText * createTextNode(const XalanDOMString &data)
DOM_NodeType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Node DOM_NodeType
Definition: XercesBridgeTypes.hpp:71
XalanElement
Definition: XalanElement.hpp:45
XercesDocumentBridge::createAttributeNS
virtual XalanAttr * createAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName)
XalanVector.hpp
XercesDocumentBridge::BuildBridgeTreeWalker::startNode
virtual void startNode(const DOM_NodeType &node)
DOM_EntityReferenceType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_EntityReference DOM_EntityReferenceType
Definition: XercesBridgeTypes.hpp:70
XalanNode::IndexType
unsigned long IndexType
Definition: XalanNode.hpp:64
XercesDocumentBridge::getNextSibling
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
XercesCDATASectionBridge
This class is deprecated.
Definition: XercesCDATASectionBridge.hpp:56
XercesDocumentBridge::removeChild
virtual XalanNode * removeChild(XalanNode *oldChild)
XercesDocumentBridge::BuildBridgeTreeWalker::endNode
virtual void endNode(const DOM_NodeType &node)
XalanDocument::operator=
XalanDocument & operator=(const XalanDocument &theSource)
XercesDocumentBridge::getOwnerDocument
virtual XalanDocument * getOwnerDocument() const
Gets the Document object associated with this node.
XercesTextBridgeAllocator.hpp
XercesDocumentBridge::getAttributes
virtual const XalanNamedNodeMap * getAttributes() const
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
XercesElementBridgeAllocator.hpp
XercesDocumentBridge::createAttribute
virtual XalanAttr * createAttribute(const XalanDOMString &name)
XercesDocumentBridge::getDoctype
virtual XalanDocumentType * getDoctype() const
XercesDocumentBridge::buildBridgeNodes
void buildBridgeNodes()
Build the entire bridge structure.
XercesDocumentFragmentBridge
This class is deprecated.
Definition: XercesDocumentFragmentBridge.hpp:56
XalanDOMImplementation.hpp
DOM_CDATASectionType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_CDATASection DOM_CDATASectionType
Definition: XercesBridgeTypes.hpp:62
XercesDocumentBridge::createEntityReference
virtual XalanEntityReference * createEntityReference(const XalanDOMString &name)
XalanNodeList
Definition: XalanNodeList.hpp:37
XercesDocumentBridge::isSupported
virtual bool isSupported(const XalanDOMString &feature, const XalanDOMString &version) const
DOM_DocumentType_Type
XERCES_CPP_NAMESPACE_QUALIFIER DOM_DocumentType DOM_DocumentType_Type
Definition: XercesBridgeTypes.hpp:64
XercesDocumentBridge::BuildBridgeTreeWalker::NavigatorStackEntryType::m_navigator
XercesBridgeNavigator * m_navigator
Definition: XercesDocumentBridge.hpp:364
XercesDocumentBridge::importNode
virtual XalanNode * importNode(XalanNode *importedNode, bool deep)
XercesParserLiaisonDefinitions.hpp
XercesDocumentBridge::mapNodeToImpl
NodeImplType * mapNodeToImpl(const XalanNode *theXalanNode) const
XercesDocumentBridge::~XercesDocumentBridge
virtual ~XercesDocumentBridge()
DOM_CommentType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Comment DOM_CommentType
Definition: XercesBridgeTypes.hpp:61
XercesDocumentBridge::createDocumentFragment
virtual XalanDocumentFragment * createDocumentFragment()
DOM_NotationType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Notation DOM_NotationType
Definition: XercesBridgeTypes.hpp:75
DOM_DocumentFragmentType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_DocumentFragment DOM_DocumentFragmentType
Definition: XercesBridgeTypes.hpp:66
XercesTextBridge
This class is deprecated.
Definition: XercesTextBridge.hpp:55
XalanAutoPtr.hpp
XercesCommentBridge
This class is deprecated.
Definition: XercesCommentBridge.hpp:56
XercesDocumentBridge::createProcessingInstruction
virtual XalanProcessingInstruction * createProcessingInstruction(const XalanDOMString &target, const XalanDOMString &data)
XalanVector< NavigatorStackEntryType >
XercesDocumentBridge::getNamespaceURI
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node, or null if it is unspecified.
XalanDOMString
Definition: XalanDOMString.hpp:46
XalanDocument.hpp
XercesAttributeBridgeAllocator.hpp
DOM_Document_Type
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Document DOM_Document_Type
Definition: XercesBridgeTypes.hpp:65
XercesProcessingInstructionBridge
This class is deprecated.
Definition: XercesProcessingInstructionBridge.hpp:56
XercesTreeWalker
This class is deprecated.
Definition: XercesTreeWalker.hpp:39
XercesDocumentBridge::BuildBridgeTreeWalker::BuildBridgeTreeWalker
BuildBridgeTreeWalker(XercesDocumentBridge *theDocument, XercesBridgeNavigator *theDocumentNavigator, NavigatorBridgeVectorInnerType &theNavigators, IndexType theStartIndex)
XercesDocumentBridge::getChildNodes
virtual const XalanNodeList * getChildNodes() const
Gets a NodeList that contains all children of this node.
XercesDocumentBridge
This class is deprecated.
Definition: XercesDocumentBridge.hpp:93
XALAN_XERCESPARSERLIAISON_EXPORT
#define XALAN_XERCESPARSERLIAISON_EXPORT
Definition: XercesParserLiaisonDefinitions.hpp:39
XalanDOMStringPool.hpp
XercesDocumentBridge::destroyBridge
void destroyBridge()
Destroy the entire bridge structure that connects the Xerces document to this XercesDocumentBridge in...
XercesDocumentBridge::getPooledString
const XalanDOMString & getPooledString(const XalanDOMChar *theString, XalanDOMString::size_type theLength) const
Get a pooled string.
XercesDocumentBridge::getIndex
virtual IndexType getIndex() const
Get the node's index.
TreeWalker.hpp
XercesDocumentBridge::getElementsByTagName
virtual XalanNodeList * getElementsByTagName(const XalanDOMString &tagname) const
XercesToXalanNodeMap
This class is deprecated.
Definition: XercesToXalanNodeMap.hpp:60
XalanAutoPtr< XalanDOMImplementation >
XercesDocumentBridge::getElementById
virtual XalanElement * getElementById(const XalanDOMString &elementId) const
Returns the Element whose ID is given by elementId.
XercesDocumentBridge::BuildBridgeTreeWalker::NavigatorStackEntryType
Definition: XercesDocumentBridge.hpp:355
XercesDocumentBridge::getLastChild
virtual XalanNode * getLastChild() const
Gets the last child of this node.
DOM_ElementType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Element DOM_ElementType
Definition: XercesBridgeTypes.hpp:68
XalanComment
Definition: XalanComment.hpp:33
DOM_ProcessingInstructionType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_ProcessingInstruction DOM_ProcessingInstructionType
Definition: XercesBridgeTypes.hpp:76
XercesToXalanNodeMap.hpp
XercesElementBridge
This class is deprecated.
Definition: XercesElementBridge.hpp:62
XercesEntityBridge
This class is deprecated.
Definition: XercesEntityBridge.hpp:56
XalanDOMImplementation
Definition: XalanDOMImplementation.hpp:46
XercesDocumentBridge::isIndexed
virtual bool isIndexed() const
Determine if the document is node-order indexed.
XercesAttributeBridgeAllocator
This class is deprecated.
Definition: XercesAttributeBridgeAllocator.hpp:45
XercesDocumentBridge::getImplementation
virtual XalanDOMImplementation * getImplementation() const
XercesDocumentBridge::replaceChild
virtual XalanNode * replaceChild(XalanNode *newChild, XalanNode *oldChild)
XercesDocumentBridge::getNodeValue
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
XercesDocumentBridge::BuildBridgeTreeWalker::~BuildBridgeTreeWalker
virtual ~BuildBridgeTreeWalker()
XercesDocumentBridge::BuildBridgeTreeWalker::NavigatorStackEntryType::m_node
XalanNode * m_node
Definition: XercesDocumentBridge.hpp:366
XercesNodeListBridge.hpp
DOM_EntityType
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Entity DOM_EntityType
Definition: XercesBridgeTypes.hpp:69
XercesNodeListBridge
This class is deprecated.
Definition: XercesNodeListBridge.hpp:56
XercesDocumentBridge::setPrefix
virtual void setPrefix(const XalanDOMString &prefix)
XercesDocumentBridge::insertBefore
virtual XalanNode * insertBefore(XalanNode *newChild, XalanNode *refChild)
XalanDocument::operator==
bool operator==(const XalanDocument &theRHS) const
XercesBridgeNavigator.hpp
XalanNode
Definition: XalanNode.hpp:39
XercesDocumentBridge::getPrefix
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node, or null if it is unspecified.
XercesDocumentBridge::getLocalName
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
XercesTextBridgeAllocator
This class is deprecated.
Definition: XercesTextBridgeAllocator.hpp:45
XercesAttrBridge
This class is deprecated.
Definition: XercesAttrBridge.hpp:58
XercesDocumentBridge::mapNode
DOM_NodeType mapNode(const XalanNode *theXalanNode) const
XercesDocumentBridge::BuildBridgeTreeWalker::NavigatorBridgeVectorInnerType
NavigatorBridgeVectorType NavigatorBridgeVectorInnerType
Definition: XercesDocumentBridge.hpp:343
XercesDocumentBridge::getPreviousSibling
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.
XercesDocumentBridge::createElement
virtual XalanElement * createElement(const XalanDOMString &tagName)
XercesDocumentBridge::mapNode
XalanAttr * mapNode(const DOM_AttrType &theXercesNode) const
XercesElementBridgeAllocator
This class is deprecated.
Definition: XercesElementBridgeAllocator.hpp:45
XercesEntityReferenceBridge
This class is deprecated.
Definition: XercesEntityReferenceBridge.hpp:57
XercesDocumentBridge::mapNode
XalanNode * mapNode(const DOM_NodeType &theXercesNode) const
XalanNamedNodeMap
Definition: XalanNamedNodeMap.hpp:37
XercesDocumentBridge::getParentNode
virtual XalanNode * getParentNode() const
Gets the parent of this node.
XercesDocumentBridge::mapNode
XalanElement * mapNode(const DOM_ElementType &theXercesNode) const
XalanProcessingInstruction
Definition: XalanProcessingInstruction.hpp:33

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