com.sun.tools.xjc.model
Class CWildcardTypeInfo

java.lang.Object
  extended by com.sun.tools.xjc.model.CWildcardTypeInfo
All Implemented Interfaces:
CCustomizable, CTypeInfo, TypeInfo<NType,NClass>, WildcardTypeInfo<NType,NClass>

public final class CWildcardTypeInfo
extends java.lang.Object
implements WildcardTypeInfo<NType,NClass>

CTypeInfo for the DOM node. TODO: support other DOM models.


Field Summary
static CWildcardTypeInfo INSTANCE
           
 
Method Summary
 boolean canBeReferencedByIDREF()
          Deprecated. why are you calling an unimplemented method?
 com.sun.codemodel.JExpression createConstant(Outline outline, com.sun.xml.xsom.XmlString lexical)
           
 CAdapter getAdapterUse()
           
 CCustomizations getCustomizations()
          Gets the list of customizations attached to this model component.
 javax.activation.MimeType getExpectedMimeType()
          No default MimeType.
 Location getLocation()
           
 org.xml.sax.Locator getLocator()
          Gets the source location in the schema from which this model component is created.
 com.sun.xml.xsom.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()
          Gets the underlying Java type that object represents.
 Locatable getUpstream()
           
 ID idUse()
           
 boolean isCollection()
           
 com.sun.codemodel.JType toType(Outline o, Aspect aspect)
          Returns the JClass that represents the class being bound, under the given Outline.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo
canBeReferencedByIDREF
 

Field Detail

INSTANCE

public static final CWildcardTypeInfo INSTANCE
Method Detail

toType

public com.sun.codemodel.JType toType(Outline o,
                                      Aspect aspect)
Description copied from interface: CTypeInfo
Returns the JClass that represents the class being bound, under the given Outline.

Specified by:
toType in interface CTypeInfo
See Also:
NType.toType(Outline, Aspect)

getType

public NType getType()
Description copied from interface: TypeInfo
Gets the underlying Java type that object represents.

Specified by:
getType in interface TypeInfo<NType,NClass>
Returns:
always non-null.

getLocator

public org.xml.sax.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.

isCollection

public final boolean isCollection()

getAdapterUse

public final CAdapter getAdapterUse()

idUse

public final ID idUse()

getSchemaComponent

public final com.sun.xml.xsom.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 interface CCustomizable
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?

Description copied from interface: TypeInfo
True if this type is a valid target from a property annotated with XmlIDREF.

Specified by:
canBeReferencedByIDREF in interface TypeInfo<NType,NClass>

getExpectedMimeType

public javax.activation.MimeType getExpectedMimeType()
No default MimeType.


getCustomizations

public CCustomizations getCustomizations()
Description copied from interface: CCustomizable
Gets the list of customizations attached to this model component.

Specified by:
getCustomizations in interface CCustomizable
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 com.sun.codemodel.JExpression createConstant(Outline outline,
                                                    com.sun.xml.xsom.XmlString lexical)

getUpstream

public final Locatable getUpstream()

getLocation

public final Location getLocation()