Package com.sun.tools.xjc.model
Class CTypeRef
java.lang.Object
com.sun.tools.xjc.model.CTypeRef
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
- Specified by:
getTargetin interfaceNonElementRef<NType,NClass>
-
getTagName
- Specified by:
getTagNamein interfaceTypeRef<NType,NClass>
-
isNillable
public boolean isNillable()- Specified by:
isNillablein interfaceTypeRef<NType,NClass>
-
getDefaultValue
Inside XJC, usedefaultValuethat has context information. This method is to override the one defined in the runtime model.- Specified by:
getDefaultValuein interfaceTypeRef<NType,NClass> - See Also:
-
isLeaf
public boolean isLeaf() -
getSource
- Specified by:
getSourcein interfaceNonElementRef<NType,NClass>
-