Class RawTypeSetBuilder.CElementInfoRef
- java.lang.Object
-
- com.sun.tools.xjc.reader.RawTypeSet.Ref
-
- com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder.CElementInfoRef
-
- Enclosing class:
- RawTypeSetBuilder
public final class RawTypeSetBuilder.CElementInfoRef extends RawTypeSet.Ref
Reference to a class that maps from an element.
-
-
Field Summary
Fields Modifier and Type Field Description XSElementDecldeclCElementInfotarget
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RawTypeSet.ModecanBeType(RawTypeSet parent)Can thisRawTypeSet.Refbe a type ref?protected MimeTypegetExpectedMimeType()When 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 booleanisListOfValues()protected voidtoElementRef(CReferencePropertyInfo prop)protected CTypeReftoTypeRef(CElementPropertyInfo ep)
-
-
-
Field Detail
-
target
public final CElementInfo target
-
decl
public final XSElementDecl decl
-
-
Method Detail
-
toTypeRef
protected CTypeRef toTypeRef(CElementPropertyInfo ep)
- Specified by:
toTypeRefin classRawTypeSet.Ref- Parameters:
ep- the property to which the returnedCTypeRefwill be added to.
-
toElementRef
protected void toElementRef(CReferencePropertyInfo prop)
- Specified by:
toElementRefin classRawTypeSet.Ref
-
canBeType
protected RawTypeSet.Mode canBeType(RawTypeSet parent)
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 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
-
-