Package com.sun.tools.xjc.reader
Class RawTypeSet.Ref
- java.lang.Object
-
- com.sun.tools.xjc.reader.RawTypeSet.Ref
-
- Direct Known Subclasses:
RawTypeSetBuilder.CClassRef,RawTypeSetBuilder.CElementInfoRef,RawTypeSetBuilder.WildcardRef,RawTypeSetBuilder.XmlTypeRef
- Enclosing class:
- RawTypeSet
public abstract static class RawTypeSet.Ref extends Object
A reference to something.A
RawTypeSet.Refcan be either turned intoCTypeRefto form an element property, orElementto form a reference property.
-
-
Constructor Summary
Constructors Constructor Description Ref()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract RawTypeSet.ModecanBeType(RawTypeSet parent)Can thisRawTypeSet.Refbe a type ref?protected javax.activation.MimeTypegetExpectedMimeType()When thisRawTypeSetbinds to aCElementPropertyInfo, this method is used to determine if the property has an associated expected MIME type or not.protected abstract 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 abstract booleanisListOfValues()protected abstract voidtoElementRef(CReferencePropertyInfo prop)protected abstract CTypeReftoTypeRef(CElementPropertyInfo ep)
-
-
-
Method Detail
-
toTypeRef
protected abstract CTypeRef toTypeRef(CElementPropertyInfo ep)
- Parameters:
ep- the property to which the returnedCTypeRefwill be added to.
-
toElementRef
protected abstract void toElementRef(CReferencePropertyInfo prop)
-
canBeType
protected abstract RawTypeSet.Mode canBeType(RawTypeSet parent)
Can thisRawTypeSet.Refbe a type ref?- Parameters:
parent-- Returns:
- false to veto.
-
isListOfValues
protected abstract boolean isListOfValues()
-
id
protected abstract com.sun.xml.bind.v2.model.core.ID id()
When thisRawTypeSetbinds to aCElementPropertyInfo, this method is used to determine if the property is ID or not.
-
getExpectedMimeType
protected javax.activation.MimeType getExpectedMimeType()
When thisRawTypeSetbinds to aCElementPropertyInfo, this method is used to determine if the property has an associated expected MIME type or not.
-
-