public final class CReferencePropertyInfo extends CPropertyInfo implements ReferencePropertyInfo<NType,NClass>
ReferencePropertyInfo for the compiler.baseType, defaultValue, inlineBinaryData, javadoc, locator, realization| Constructor and Description |
|---|
CReferencePropertyInfo(String name,
boolean collection,
boolean required,
boolean isMixed,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations,
Locator locator,
boolean dummy,
boolean content,
boolean isMixedExtended) |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
accept(CPropertyVisitor<V> visitor) |
<R,P> R |
accept(CPropertyVisitor2<R,P> visitor,
P p) |
QName |
collectElementNames(Map<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() |
Set<CElement> |
getElements() |
MimeType |
getExpectedMimeType() |
QName |
getSchemaType() |
WildcardMode |
getWildcard() |
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() |
Set<? extends CTypeInfo> |
ref() |
void |
setWildcard(WildcardMode mode) |
displayName, getCustomizations, getLocator, getName, getName, getSchemaComponent, hasAnnotation, inlineBinaryData, isCollection, needsExplicitTypeName, parent, readAnnotation, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisplayName, getName, inlineBinaryData, isCollection, parenthasAnnotation, readAnnotationpublic CReferencePropertyInfo(String name, boolean collection, boolean required, boolean isMixed, com.sun.xml.xsom.XSComponent source, CCustomizations customizations, Locator locator, boolean dummy, boolean content, boolean isMixedExtended)
public Set<? extends CTypeInfo> ref()
ref in interface PropertyInfo<NType,NClass>ref in interface ReferencePropertyInfo<NType,NClass>ref in class CPropertyInfopublic Set<CElement> getElements()
getElements in interface ReferencePropertyInfo<NType,NClass>public boolean isMixed()
isMixed in interface ReferencePropertyInfo<NType,NClass>public boolean isDummy()
public boolean isContent()
public boolean isMixedExtendedCust()
@Deprecated public QName getXmlName()
getXmlName in interface ReferencePropertyInfo<NType,NClass>public boolean isUnboxable()
isUnboxable in class CPropertyInfopublic boolean isOptionalPrimitive()
CPropertyInfoisOptionalPrimitive in class CPropertyInfopublic <V> V accept(CPropertyVisitor<V> visitor)
accept in class CPropertyInfopublic <R,P> R accept(CPropertyVisitor2<R,P> visitor, P p)
accept in class CPropertyInfopublic CAdapter getAdapter()
getAdapter in interface PropertyInfo<NType,NClass>getAdapter in interface ReferencePropertyInfo<NType,NClass>getAdapter in class CPropertyInfopublic final PropertyKind kind()
kind in interface PropertyInfo<NType,NClass>public ID id()
id in interface PropertyInfo<NType,NClass>public WildcardMode getWildcard()
getWildcard in interface ReferencePropertyInfo<NType,NClass>public void setWildcard(WildcardMode mode)
public NClass getDOMHandler()
getDOMHandler in interface ReferencePropertyInfo<NType,NClass>public MimeType getExpectedMimeType()
getExpectedMimeType in interface PropertyInfo<NType,NClass>public boolean isCollectionNillable()
isCollectionNillable in interface ReferencePropertyInfo<NType,NClass>public boolean isCollectionRequired()
isCollectionRequired in interface ReferencePropertyInfo<NType,NClass>public QName getSchemaType()
getSchemaType in interface PropertyInfo<NType,NClass>public boolean isRequired()
isRequired in interface ReferencePropertyInfo<NType,NClass>public QName collectElementNames(Map<QName,CPropertyInfo> table)
CPropertyInfocollectElementNames in class CPropertyInfoCopyright © 2015 Oracle Corporation. All Rights Reserved.