com.sun.tools.xjc.reader.xmlschema

Class RawTypeSetBuilder.XmlTypeRef

public static final class RawTypeSetBuilder.XmlTypeRef extends RawTypeSet.Ref

References to a type. Could be global or local.
Constructor Summary
XmlTypeRef(XSElementDecl decl)
Method Summary
protected RawTypeSet.ModecanBeType(RawTypeSet parent)
MimeTypegetExpectedMimeType()
protected IDid()
protected booleanisListOfValues()
protected voidtoElementRef(CReferencePropertyInfo prop)
The whole type set can be later bound to a reference property, in which case we need to generate additional code to wrap this type reference into an element class.
protected CTypeReftoTypeRef(CElementPropertyInfo ep)

Constructor Detail

XmlTypeRef

public XmlTypeRef(XSElementDecl decl)

Method Detail

canBeType

protected RawTypeSet.Mode canBeType(RawTypeSet parent)

getExpectedMimeType

MimeType getExpectedMimeType()

id

protected ID id()

isListOfValues

protected boolean isListOfValues()

toElementRef

protected void toElementRef(CReferencePropertyInfo prop)
The whole type set can be later bound to a reference property, in which case we need to generate additional code to wrap this type reference into an element class. This method generates such an element class and returns it.

toTypeRef

protected CTypeRef toTypeRef(CElementPropertyInfo ep)