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) |
PropertyInfo<NType,NClass> |
getSource()
Gets the property which is the source of this reference.
|
QName |
getTagName()
The associated element name.
|
CNonElement |
getTarget()
Target of the reference.
|
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, QName elementName, QName typeName, boolean nillable, XmlString defaultValue)
public QName getTypeName()
public static QName getSimpleTypeName(XSElementDecl decl)
public CNonElement getTarget()
NonElementRef
getTarget
in interface NonElementRef<NType,NClass>
public QName getTagName()
TypeRef
getTagName
in interface TypeRef<NType,NClass>
public boolean isNillable()
TypeRef
isNillable
in interface TypeRef<NType,NClass>
public 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>
defaultValue
public boolean isLeaf()
public PropertyInfo<NType,NClass> getSource()
NonElementRef
getSource
in interface NonElementRef<NType,NClass>
Copyright © 2021 JBoss by Red Hat. All rights reserved.