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
-
Child()
-
-
clone()
- Clone object.
-
getChildren()
- [DOM] Return
null
-
getFirstChild()
- [DOM] Return
null
-
getNextSibling()
- [DOM]
-
getNodeType()
-
-
getParentNode()
- [DOM] Return a parent of this.
-
getPreviousSibling()
- [DOM]
-
getText()
- Print all text included in this element.
-
hasChildren()
- [DOM] Return
false
-
insertBefore(Node, Node)
- [DOM] Do nothing
-
print(PrintWriter, int)
- Print this Element in XML format, indented by indent spaces.
-
print(PrintWriter, String, int)
- Print this Element in XML format, indented by indent spaces.
-
printSpace(PrintWriter, int)
- Print n spaces.
-
removeChild(Node)
- [DOM] Do nothing.
-
replaceChild(Node, Node)
- [DOM] Do nothing.
Child
public Child()
clone
public abstract Object clone()
- Clone object.
- Overrides:
- clone in class Object
print
public void print(PrintWriter pw,
int indent)
- Print this Element in XML format, indented by indent spaces.
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
printSpace
public static void printSpace(PrintWriter pw,
int n)
- Print n spaces.
getText
public abstract String getText()
- Print all text included in this element.
getParentNode
public Node getParentNode()
- [DOM] Return a parent of this.
getChildren
public NodeList getChildren()
- [DOM] Return
null
hasChildren
public boolean hasChildren()
- [DOM] Return
false
getFirstChild
public Node getFirstChild()
- [DOM] Return
null
getPreviousSibling
public Node getPreviousSibling()
- [DOM]
getNextSibling
public Node getNextSibling()
- [DOM]
insertBefore
public void insertBefore(Node newChild,
Node refChild) throws NotMyChildException
- [DOM] Do nothing
replaceChild
public Node replaceChild(Node oldChild,
Node newChild) throws NotMyChildException
- [DOM] Do nothing. Return oldChild.
removeChild
public Node removeChild(Node oldChild) throws NotMyChildException
- [DOM] Do nothing. Return oldChild.
All Packages Class Hierarchy This Package Previous Next Index