| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name
Constant name.
|
com.sun.codemodel.JType |
type
The underlying datatype, in case
we need to revert to
Data. |
| Constructor and Description |
|---|
Value(org.xml.sax.Locator location,
com.sun.codemodel.JType type,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
generate(com.sun.codemodel.JDefinedClass clazz,
NodeSet nset,
java.util.Set<Prop> props)
Populate the body of the writer class.
|
com.sun.codemodel.JType |
getDatatype(NodeSet nset)
Obtains the Java class of this
Text. |
public final com.sun.codemodel.JType type
Data.public final java.lang.String name
public Value(org.xml.sax.Locator location,
com.sun.codemodel.JType type,
java.lang.String name)
void generate(com.sun.codemodel.JDefinedClass clazz,
NodeSet nset,
java.util.Set<Prop> props)
Leafpublic com.sun.codemodel.JType getDatatype(NodeSet nset)
TextText.getDatatype in interface Text