com.sun.xml.bind.v2.model.core.NonElementRef<NType,NClass>, com.sun.xml.bind.v2.model.core.TypeRef<NType,NClass>public final class CTypeRef extends java.lang.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 | Description |
|---|---|---|
XmlString |
defaultValue |
| Constructor | Description |
|---|---|
CTypeRef(CNonElement type,
XSElementDecl decl) |
|
CTypeRef(CNonElement type,
javax.xml.namespace.QName elementName,
javax.xml.namespace.QName typeName,
boolean nillable,
XmlString defaultValue) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDefaultValue() |
Inside XJC, use
defaultValue that has context information. |
static javax.xml.namespace.QName |
getSimpleTypeName(XSElementDecl decl) |
|
com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass> |
getSource() |
|
javax.xml.namespace.QName |
getTagName() |
|
CNonElement |
getTarget() |
|
javax.xml.namespace.QName |
getTypeName() |
|
boolean |
isLeaf() |
|
boolean |
isNillable() |
public final XmlString defaultValue
public CTypeRef(CNonElement type, XSElementDecl decl)
public CTypeRef(CNonElement type, javax.xml.namespace.QName elementName, javax.xml.namespace.QName typeName, boolean nillable, XmlString defaultValue)
public javax.xml.namespace.QName getTypeName()
public static javax.xml.namespace.QName getSimpleTypeName(XSElementDecl decl)
public CNonElement getTarget()
public javax.xml.namespace.QName getTagName()
public boolean isNillable()
public java.lang.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.