<!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.PI
</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.Node.html#_top_">Previous</a>  <a href="w3c.xmlOnline.tree.Root.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class w3c.xmlOnline.tree.PI
</h1>
<pre>
java.lang.Object
   |
   +----<a href="w3c.xmlOnline.tree.Node.html#_top_">w3c.xmlOnline.tree.Node</a>
           |
           +----w3c.xmlOnline.tree.PI
</pre>
<hr>
<dl>
  <dt> public class <b>PI</b>
  <dt> extends <a href="w3c.xmlOnline.tree.Node.html#_top_">Node</a>
</dl>
A node in the XML tree representing a PI (processing
 instruction). The PI is represented as just a single string
 (everything between the `&lt;?' and `?&gt;').
<p>
<dl>
  <dt> <b>Version:</b>
  <dd> $Id: w3c.xmlOnline.tree.PI.html,v 1.7 1997/06/09 22:26:08 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="#PI(w3c.xmlOnline.tree.Node, java.lang.String, int)"><b>PI</b></a>(Node, String, int)
  <dd>  Create a new PI node, with the given content
 
</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="#data()"><b>data</b></a>()
  <dd>  Return the content of the PI.
  <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 synyax: &lt;?...?&gt;
 
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="PI"></a>
<a name="PI(w3c.xmlOnline.tree.Node, java.lang.String, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>PI</b>
<pre>
 public PI(<a href="w3c.xmlOnline.tree.Node.html#_top_">Node</a> parent,
           String s,
           int nr)
</pre>
<dl>
  <dd> Create a new PI node, with the given content
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> parent - the parent node
    <dd> s - the content of the PI
    <dd> nr - the sequence number of the node in the tree
    <dt> <b>Returns:</b>
    <dd> the new PI node
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<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 content of the PI.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the content of the PI
  </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 synyax: &lt;?...?&gt;
<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.Node.html#_top_">Previous</a>  <a href="w3c.xmlOnline.tree.Root.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
