- java.lang.Object
-
- com.sun.tools.xjc.model.CTypeRef
-
-
Field Summary
Fields Modifier and Type Field Description XmlStringdefaultValue
-
Constructor Summary
Constructors Constructor Description CTypeRef(CNonElement type, XSElementDecl decl)CTypeRef(CNonElement type, QName elementName, QName typeName, boolean nillable, XmlString defaultValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultValue()Inside XJC, usedefaultValuethat has context information.static QNamegetSimpleTypeName(XSElementDecl decl)PropertyInfo<NType,NClass>getSource()QNamegetTagName()CNonElementgetTarget()QNamegetTypeName()booleanisLeaf()booleanisNillable()
-
-
-
Field Detail
-
defaultValue
public final XmlString defaultValue
-
-
Constructor Detail
-
CTypeRef
public CTypeRef(CNonElement type, XSElementDecl decl)
-
CTypeRef
public CTypeRef(CNonElement type, QName elementName, QName typeName, boolean nillable, XmlString defaultValue)
-
-
Method Detail
-
getTypeName
public QName getTypeName()
-
getSimpleTypeName
public static QName getSimpleTypeName(XSElementDecl decl)
-
getTarget
public CNonElement getTarget()
- Specified by:
getTargetin interfaceNonElementRef<NType,NClass>
-
getTagName
public QName getTagName()
- Specified by:
getTagNamein interfaceTypeRef<NType,NClass>
-
isNillable
public boolean isNillable()
- Specified by:
isNillablein interfaceTypeRef<NType,NClass>
-
getDefaultValue
public String 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:
defaultValue
-
isLeaf
public boolean isLeaf()
-
getSource
public PropertyInfo<NType,NClass> getSource()
- Specified by:
getSourcein interfaceNonElementRef<NType,NClass>
-
-