|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjectTopLevelClass.Default.Node
public abstract static class TopLevelClass.Default.Node
Provides a simple implementation of TopLevelClass.Node
.
コンストラクタの概要 | |
---|---|
TopLevelClass.Default.Node(java.util.List childNodes)
Constucts an instance. |
メソッドの概要 | |
---|---|
java.util.List |
getChildNodes()
Returns the list of the child nodes of this . |
void |
replaceChild(TopLevelClass.Node oldChild,
TopLevelClass.Node newChild)
Replaces the child node oldChild with newChild . |
java.lang.String |
toString()
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public TopLevelClass.Default.Node(java.util.List childNodes)
The returned list of getChildNodes()
is the childNodes
rather than a copy of it.
childNodes
- a list of child nodes.メソッドの詳細 |
---|
public java.util.List getChildNodes()
TopLevelClass.Node
の記述: this
.
For a Node created by the program generated by ¬<><∪∪, the list should be modifiable and the nodes should be ordered by its position in the parsed text. However, the nodes constructed by the users of ¬<><∪∪ are not required to satisfy it.
TopLevelClass.Node
内の getChildNodes
this
.public void replaceChild(TopLevelClass.Node oldChild, TopLevelClass.Node newChild)
oldChild
with newChild
.
This method
replaces oldChild
in getChildNodes()
with newChild
.
Also, this method replaces the values returned by TopLevelClass.Type.label()
.
oldChild
- a replaced child node.newChild
- a child node to replace oldChild
.public java.lang.String toString()
java.lang.Object
内の toString
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |