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
A reference to something.
A RawTypeSet.Ref
can be either turned into CTypeRef
to form
an element property, or Element
to form a reference property.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RawTypeSet.Mode
canBeType
(RawTypeSet parent) Can this be a type ref?protected MimeType
When thisRawTypeSet
binds to aCElementPropertyInfo
, this method is used to determine if the property has an associated expected MIME type or not.protected abstract ID
id()
When thisRawTypeSet
binds to aCElementPropertyInfo
, this method is used to determine if the property is ID or not.protected abstract boolean
protected abstract void
protected abstract CTypeRef
-
Constructor Details
-
Ref
protected Ref()Default constructor.
-
-
Method Details
-
toTypeRef
- Parameters:
ep
- the property to which the returnedCTypeRef
will be added to.
-
toElementRef
-
canBeType
Can this be a type ref?- Returns:
- false to veto.
-
isListOfValues
protected abstract boolean isListOfValues() -
id
When thisRawTypeSet
binds to aCElementPropertyInfo
, this method is used to determine if the property is ID or not. -
getExpectedMimeType
When thisRawTypeSet
binds to aCElementPropertyInfo
, this method is used to determine if the property has an associated expected MIME type or not.
-