com.sun.tools.xjc.model
Class CTypeRef
java.lang.Object
com.sun.tools.xjc.model.CTypeRef
public final class CTypeRef
- extends java.lang.Object
TypeRef for XJC.
TODO: do we need the source schema component support here?
|
Field Summary |
com.sun.xml.xsom.XmlString |
defaultValue
|
(package private) javax.xml.namespace.QName |
typeName
XML Schema type name of type, if available. |
|
Constructor Summary |
CTypeRef(CNonElement type,
javax.xml.namespace.QName elementName,
javax.xml.namespace.QName typeName,
boolean nillable,
com.sun.xml.xsom.XmlString defaultValue)
|
CTypeRef(CNonElement type,
com.sun.xml.xsom.XSElementDecl decl)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeName
@Nullable
final javax.xml.namespace.QName typeName
- XML Schema type name of
type, if available.
defaultValue
public final com.sun.xml.xsom.XmlString defaultValue
CTypeRef
public CTypeRef(CNonElement type,
com.sun.xml.xsom.XSElementDecl decl)
CTypeRef
public CTypeRef(CNonElement type,
javax.xml.namespace.QName elementName,
javax.xml.namespace.QName typeName,
boolean nillable,
com.sun.xml.xsom.XmlString defaultValue)
getTypeName
public javax.xml.namespace.QName getTypeName()
getSimpleTypeName
public static javax.xml.namespace.QName getSimpleTypeName(com.sun.xml.xsom.XSElementDecl decl)
getTarget
public CNonElement getTarget()
getTagName
public javax.xml.namespace.QName getTagName()
isNillable
public boolean isNillable()
getDefaultValue
public java.lang.String getDefaultValue()
- Inside XJC, use
defaultValue that has context information.
This method is to override the one defined in the runtime model.
- See Also:
defaultValue
isLeaf
public boolean isLeaf()
getSource
public getSource()