| java.lang.Object com.sun.tools.xjc.model.AbstractCTypeInfoImpl com.sun.tools.xjc.model.AbstractCElement com.sun.tools.xjc.model.CClassInfo
Field Summary | |
public String | javadoc TODO: revisit this design.
we should at least do a basic encapsulation to avoid careless
mistakes. | final public Model | model The
Model object to which this bean belongs. | final public String | shortName short name. |
Constructor Summary | |
public | CClassInfo(Model model, JPackage pkg, String shortName, Locator location, QName typeName, QName elementName, XSComponent source, CCustomizations customizations) | public | CClassInfo(Model model, CClassInfoParent p, String shortName, Locator location, QName typeName, QName elementName, XSComponent source, CCustomizations customizations) | public | CClassInfo(Model model, JCodeModel cm, String fullName, Locator location, QName typeName, QName elementName, XSComponent source, CCustomizations customizations) |
javadoc | public String javadoc(Code) | | TODO: revisit this design.
we should at least do a basic encapsulation to avoid careless
mistakes. Maybe we should even differ the javadoc generation
by queueing runners.
|
model | final public Model model(Code) | | The
Model object to which this bean belongs.
|
accept | final public T accept(Visitor<T> visitor)(Code) | | |
addConstructor | public void addConstructor(String... fieldNames)(Code) | | Creates a new constructor declaration and adds it.
|
declaresAttributeWildcard | public boolean declaresAttributeWildcard()(Code) | | Returns true iff a new attribute wildcard property needs to be
declared on this class.
|
fullName | public String fullName()(Code) | | Returns the FQCN of this bean.
|
getSqueezedName | public String getSqueezedName()(Code) | | Returns the "squeezed name" of this bean token.
The squeezed name of a bean is the concatenation of
the names of its outer classes and itself.
Thus if the bean is "org.acme.foo.Bean", then the squeezed name is "Bean",
if the bean is "org.acme.foo.Outer1.Outer2.Bean", then "Outer1Outer2Bean".
This is used by the code generator
|
getUserSpecifiedImplClass | public String getUserSpecifiedImplClass()(Code) | | |
hasAttributeWildcard | public boolean hasAttributeWildcard()(Code) | | |
hasAttributeWildcard | public void hasAttributeWildcard(boolean hasAttributeWildcard)(Code) | | |
hasProperties | public boolean hasProperties()(Code) | | |
hasSubClasses | public boolean hasSubClasses()(Code) | | |
hasValueProperty | public boolean hasValueProperty()(Code) | | |
inheritsAttributeWildcard | public boolean inheritsAttributeWildcard()(Code) | | Returns true iff this class inherits a wildcard attribute property
from its ancestor classes.
|
isBoxedType | public boolean isBoxedType()(Code) | | |
isElement | public boolean isElement()(Code) | | |
isFinal | public boolean isFinal()(Code) | | |
isOrdered | public boolean isOrdered()(Code) | | |
isSimpleType | public boolean isSimpleType()(Code) | | |
setBaseClass | public void setBaseClass(CClass base)(Code) | | This method accepts both
CClassInfo (which means the base class
is also generated), or
CClassRef (which means the base class is
already generated and simply referenced.)
The latter is treated somewhat special --- from the rest of the model
this external base class is invisible. This modeling might need more
thoughts to get right.
|
setOrdered | public void setOrdered(boolean value)(Code) | | |
setUserSpecifiedImplClass | public void setUserSpecifiedImplClass(String implClass)(Code) | | |
|
|