| java.lang.Object com.sun.tools.internal.xjc.model.AbstractCTypeInfoImpl com.sun.tools.internal.xjc.model.CElementInfo
Field Summary | |
final public CClassInfoParent | parent If this element is global, the element info is considered to be
package-level, and this points to the package in which this element
lives in. |
Constructor Summary | |
public | CElementInfo(Model model, QName tagName, CClassInfoParent parent, TypeUse contentType, XmlString defaultValue, XSComponent source, CCustomizations customizations, Locator location) Creates an element in the given parent. | public | CElementInfo(Model model, QName tagName, CClassInfoParent parent, String className, CCustomizations customizations, Locator location) Creates an element with a class in the given parent.
When using this construction, the caller must use
CElementInfo.initContentType(TypeUse,XSComponent,XmlString) to fill in the content type
later.
This is to avoid a circular model construction dependency between buidling a type
inside an element and element itself. |
parent | final public CClassInfoParent parent(Code) | | If this element is global, the element info is considered to be
package-level, and this points to the package in which this element
lives in.
For local elements, this points to the parent
CClassInfo .
|
CElementInfo | public CElementInfo(Model model, QName tagName, CClassInfoParent parent, TypeUse contentType, XmlString defaultValue, XSComponent source, CCustomizations customizations, Locator location)(Code) | | Creates an element in the given parent.
When using this construction,
CElementInfo.initContentType(TypeUse,XSComponent,XmlString) must not be invoked.
|
CElementInfo | public CElementInfo(Model model, QName tagName, CClassInfoParent parent, String className, CCustomizations customizations, Locator location)(Code) | | Creates an element with a class in the given parent.
When using this construction, the caller must use
CElementInfo.initContentType(TypeUse,XSComponent,XmlString) to fill in the content type
later.
This is to avoid a circular model construction dependency between buidling a type
inside an element and element itself. To build a content type, you need to have
CElementInfo for a parent, so we can't take it as a constructor parameter.
|
_package | final public JPackage _package()(Code) | | |
accept | public T accept(Visitor<T> visitor)(Code) | | |
getContentInMemoryType | public NType getContentInMemoryType()(Code) | | |
getOwnerPackage | public JPackage getOwnerPackage()(Code) | | |
hasClass | public boolean hasClass()(Code) | | True if this element has its own class
(as opposed to be represented as an instance of
JAXBElement .
|
initContentType | public void initContentType(TypeUse contentType, XSComponent source, XmlString defaultValue)(Code) | | |
isAbstract | public boolean isAbstract()(Code) | | |
isBoxedType | public boolean isBoxedType()(Code) | | |
setAbstract | public void setAbstract()(Code) | | |
|
|