public static final class RawTypeSetBuilder.XmlTypeRef extends RawTypeSet.Ref
| Constructor | Description |
|---|---|
XmlTypeRef(XSElementDecl decl) |
| Modifier and Type | Method | Description |
|---|---|---|
protected RawTypeSet.Mode |
canBeType(RawTypeSet parent) |
Can this
RawTypeSet.Ref be a type ref? |
protected javax.activation.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 com.sun.xml.bind.v2.model.core.ID |
id() |
When this
RawTypeSet binds to a CElementPropertyInfo,
this method is used to determine if the property is ID or not. |
protected boolean |
isListOfValues() |
|
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.
|
protected CTypeRef |
toTypeRef(CElementPropertyInfo ep) |
public XmlTypeRef(XSElementDecl decl)
protected CTypeRef toTypeRef(CElementPropertyInfo ep)
toTypeRef in class RawTypeSet.Refep - the property to which the returned CTypeRef will be
added to.protected void toElementRef(CReferencePropertyInfo prop)
toElementRef in class RawTypeSet.Refprotected RawTypeSet.Mode canBeType(RawTypeSet parent)
RawTypeSet.RefRawTypeSet.Ref be a type ref?canBeType in class RawTypeSet.Refprotected boolean isListOfValues()
isListOfValues in class RawTypeSet.Refprotected com.sun.xml.bind.v2.model.core.ID id()
RawTypeSet.RefRawTypeSet binds to a CElementPropertyInfo,
this method is used to determine if the property is ID or not.id in class RawTypeSet.Refprotected javax.activation.MimeType getExpectedMimeType()
RawTypeSet.RefRawTypeSet binds to a CElementPropertyInfo,
this method is used to determine if the property has an associated expected MIME type or not.getExpectedMimeType in class RawTypeSet.RefCopyright © 2018 Oracle Corporation. All rights reserved.