public final class CTypeRef extends Object implements com.sun.xml.bind.v2.model.core.TypeRef<NType,NClass>
TypeRef for XJC.
TODO: do we need the source schema component support here?| Modifier and Type | Field and Description |
|---|---|
XmlString |
defaultValue |
| Constructor and Description |
|---|
CTypeRef(CNonElement type,
QName elementName,
QName typeName,
boolean nillable,
XmlString defaultValue) |
CTypeRef(CNonElement type,
XSElementDecl decl) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Inside XJC, use
defaultValue that has context information. |
static QName |
getSimpleTypeName(XSElementDecl decl) |
com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass> |
getSource() |
QName |
getTagName() |
CNonElement |
getTarget() |
QName |
getTypeName() |
boolean |
isLeaf() |
boolean |
isNillable() |
public final XmlString defaultValue
public CTypeRef(CNonElement type, XSElementDecl decl)
public CTypeRef(CNonElement type, QName elementName, QName typeName, boolean nillable, XmlString defaultValue)
public QName getTypeName()
public static QName getSimpleTypeName(XSElementDecl decl)
public CNonElement getTarget()
public QName getTagName()
public boolean isNillable()
public String getDefaultValue()
defaultValue that has context information.
This method is to override the one defined in the runtime model.getDefaultValue in interface com.sun.xml.bind.v2.model.core.TypeRef<NType,NClass>defaultValuepublic boolean isLeaf()
Copyright © 2017 Oracle Corporation. All rights reserved.