|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.model.CPropertyInfo
com.sun.tools.xjc.model.CReferencePropertyInfo
public final class CReferencePropertyInfo
ReferencePropertyInfo for the compiler.
| Field Summary |
|---|
| Fields inherited from class com.sun.tools.xjc.model.CPropertyInfo |
|---|
baseType, defaultValue, inlineBinaryData, javadoc, locator, realization |
| Constructor Summary | |
|---|---|
CReferencePropertyInfo(java.lang.String name,
boolean collection,
boolean required,
boolean isMixed,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator locator,
boolean dummy,
boolean content,
boolean isMixedExtended)
|
|
| Method Summary | ||
|---|---|---|
|
accept(CPropertyVisitor<V> visitor)
|
|
javax.xml.namespace.QName |
collectElementNames(java.util.Map<javax.xml.namespace.QName,CPropertyInfo> table)
Puts the element names that this property possesses to the map, so that we can find two properties that own the same element name, which is an error. |
|
CAdapter |
getAdapter()
|
|
NClass |
getDOMHandler()
|
|
java.util.Set<CElement> |
getElements()
|
|
javax.activation.MimeType |
getExpectedMimeType()
|
|
javax.xml.namespace.QName |
getSchemaType()
|
|
WildcardMode |
getWildcard()
|
|
javax.xml.namespace.QName |
getXmlName()
Deprecated. |
|
ID |
id()
A reference property can never be ID/IDREF because they always point to other element classes. |
|
boolean |
isCollectionNillable()
|
|
boolean |
isCollectionRequired()
|
|
boolean |
isContent()
|
|
boolean |
isDummy()
|
|
boolean |
isMixed()
|
|
boolean |
isMixedExtendedCust()
|
|
boolean |
isOptionalPrimitive()
Returns true if this property needs to represent null just for the purpose of representing an absence of the property. |
|
boolean |
isRequired()
|
|
boolean |
isUnboxable()
Reference properties refer to elements, and none of the Java primitive type maps to an element. |
|
PropertyKind |
kind()
|
|
java.util.Set<? extends CTypeInfo> |
ref()
|
|
void |
setWildcard(WildcardMode mode)
|
|
| Methods inherited from class com.sun.tools.xjc.model.CPropertyInfo |
|---|
displayName, getCustomizations, getLocator, getName, getName, getSchemaComponent, hasAnnotation, inlineBinaryData, isCollection, needsExplicitTypeName, parent, readAnnotation, setName, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CReferencePropertyInfo(java.lang.String name,
boolean collection,
boolean required,
boolean isMixed,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator locator,
boolean dummy,
boolean content,
boolean isMixedExtended)
| Method Detail |
|---|
public java.util.Set<? extends CTypeInfo> ref()
ref in class CPropertyInfopublic java.util.Set<CElement> getElements()
public boolean isMixed()
public boolean isDummy()
public boolean isContent()
public boolean isMixedExtendedCust()
@Deprecated public javax.xml.namespace.QName getXmlName()
public boolean isUnboxable()
isUnboxable in class CPropertyInfopublic boolean isOptionalPrimitive()
CPropertyInfo
isOptionalPrimitive in class CPropertyInfopublic <V> V accept(CPropertyVisitor<V> visitor)
accept in class CPropertyInfopublic CAdapter getAdapter()
getAdapter in class CPropertyInfopublic final PropertyKind kind()
public ID id()
public WildcardMode getWildcard()
public void setWildcard(WildcardMode mode)
public NClass getDOMHandler()
public javax.activation.MimeType getExpectedMimeType()
public boolean isCollectionNillable()
public boolean isCollectionRequired()
public javax.xml.namespace.QName getSchemaType()
public boolean isRequired()
public javax.xml.namespace.QName collectElementNames(java.util.Map<javax.xml.namespace.QName,CPropertyInfo> table)
CPropertyInfo
collectElementNames in class CPropertyInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||