com.sun.tools.xjc.reader.xmlschema
Class RawTypeSetBuilder.CClassInfoRef

java.lang.Object
  extended by com.sun.tools.xjc.reader.RawTypeSet.Ref
      extended by com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder.CClassInfoRef
Enclosing class:
RawTypeSetBuilder

public static final class RawTypeSetBuilder.CClassInfoRef
extends RawTypeSet.Ref

Reference to a class that maps from an element.


Field Summary
 com.sun.xml.xsom.XSElementDecl decl
           
 CClassInfo target
           
 
Constructor Summary
RawTypeSetBuilder.CClassInfoRef(com.sun.xml.xsom.XSElementDecl decl, CClassInfo target)
           
 
Method Summary
protected  boolean canBeType(RawTypeSet parent)
          Can this RawTypeSet.Ref be a type ref?
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)
           
protected  CTypeRef toTypeRef(CElementPropertyInfo ep)
           
 
Methods inherited from class com.sun.tools.xjc.reader.RawTypeSet.Ref
getExpectedMimeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

public final CClassInfo target

decl

public final com.sun.xml.xsom.XSElementDecl decl
Constructor Detail

RawTypeSetBuilder.CClassInfoRef

RawTypeSetBuilder.CClassInfoRef(com.sun.xml.xsom.XSElementDecl decl,
                                CClassInfo target)
Method Detail

toTypeRef

protected CTypeRef toTypeRef(CElementPropertyInfo ep)
Specified by:
toTypeRef in class RawTypeSet.Ref
Parameters:
ep - the property to which the returned CTypeRef will be added to.

toElementRef

protected void toElementRef(CReferencePropertyInfo prop)
Specified by:
toElementRef in class RawTypeSet.Ref

canBeType

protected boolean canBeType(RawTypeSet parent)
Description copied from class: RawTypeSet.Ref
Can this RawTypeSet.Ref be a type ref?

Specified by:
canBeType in class RawTypeSet.Ref
Returns:
false to veto.

isListOfValues

protected boolean isListOfValues()
Specified by:
isListOfValues in class RawTypeSet.Ref

id

protected com.sun.xml.bind.v2.model.core.ID id()
Description copied from class: RawTypeSet.Ref
When this RawTypeSet binds to a CElementPropertyInfo, this method is used to determine if the property is ID or not.

Specified by:
id in class RawTypeSet.Ref