Class RawTypeSetBuilder.CClassRef
- java.lang.Object
-
- com.sun.tools.xjc.reader.RawTypeSet.Ref
-
- com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder.CClassRef
-
- Enclosing class:
- RawTypeSetBuilder
public static final class RawTypeSetBuilder.CClassRef extends RawTypeSet.Ref
Reference to a class that maps from an element.
-
-
Field Summary
Fields Modifier and Type Field Description XSElementDecl
decl
CClass
target
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RawTypeSet.Mode
canBeType(RawTypeSet parent)
Can thisRawTypeSet.Ref
be a type ref?protected org.glassfish.jaxb.core.v2.model.core.ID
id()
When thisRawTypeSet
binds to aCElementPropertyInfo
, this method is used to determine if the property is ID or not.protected boolean
isListOfValues()
protected void
toElementRef(CReferencePropertyInfo prop)
protected CTypeRef
toTypeRef(CElementPropertyInfo ep)
-
Methods inherited from class com.sun.tools.xjc.reader.RawTypeSet.Ref
getExpectedMimeType
-
-
-
-
Field Detail
-
target
public final CClass target
-
decl
public final XSElementDecl decl
-
-
Method Detail
-
toTypeRef
protected CTypeRef toTypeRef(CElementPropertyInfo ep)
- Specified by:
toTypeRef
in classRawTypeSet.Ref
- Parameters:
ep
- the property to which the returnedCTypeRef
will be added to.
-
toElementRef
protected void toElementRef(CReferencePropertyInfo prop)
- Specified by:
toElementRef
in classRawTypeSet.Ref
-
canBeType
protected RawTypeSet.Mode canBeType(RawTypeSet parent)
Description copied from class:RawTypeSet.Ref
Can thisRawTypeSet.Ref
be a type ref?- Specified by:
canBeType
in classRawTypeSet.Ref
- Returns:
- false to veto.
-
isListOfValues
protected boolean isListOfValues()
- Specified by:
isListOfValues
in classRawTypeSet.Ref
-
id
protected org.glassfish.jaxb.core.v2.model.core.ID id()
Description copied from class:RawTypeSet.Ref
When thisRawTypeSet
binds to aCElementPropertyInfo
, this method is used to determine if the property is ID or not.- Specified by:
id
in classRawTypeSet.Ref
-
-