com.sun.tools.xjc.model

Class CClassRef

public final class CClassRef extends AbstractCElement implements NClass, CClass

Refernece to an existing class.
Constructor Summary
CClassRef(Model model, XSComponent source, BIClass decl, CCustomizations customizations)
CClassRef(Model model, XSComponent source, BIEnum decl, CCustomizations customizations)
Method Summary
StringfullName()
QNamegetElementName()
CNonElementgetInfo()
Guaranteed to return this.
CClassInfogetScope()
CElementgetSubstitutionHead()
NTypegetType()
QNamegetTypeName()
booleanisAbstract()
booleanisBoxedType()
booleanisSimpleType()
voidsetAbstract()
JClasstoType(Outline o, Aspect aspect)

Constructor Detail

CClassRef

public CClassRef(Model model, XSComponent source, BIClass decl, CCustomizations customizations)

Parameters: decl The BIClass declaration that has getExistingClassRef

CClassRef

public CClassRef(Model model, XSComponent source, BIEnum decl, CCustomizations customizations)

Parameters: decl The BIClass declaration that has ref

Method Detail

fullName

public String fullName()

getElementName

public QName getElementName()

getInfo

CNonElement getInfo()
Guaranteed to return this.

getScope

public CClassInfo getScope()

getSubstitutionHead

public CElement getSubstitutionHead()

getType

public NType getType()

getTypeName

public QName getTypeName()

isAbstract

public boolean isAbstract()

isBoxedType

public boolean isBoxedType()

isSimpleType

public boolean isSimpleType()

setAbstract

public void setAbstract()

toType

public JClass toType(Outline o, Aspect aspect)