Class RawTypeSetBuilder.XmlTypeRef
java.lang.Object
com.sun.tools.xjc.reader.RawTypeSet.Ref
com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder.XmlTypeRef
- Enclosing class:
- RawTypeSetBuilder
References to a type. Could be global or local.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RawTypeSet.ModecanBeType(RawTypeSet parent) Can thisRawTypeSet.Refbe a type ref?protected javax.activation.MimeTypeWhen thisRawTypeSetbinds to aCElementPropertyInfo, this method is used to determine if the property has an associated expected MIME type or not.protected com.sun.xml.bind.v2.model.core.IDid()When thisRawTypeSetbinds to aCElementPropertyInfo, this method is used to determine if the property is ID or not.protected booleanprotected voidThe 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 CTypeRef
-
Constructor Details
-
XmlTypeRef
-
-
Method Details
-
toTypeRef
- Specified by:
toTypeRefin classRawTypeSet.Ref- Parameters:
ep- the property to which the returnedCTypeRefwill be added to.
-
toElementRef
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.- Specified by:
toElementRefin classRawTypeSet.Ref
-
canBeType
Description copied from class:RawTypeSet.RefCan thisRawTypeSet.Refbe a type ref?- Specified by:
canBeTypein classRawTypeSet.Ref- Returns:
- false to veto.
-
isListOfValues
protected boolean isListOfValues()- Specified by:
isListOfValuesin classRawTypeSet.Ref
-
id
protected com.sun.xml.bind.v2.model.core.ID id()Description copied from class:RawTypeSet.RefWhen thisRawTypeSetbinds to aCElementPropertyInfo, this method is used to determine if the property is ID or not.- Specified by:
idin classRawTypeSet.Ref
-
getExpectedMimeType
protected javax.activation.MimeType getExpectedMimeType()Description copied from class:RawTypeSet.RefWhen thisRawTypeSetbinds to aCElementPropertyInfo, this method is used to determine if the property has an associated expected MIME type or not.- Overrides:
getExpectedMimeTypein classRawTypeSet.Ref
-