All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.xml.parser.Child

java.lang.Object
   |
   +----com.ibm.xml.parser.Child

public abstract class Child
extends Object
implements Node, Cloneable
Version:
19980203
See Also:
TXText, TXComment, TXPI, TXCDATASection, TXNotation, Parent

Constructor Index

 o Child()

Method Index

 o clone()
Clone object.
 o getChildren()
[DOM] Return null
 o getFirstChild()
[DOM] Return null
 o getNextSibling()
[DOM]
 o getNodeType()
 o getParentNode()
[DOM] Return a parent of this.
 o getPreviousSibling()
[DOM]
 o getText()
Print all text included in this element.
 o hasChildren()
[DOM] Return false
 o insertBefore(Node, Node)
[DOM] Do nothing
 o print(PrintWriter, int)
Print this Element in XML format, indented by indent spaces.
 o print(PrintWriter, String, int)
Print this Element in XML format, indented by indent spaces.
 o printSpace(PrintWriter, int)
Print n spaces.
 o removeChild(Node)
[DOM] Do nothing.
 o replaceChild(Node, Node)
[DOM] Do nothing.

Constructors

 o Child
 public Child()

Methods

 o clone
 public abstract Object clone()
Clone object.

Overrides:
clone in class Object
 o print
 public void print(PrintWriter pw,
                   int indent)
Print this Element in XML format, indented by indent spaces.

 o print
 public abstract void print(PrintWriter pw,
                            String enc,
                            int indent)
Print this Element in XML format, indented by indent spaces.

Parameters:
enc - Encoding name
 o printSpace
 public static void printSpace(PrintWriter pw,
                               int n)
Print n spaces.

 o getText
 public abstract String getText()
Print all text included in this element.

 o getParentNode
 public Node getParentNode()
[DOM] Return a parent of this.

 o getChildren
 public NodeList getChildren()
[DOM] Return null

 o hasChildren
 public boolean hasChildren()
[DOM] Return false

 o getFirstChild
 public Node getFirstChild()
[DOM] Return null

 o getPreviousSibling
 public Node getPreviousSibling()
[DOM]

 o getNextSibling
 public Node getNextSibling()
[DOM]

 o insertBefore
 public void insertBefore(Node newChild,
                          Node refChild) throws NotMyChildException
[DOM] Do nothing

 o replaceChild
 public Node replaceChild(Node oldChild,
                          Node newChild) throws NotMyChildException
[DOM] Do nothing. Return oldChild.

 o removeChild
 public Node removeChild(Node oldChild) throws NotMyChildException
[DOM] Do nothing. Return oldChild.


All Packages  Class Hierarchy  This Package  Previous  Next  Index