Package com.sun.tools.xjc.model
Class CTypeRef
java.lang.Object
com.sun.tools.xjc.model.CTypeRef
- All Implemented Interfaces:
org.glassfish.jaxb.core.v2.model.core.NonElementRef<NType,,NClass> org.glassfish.jaxb.core.v2.model.core.TypeRef<NType,NClass>
public final class CTypeRef
extends Object
implements org.glassfish.jaxb.core.v2.model.core.TypeRef<NType,NClass>
TypeRef for XJC.
TODO: do we need the source schema component support here?- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCTypeRef(CNonElement type, XSElementDecl decl) CTypeRef(CNonElement type, QName elementName, QName typeName, boolean nillable, XmlString defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionInside XJC, usedefaultValuethat has context information.static QNamebooleanisLeaf()boolean
-
Field Details
-
defaultValue
-
-
Constructor Details
-
CTypeRef
-
CTypeRef
public CTypeRef(CNonElement type, QName elementName, QName typeName, boolean nillable, XmlString defaultValue)
-
-
Method Details
-
getTypeName
-
getSimpleTypeName
-
getTarget
-
getTagName
-
isNillable
public boolean isNillable() -
getDefaultValue
Inside XJC, usedefaultValuethat has context information. This method is to override the one defined in the runtime model. -
isLeaf
public boolean isLeaf() -
getSource
-