|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.model.CDefaultValue
public abstract class CDefaultValue
Object that computes the default value expression lazily. The computation is done lazily because often the default value needs to refer to things (such as enum classes) that are only generated after some of the outline is built.
Constructor Summary | |
---|---|
CDefaultValue()
|
Method Summary | |
---|---|
abstract com.sun.codemodel.JExpression |
compute(Outline outline)
|
static CDefaultValue |
create(TypeUse typeUse,
com.sun.xml.xsom.XmlString defaultValue)
Creates a new CDefaultValue that computes the default value
by applying a lexical representation to a TypeUse . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CDefaultValue()
Method Detail |
---|
public abstract com.sun.codemodel.JExpression compute(Outline outline)
public static CDefaultValue create(TypeUse typeUse, com.sun.xml.xsom.XmlString defaultValue)
CDefaultValue
that computes the default value
by applying a lexical representation to a TypeUse
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |