- java.lang.Object
-
- com.sun.tools.xjc.model.CWildcardTypeInfo
-
- All Implemented Interfaces:
CCustomizable
,CTypeInfo
,Locatable
,TypeInfo<NType,NClass>
,WildcardTypeInfo<NType,NClass>
public final class CWildcardTypeInfo extends Object implements WildcardTypeInfo<NType,NClass>
CTypeInfo
for the DOM node. TODO: support other DOM models.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static CWildcardTypeInfo
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canBeReferencedByIDREF()
Deprecated.why are you calling an unimplemented method?JExpression
createConstant(Outline outline, XmlString lexical)
CAdapter
getAdapterUse()
CCustomizations
getCustomizations()
Gets the list of customizations attached to this model component.jakarta.activation.MimeType
getExpectedMimeType()
No defaultMimeType
.Location
getLocation()
Locator
getLocator()
Gets the source location in the schema from which this model component is created.XSComponent
getSchemaComponent()
If this model object is built from XML Schema, this property returns a schema component from which the model is built.NType
getType()
Locatable
getUpstream()
ID
idUse()
boolean
isCollection()
JType
toType(Outline o, Aspect aspect)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.annotation.Locatable
getLocation, getUpstream
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.TypeInfo
canBeReferencedByIDREF
-
-
-
-
Field Detail
-
INSTANCE
public static final CWildcardTypeInfo INSTANCE
-
-
Method Detail
-
toType
public JType toType(Outline o, Aspect aspect)
Description copied from interface:CTypeInfo
- Specified by:
toType
in interfaceCTypeInfo
- See Also:
NType.toType(Outline, com.sun.tools.xjc.outline.Aspect)
-
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 interfaceCCustomizable
- Returns:
- never null.
-
isCollection
public final boolean isCollection()
-
getAdapterUse
public final CAdapter getAdapterUse()
-
idUse
public final ID idUse()
-
getSchemaComponent
public final XSComponent getSchemaComponent()
Description copied from interface:CCustomizable
If this model object is built from XML Schema, this property returns a schema component from which the model is built.- Specified by:
getSchemaComponent
in interfaceCCustomizable
- Returns:
- null if the model is built from sources other than XML Schema (such as DTD.)
-
canBeReferencedByIDREF
@Deprecated public final boolean canBeReferencedByIDREF()
Deprecated.why are you calling an unimplemented method?- Specified by:
canBeReferencedByIDREF
in interfaceTypeInfo<NType,NClass>
-
getExpectedMimeType
public jakarta.activation.MimeType getExpectedMimeType()
No defaultMimeType
.
-
getCustomizations
public CCustomizations getCustomizations()
Description copied from interface:CCustomizable
Gets the list of customizations attached to this model component.- Specified by:
getCustomizations
in interfaceCCustomizable
- Returns:
- can be an empty list but never be null. The returned list is read-only. Do not modify.
- See Also:
Plugin.getCustomizationURIs()
-
createConstant
public JExpression createConstant(Outline outline, XmlString lexical)
-
getUpstream
public final Locatable getUpstream()
- Specified by:
getUpstream
in interfaceLocatable
-
getLocation
public final Location getLocation()
- Specified by:
getLocation
in interfaceLocatable
-
-