|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.reader.RawTypeSet.Ref
com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder.XmlTypeRef
public static final class RawTypeSetBuilder.XmlTypeRef
References to a type. Could be global or local.
Constructor Summary | |
---|---|
RawTypeSetBuilder.XmlTypeRef(com.sun.xml.xsom.XSElementDecl decl)
|
Method Summary | |
---|---|
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 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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RawTypeSetBuilder.XmlTypeRef(com.sun.xml.xsom.XSElementDecl decl)
Method Detail |
---|
protected CTypeRef toTypeRef(CElementPropertyInfo ep)
toTypeRef
in class RawTypeSet.Ref
ep
- the property to which the returned CTypeRef
will be
added to.protected void toElementRef(CReferencePropertyInfo prop)
toElementRef
in class RawTypeSet.Ref
protected RawTypeSet.Mode canBeType(RawTypeSet parent)
RawTypeSet.Ref
RawTypeSet.Ref
be a type ref?
canBeType
in class RawTypeSet.Ref
protected boolean isListOfValues()
isListOfValues
in class RawTypeSet.Ref
protected ID id()
RawTypeSet.Ref
RawTypeSet
binds to a CElementPropertyInfo
,
this method is used to determine if the property is ID or not.
id
in class RawTypeSet.Ref
protected javax.activation.MimeType getExpectedMimeType()
RawTypeSet.Ref
RawTypeSet
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.Ref
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |