com.sun.tools.xjc.model
Class AbstractCElement
java.lang.Object
com.sun.tools.xjc.model.AbstractCTypeInfoImpl
com.sun.tools.xjc.model.AbstractCElement
- All Implemented Interfaces:
- CCustomizable, CElement, CTypeInfo, Locatable, Element<NType,NClass>, TypeInfo<NType,NClass>
- Direct Known Subclasses:
- CClassInfo, CClassRef, CElementInfo
abstract class AbstractCElement
- extends AbstractCTypeInfoImpl
- implements CElement
Partial default implementation of CElement
.
Method Summary |
Locator |
getLocator()
Gets the source location in the schema from which this model component is created. |
boolean |
isAbstract()
Returns true iff this element is an abstract element. |
void |
setAbstract()
Marks this element as an abstract element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCElement
protected AbstractCElement(Model model,
XSComponent source,
Locator locator,
CCustomizations customizations)
getLocator
public Locator getLocator()
- Description copied from interface:
CCustomizable
- Gets the source location in the schema from which this model component is created.
- Specified by:
getLocator
in interface CCustomizable
- Returns:
- never null.
isAbstract
public boolean isAbstract()
- Description copied from interface:
CElement
- Returns true iff this element is an abstract element.
- Specified by:
isAbstract
in interface CElement
setAbstract
public void setAbstract()
- Description copied from interface:
CElement
- Marks this element as an abstract element.
- Specified by:
setAbstract
in interface CElement