<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Mon Jun 09 23:45:36 GMT+03:30 1997 -->
<title>
  Class w3c.xmlOnline.tree.Data
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-w3c.xmlOnline.tree.html">This Package</a>  <a href="w3c.xmlOnline.tree.Comment.html#_top_">Previous</a>  <a href="w3c.xmlOnline.tree.Element.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class w3c.xmlOnline.tree.Data
</h1>
<pre>
java.lang.Object
   |
   +----<a href="w3c.xmlOnline.tree.Node.html#_top_">w3c.xmlOnline.tree.Node</a>
           |
           +----w3c.xmlOnline.tree.Data
</pre>
<hr>
<dl>
  <dt> public class <b>Data</b>
  <dt> extends <a href="w3c.xmlOnline.tree.Node.html#_top_">Node</a>
</dl>
A class that represents a text chunk in the XML tree.
 On creation, the data is the empty string and new data
 can be appended.
<p>
<dl>
  <dt> <b>Version:</b>
  <dd> $Id: w3c.xmlOnline.tree.Data.html,v 1.7 1997/06/09 22:25:43 bbos Exp $
  <dt> <b>Author:</b>
  <dd> Bert Bos
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Data(w3c.xmlOnline.tree.Node, java.lang.String, int)"><b>Data</b></a>(Node, String, int)
  <dd>  Create a new Data node, given its parent Node.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#addData(java.lang.String)"><b>addData</b></a>(String)
  <dd>  Add new data to the end of the content of this data node.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#data()"><b>data</b></a>()
  <dd>  Return the data content of this node.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#dumpTree(java.io.PrintStream)"><b>dumpTree</b></a>(PrintStream)
  <dd>  A method to write out the content of
 the node in correct XML syntax.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Data"></a>
<a name="Data(w3c.xmlOnline.tree.Node, java.lang.String, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Data</b>
<pre>
 public Data(<a href="w3c.xmlOnline.tree.Node.html#_top_">Node</a> parent,
             String data,
             int nr)
</pre>
<dl>
  <dd> Create a new Data node, given its parent Node.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> parent - the parent node
    <dd> data - the data content
    <dd> nr - the sequence number of the node in the tree
    <dt> <b>Returns:</b>
    <dd> the new Data node
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="addData(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="addData"><b>addData</b></a>
<pre>
 public <a href="#_top_">Data</a> addData(String s)
</pre>
<dl>
  <dd> Add new data to the end of the content of this data node.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> s - the data to append
    <dt> <b>Returns:</b>
    <dd> this
  </dl></dd>
</dl>
<a name="data()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="data"><b>data</b></a>
<pre>
 public String data()
</pre>
<dl>
  <dd> Return the data content of this node.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the data content of this node
  </dl></dd>
</dl>
<a name="dumpTree(java.io.PrintStream)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="dumpTree"><b>dumpTree</b></a>
<pre>
 public void dumpTree(PrintStream out)
</pre>
<dl>
  <dd> A method to write out the content of
 the node in correct XML syntax.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> out - the PrintStream to write on
    <dt> <b>Overrides:</b>
    <dd> <a href="w3c.xmlOnline.tree.Node.html#dumpTree(java.io.PrintStream)">dumpTree</a> in class <a href="w3c.xmlOnline.tree.Node.html#_top_">Node</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-w3c.xmlOnline.tree.html">This Package</a>  <a href="w3c.xmlOnline.tree.Comment.html#_top_">Previous</a>  <a href="w3c.xmlOnline.tree.Element.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
