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>
CTypeInfo for the DOM node. TODO: support other DOM models.
Author:
Kohsuke Kawaguchi
  • Field Details

  • Method Details

    • toType

      public 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:
    • getType

      public NType getType()
      Specified by:
      getType in interface com.sun.xml.bind.v2.model.core.TypeInfo<NType,NClass>
    • 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 interface CCustomizable
      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: 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?
      Specified by:
      canBeReferencedByIDREF in interface com.sun.xml.bind.v2.model.core.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:
    • createConstant

      public JExpression createConstant(Outline outline, XmlString lexical)
    • getUpstream

      public final com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
      Specified by:
      getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatable
    • getLocation

      public final com.sun.xml.bind.v2.runtime.Location getLocation()
      Specified by:
      getLocation in interface com.sun.xml.bind.v2.model.annotation.Locatable