http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Installation
Build

API Docs
Samples
Programming
Migration
FAQs

Releases
Feedback

PDF Document

Download
Dev Snapshots
CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ParentNode.hpp File Reference

Include dependency graph for ParentNode.hpp:

Go to the source code of this file.

Compounds

class  ParentNode

Defines

#define THIS_CLASS   ParentNode
 ParentNode inherits from NodeImpl and adds the capability of having child nodes. More...

#define PARENT_CLASS   NodeImpl


Define Documentation

#define PARENT_CLASS   NodeImpl

#define THIS_CLASS   ParentNode

ParentNode inherits from NodeImpl and adds the capability of having child nodes.

Not every node in the DOM can have children, so only nodes that can should inherit from this class and pay the price for it.

While we have a direct reference to the first child, the last child is stored as the previous sibling of the first child. First child nodes are marked as being so, and getNextSibling hides this fact.



Copyright © 2000 The Apache Software Foundation. All Rights Reserved.