Main Page | Packages | Class Hierarchy | Class List | File List | Class Members

treebuilder.TextNode Class Reference

Inheritance diagram for treebuilder.TextNode:

Inheritance graph
[legend]
Collaboration diagram for treebuilder.TextNode:

Collaboration graph
[legend]
List of all members.

Detailed Description

TextNode Sep 19, 2004.

An XML text node. "Text" in XML consists of the characters between two tags. This may be white space.

Author:
Ian Kaplan, www.bearcave.com, iank@bearcave.com


Public Member Functions

 TextNode (String text)
 TextNode (TreeNodeType ty, String text)
 Used for building COMMENT nodes.
String getText ()
String toString ()

Private Attributes

String mText = null


Constructor & Destructor Documentation

treebuilder.TextNode.TextNode String  text  ) 
 

Parameters:
ty 
00032 { 00033 super(TreeNodeType.TEXT); 00034 mText = text; 00035 }

treebuilder.TextNode.TextNode TreeNodeType  ty,
String  text
 

Used for building COMMENT nodes.

Like text nodes, comment nodes basicly consist of a String.

00041 { 00042 super(ty); 00043 mText = text; 00044 }


Member Function Documentation

String treebuilder.TextNode.getText  ) 
 

00046 { return mText; }

String treebuilder.TextNode.toString  )  [virtual]
 

Implements treebuilder.TreeNode.

00048 { 00049 return mText; 00050 }


Member Data Documentation

String treebuilder.TextNode.mText = null [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Sep 21 22:08:43 2004 for Building an in-memory tree using the XmlPullParser by doxygen 1.3.8