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

pack-priv abstract Class AbstractCTypeInfoImpl

extends Object
implements CTypeInfo
Class Inheritance
All Implemented Interfaces
com.sun.tools.xjc.model.CTypeInfo, com.sun.tools.xjc.model.CCustomizable, org.glassfish.jaxb.core.v2.model.core.TypeInfo, org.glassfish.jaxb.core.v2.model.annotation.Locatable
Known Direct Subclasses
com.sun.tools.xjc.model.CArrayInfo, com.sun.tools.xjc.model.CWildcardTypeInfo, com.sun.tools.xjc.model.AbstractCElement
Imports
jakarta.activation.MimeType, com.sun.codemodel.JExpression, com.sun.tools.xjc.outline.Outline, org.glassfish.jaxb.core.v2.model.annotation.Locatable, org.glassfish.jaxb.core.v2.model.core.ID, org.glassfish.jaxb.core.v2.runtime.Location, com.sun.xml.xsom.XSComponent, .XmlString

Partial implementation of CTypeInfo.

The inheritance of TypeUse by CTypeInfo isn't a normal inheritance (see CTypeInfo for more.) This class implments methods on TypeUse for CTypeInfo.

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final CCustomizations
private final XSComponent

Constructor Summary

AccessConstructor and Description
protected
AbstractCTypeInfoImpl(Model model, XSComponent source, CCustomizations customizations)

Method Summary

Modifier and TypeMethod and Description
public final boolean
canBeReferencedByIDREF()

Implements org.glassfish.jaxb.core.v2.model.core.TypeInfo.canBeReferencedByIDREF.

Deprecated why are you calling an unimplemented method?

True if this type is a valid target from a property annotated with XmlIDREF.

public JExpression
createConstant(Outline outline, XmlString lexical)

public final CAdapter
public CCustomizations
getCustomizations()

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

Gets the list of customizations attached to this model component.

public MimeType
public final Location
getLocation()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Gets the location object that this object points to.

public final XSComponent
getSchemaComponent()

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

If this model object is built from XML Schema, this property returns a schema component from which the model is built.

public final Locatable
public final ID
public final boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

customizationsback to summary
private final CCustomizations customizations
sourceback to summary
private final XSComponent source

Constructor Detail

AbstractCTypeInfoImplback to summary
protected AbstractCTypeInfoImpl(Model model, XSComponent source, CCustomizations customizations)

Method Detail

canBeReferencedByIDREFback to summary
public final boolean canBeReferencedByIDREF()

Implements org.glassfish.jaxb.core.v2.model.core.TypeInfo.canBeReferencedByIDREF.

Doc from org.glassfish.jaxb.core.v2.model.core.TypeInfo.canBeReferencedByIDREF.

Deprecated

why are you calling an unimplemented method?

True if this type is a valid target from a property annotated with XmlIDREF.

Annotations
@Deprecated
@Override
createConstantback to summary
public JExpression createConstant(Outline outline, XmlString lexical)
getAdapterUseback to summary
public final CAdapter getAdapterUse()
getCustomizationsback to summary
public CCustomizations getCustomizations()

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

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

Gets the list of customizations attached to this model component.

Annotations
@Override
getExpectedMimeTypeback to summary
public MimeType getExpectedMimeType()

No default MimeType.

getLocationback to summary
public final Location getLocation()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Doc from org.glassfish.jaxb.core.v2.model.annotation.Locatable.getLocation.

Gets the location object that this object points to. This operation could be inefficient and costly.

Annotations
@Override
getSchemaComponentback to summary
public final XSComponent getSchemaComponent()

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

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

If this model object is built from XML Schema, this property returns a schema component from which the model is built.

Annotations
@Override
getUpstreamback to summary
public final Locatable getUpstream()

Implements org.glassfish.jaxb.core.v2.model.annotation.Locatable.getUpstream.

Doc from org.glassfish.jaxb.core.v2.model.annotation.Locatable.getUpstream.

Gets the upstream Location information.

Annotations
@Override
idUseback to summary
public final ID idUse()
isCollectionback to summary
public final boolean isCollection()