Package com.sun.tools.xjc.model
Class CWildcardTypeInfo
- java.lang.Object
-
- com.sun.tools.xjc.model.CWildcardTypeInfo
-
- All Implemented Interfaces:
CCustomizable,CTypeInfo,com.sun.xml.bind.v2.model.annotation.Locatable,com.sun.xml.bind.v2.model.core.TypeInfo<NType,NClass>,com.sun.xml.bind.v2.model.core.WildcardTypeInfo<NType,NClass>
public final class CWildcardTypeInfo extends Object implements com.sun.xml.bind.v2.model.core.WildcardTypeInfo<NType,NClass>
CTypeInfofor the DOM node. TODO: support other DOM models.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static CWildcardTypeInfoINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanBeReferencedByIDREF()Deprecated.why are you calling an unimplemented method?JExpressioncreateConstant(Outline outline, XmlString lexical)CAdaptergetAdapterUse()CCustomizationsgetCustomizations()Gets the list of customizations attached to this model component.MimeTypegetExpectedMimeType()No defaultMimeType.com.sun.xml.bind.v2.runtime.LocationgetLocation()LocatorgetLocator()Gets the source location in the schema from which this model component is created.XSComponentgetSchemaComponent()If this model object is built from XML Schema, this property returns a schema component from which the model is built.NTypegetType()com.sun.xml.bind.v2.model.annotation.LocatablegetUpstream()com.sun.xml.bind.v2.model.core.IDidUse()booleanisCollection()JTypetoType(Outline o, Aspect aspect)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
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:
toTypein interfaceCTypeInfo- See Also:
NType.toType(Outline, com.sun.tools.xjc.outline.Aspect)
-
getType
public NType getType()
-
getLocator
public Locator getLocator()
Description copied from interface:CCustomizableGets the source location in the schema from which this model component is created.- Specified by:
getLocatorin interfaceCCustomizable- Returns:
- never null.
-
isCollection
public final boolean isCollection()
-
getAdapterUse
public final CAdapter getAdapterUse()
-
idUse
public final com.sun.xml.bind.v2.model.core.ID idUse()
-
getSchemaComponent
public final XSComponent getSchemaComponent()
Description copied from interface:CCustomizableIf this model object is built from XML Schema, this property returns a schema component from which the model is built.- Specified by:
getSchemaComponentin interfaceCCustomizable- Returns:
- null if the model is built from sources other than XML Schema (such as DTD.)
-
canBeReferencedByIDREF
public final boolean canBeReferencedByIDREF()
Deprecated.why are you calling an unimplemented method?
-
getCustomizations
public CCustomizations getCustomizations()
Description copied from interface:CCustomizableGets the list of customizations attached to this model component.- Specified by:
getCustomizationsin 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 com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
- Specified by:
getUpstreamin interfacecom.sun.xml.bind.v2.model.annotation.Locatable
-
getLocation
public final com.sun.xml.bind.v2.runtime.Location getLocation()
- Specified by:
getLocationin interfacecom.sun.xml.bind.v2.model.annotation.Locatable
-
-