|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.model.CTypeRef
public final class CTypeRef
TypeRef
for XJC.
TODO: do we need the source schema component support here?
Field Summary | |
---|---|
com.sun.xml.xsom.XmlString |
defaultValue
|
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)
|
Method Summary | |
---|---|
java.lang.String |
getDefaultValue()
Inside XJC, use defaultValue that has context information. |
static javax.xml.namespace.QName |
getSimpleTypeName(com.sun.xml.xsom.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final com.sun.xml.xsom.XmlString defaultValue
Constructor Detail |
---|
public CTypeRef(CNonElement type, com.sun.xml.xsom.XSElementDecl decl)
public CTypeRef(CNonElement type, javax.xml.namespace.QName elementName, javax.xml.namespace.QName typeName, boolean nillable, com.sun.xml.xsom.XmlString defaultValue)
Method Detail |
---|
public javax.xml.namespace.QName getTypeName()
public static javax.xml.namespace.QName getSimpleTypeName(com.sun.xml.xsom.XSElementDecl decl)
public CNonElement getTarget()
NonElementRef
getTarget
in interface NonElementRef<NType,NClass>
public javax.xml.namespace.QName getTagName()
TypeRef
getTagName
in interface TypeRef<NType,NClass>
public boolean isNillable()
TypeRef
isNillable
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>
defaultValue
public boolean isLeaf()
public PropertyInfo<NType,NClass> getSource()
NonElementRef
getSource
in interface NonElementRef<NType,NClass>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |