com.sun.tools.xjc.model
Class CWildcardTypeInfo
java.lang.Object
com.sun.tools.xjc.model.AbstractCTypeInfoImpl
com.sun.tools.xjc.model.CWildcardTypeInfo
- All Implemented Interfaces:
- CCustomizable, CTypeInfo, Locatable, TypeInfo<NType,NClass>, WildcardTypeInfo<NType,NClass>
public final class CWildcardTypeInfo
- extends AbstractCTypeInfoImpl
- implements WildcardTypeInfo<NType,NClass>
CTypeInfo
for the DOM node.
TODO: support other DOM models.
Method Summary |
Locator |
getLocator()
Gets the source location in the schema from which this model component is created. |
NType |
getType()
Gets the underlying Java type that object represents. |
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 |
INSTANCE
public static final CWildcardTypeInfo INSTANCE
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 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.