|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.utils.UnImplNode | +--org.apache.xalan.stree.Child | +--org.apache.xalan.stree.Parent
Constructor Summary | |
Parent(DocumentImpl doc)
|
Method Summary | |
Node |
appendChild(Node newChild)
Append a child to the child list. |
Child |
getChild(int i)
Get the nth child. |
int |
getChildCount()
Get the number of children this node currently contains. |
int |
getChildUID(int pos)
**For internal use only** Get the position of the child of an element in the document. |
Node |
getFirstChild()
The first child of this node. |
Node |
getLastChild()
The last child of this node. |
boolean |
hasChildNodes()
This is a convenience method to allow easy determination of whether a node has any children. |
boolean |
isComplete()
Return if this node has had all it's children added, i.e. |
void |
setComplete(boolean isComplete)
Set that this node's child list is complete, i.e. |
Methods inherited from class org.apache.xalan.stree.Child |
getAttributes,
getChildPosition,
getLevel,
getLocalName,
getNamespaceURI,
getNextSibling,
getOwnerDocument,
getParentNode,
getPrefix,
getPreviousSibling,
getTagName,
getUid,
isNamespaceNode,
setAttribute,
setLevel,
supports |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Parent(DocumentImpl doc)
Method Detail |
public int getChildCount()
public boolean hasChildNodes()
true
if the node has any children,
false
if the node has no children.public int getChildUID(int pos)
public Child getChild(int i) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.NullPointerException
i
- the index of the child.public Node getFirstChild()
null
.public Node getLastChild()
null
.public Node appendChild(Node newChild) throws DOMException
newChild
- Must be a org.apache.xalan.stree.Child.public boolean isComplete()
public void setComplete(boolean isComplete)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |