Top Description Fields Constructors Methods
com.sun.tools.xjc.model

pack-priv abstract Class AbstractCElement

extends AbstractCTypeInfoImpl
implements CElement
Class Inheritance
All Implemented Interfaces
com.sun.tools.xjc.model.CElement, org.glassfish.jaxb.core.v2.model.core.Element, org.glassfish.jaxb.core.v2.model.core.TypeInfo, org.glassfish.jaxb.core.v2.model.annotation.Locatable, com.sun.tools.xjc.model.CTypeInfo, com.sun.tools.xjc.model.CCustomizable
Known Direct Subclasses
com.sun.tools.xjc.model.CClassInfo, com.sun.tools.xjc.model.CClassRef, com.sun.tools.xjc.model.CElementInfo
Imports
jakarta.xml.bind.annotation.XmlTransient, com.sun.xml.xsom.XSComponent, org.xml.sax.Locator

Partial default implementation of CElement.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private boolean
private final Locator
locator

The location in the source file where this class was declared.

Constructor Summary

AccessConstructor and Description
protected
AbstractCElement(Model model, XSComponent source, Locator locator, CCustomizations customizations)

Method Summary

Modifier and TypeMethod and Description
public Locator
getLocator()

Implements com.sun.tools.xjc.model.CCustomizable.getLocator.

Gets the source location in the schema from which this model component is created.

public boolean
isAbstract()

Implements com.sun.tools.xjc.model.CElement.isAbstract.

Returns true iff this element is an abstract element.

public void
setAbstract()

Implements com.sun.tools.xjc.model.CElement.setAbstract.

Marks this element as an abstract element.

Inherited from com.sun.tools.xjc.model.AbstractCTypeInfoImpl:
canBeReferencedByIDREFcreateConstantgetAdapterUsegetCustomizationsgetExpectedMimeTypegetLocationgetSchemaComponentgetUpstreamidUseisCollection

Field Detail

isAbstractback to summary
private boolean isAbstract
locatorback to summary
private final Locator locator

The location in the source file where this class was declared.

Annotations
@XmlTransient

Constructor Detail

AbstractCElementback to summary
protected AbstractCElement(Model model, XSComponent source, Locator locator, CCustomizations customizations)

Method Detail

getLocatorback to summary
public Locator getLocator()

Implements com.sun.tools.xjc.model.CCustomizable.getLocator.

Doc from com.sun.tools.xjc.model.CCustomizable.getLocator.

Gets the source location in the schema from which this model component is created.

Annotations
@Override
isAbstractback to summary
public boolean isAbstract()

Implements com.sun.tools.xjc.model.CElement.isAbstract.

Doc from com.sun.tools.xjc.model.CElement.isAbstract.

Returns true iff this element is an abstract element.

Annotations
@Override
setAbstractback to summary
public void setAbstract()

Implements com.sun.tools.xjc.model.CElement.setAbstract.

Doc from com.sun.tools.xjc.model.CElement.setAbstract.

Marks this element as an abstract element.

Annotations
@Override