|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.txw2.model.Leaf
public abstract class Leaf
Leafs form a set (by a cyclic doubly-linked list.)
| Field Summary | |
|---|---|
Locator |
location
Source location where this leaf was defined. |
| Constructor Summary | |
|---|---|
protected |
Leaf(Locator location)
|
| Method Summary | |
|---|---|
protected void |
createDataMethod(com.sun.codemodel.JDefinedClass clazz,
com.sun.codemodel.JType valueType,
NodeSet nset,
Set<Prop> props)
Creates a prop of the data value method. |
Leaf |
getNext()
|
Leaf |
getPrev()
|
Leaf |
merge(Leaf that)
Combines two sets into one set. |
Iterable<Leaf> |
siblings()
Returns the collection of all the siblings (including itself) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Locator location
| Constructor Detail |
|---|
protected Leaf(Locator location)
| Method Detail |
|---|
public final Leaf getNext()
public final Leaf getPrev()
public final Leaf merge(Leaf that)
public final Iterable<Leaf> siblings()
protected final void createDataMethod(com.sun.codemodel.JDefinedClass clazz,
com.sun.codemodel.JType valueType,
NodeSet nset,
Set<Prop> props)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||