Modifier and Type | Field and Description |
---|---|
org.xml.sax.Locator |
location
Source location where this leaf was defined.
|
private Leaf |
next |
private Leaf |
prev |
Modifier | Constructor and Description |
---|---|
protected |
Leaf(org.xml.sax.Locator location) |
Modifier and Type | Method and Description |
---|---|
protected void |
createDataMethod(com.sun.codemodel.JDefinedClass clazz,
com.sun.codemodel.JType valueType,
NodeSet nset,
java.util.Set<Prop> props)
Creates a prop of the data value method.
|
(package private) abstract void |
generate(com.sun.codemodel.JDefinedClass clazz,
NodeSet nset,
java.util.Set<Prop> props)
Populate the body of the writer class.
|
Leaf |
getNext() |
Leaf |
getPrev() |
Leaf |
merge(Leaf that)
Combines two sets into one set.
|
java.lang.Iterable<Leaf> |
siblings()
Returns the collection of all the siblings
(including itself)
|
private Leaf next
private Leaf prev
public org.xml.sax.Locator location
public final Leaf getNext()
public final Leaf getPrev()
public final java.lang.Iterable<Leaf> siblings()
abstract void generate(com.sun.codemodel.JDefinedClass clazz, NodeSet nset, java.util.Set<Prop> props)
props
- captures the generatesd Prop
s to