| 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) |
|
PropertyInfo<NType,NClass> |
getSource() |
Gets the property which is the source of this reference.
|
javax.xml.namespace.QName |
getTagName() |
The associated element name.
|
CNonElement |
getTarget() |
Target of the reference.
|
javax.xml.namespace.QName |
getTypeName() |
|
boolean |
isLeaf() |
|
boolean |
isNillable() |
Returns true if this element is nillable.
|
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()
NonElementRefgetTarget in interface NonElementRef<NType,NClass>public javax.xml.namespace.QName getTagName()
TypeRefgetTagName in interface TypeRef<NType,NClass>public boolean isNillable()
TypeRefisNillable in interface TypeRef<NType,NClass>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 TypeRef<NType,NClass>defaultValuepublic boolean isLeaf()
public PropertyInfo<NType,NClass> getSource()
NonElementRefgetSource in interface NonElementRef<NType,NClass>Copyright © 2018 Oracle Corporation. All rights reserved.