RawTypeSetBuilder.CClassRef
, RawTypeSetBuilder.CElementInfoRef
, RawTypeSetBuilder.WildcardRef
, RawTypeSetBuilder.XmlTypeRef
public abstract static class RawTypeSet.Ref extends Object
A RawTypeSet.Ref
can be either turned into CTypeRef
to form
an element property, or Element
to form a reference property.
Constructor | Description |
---|---|
Ref() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract RawTypeSet.Mode |
canBeType(RawTypeSet parent) |
Can this
RawTypeSet.Ref be a type ref? |
protected MimeType |
getExpectedMimeType() |
When this
RawTypeSet binds to a CElementPropertyInfo ,
this method is used to determine if the property has an associated expected MIME type or not. |
protected abstract ID |
id() |
When this
RawTypeSet binds to a CElementPropertyInfo ,
this method is used to determine if the property is ID or not. |
protected abstract boolean |
isListOfValues() |
|
protected abstract void |
toElementRef(CReferencePropertyInfo prop) |
|
protected abstract CTypeRef |
toTypeRef(CElementPropertyInfo ep) |
protected abstract CTypeRef toTypeRef(CElementPropertyInfo ep)
ep
- the property to which the returned CTypeRef
will be
added to.protected abstract void toElementRef(CReferencePropertyInfo prop)
protected abstract RawTypeSet.Mode canBeType(RawTypeSet parent)
RawTypeSet.Ref
be a type ref?parent
- protected abstract boolean isListOfValues()
protected abstract ID id()
RawTypeSet
binds to a CElementPropertyInfo
,
this method is used to determine if the property is ID or not.protected MimeType getExpectedMimeType()
RawTypeSet
binds to a CElementPropertyInfo
,
this method is used to determine if the property has an associated expected MIME type or not.Copyright © 2018 Oracle Corporation. All rights reserved.