All Packages Class Hierarchy This Package Previous Next Index
Class w3c.xmlOnline.tree.PI
java.lang.Object
|
+----w3c.xmlOnline.tree.Node
|
+----w3c.xmlOnline.tree.PI
- public class PI
- extends Node
A node in the XML tree representing a PI (processing
instruction). The PI is represented as just a single string
(everything between the `<?' and `?>').
- Version:
- $Id: w3c.xmlOnline.tree.PI.html,v 1.7 1997/06/09 22:26:08 bbos Exp $
- Author:
- Bert Bos
-
PI(Node, String, int)
- Create a new PI node, with the given content
-
data()
- Return the content of the PI.
-
dumpTree(PrintStream)
- A method to write out the content of
the node in correct XML synyax: <?...?>
PI
public PI(Node parent,
String s,
int nr)
- Create a new PI node, with the given content
- Parameters:
- parent - the parent node
- s - the content of the PI
- nr - the sequence number of the node in the tree
- Returns:
- the new PI node
data
public String data()
- Return the content of the PI.
- Returns:
- the content of the PI
dumpTree
public void dumpTree(PrintStream out)
- A method to write out the content of
the node in correct XML synyax: <?...?>
- Parameters:
- out - the PrintStream to write on
- Overrides:
- dumpTree in class Node
All Packages Class Hierarchy This Package Previous Next Index