CCustomizable, com.sun.xml.bind.v2.model.annotation.AnnotationSource, com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass>, com.sun.xml.bind.v2.model.core.ReferencePropertyInfo<NType,NClass>public final class CReferencePropertyInfo extends CPropertyInfo implements com.sun.xml.bind.v2.model.core.ReferencePropertyInfo<NType,NClass>
ReferencePropertyInfo for the compiler.baseType, defaultValue, inlineBinaryData, javadoc, locator, realization| Constructor | Description |
|---|---|
CReferencePropertyInfo(java.lang.String name,
boolean collection,
boolean required,
boolean isMixed,
XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator locator,
boolean dummy,
boolean content,
boolean isMixedExtended) |
| Modifier and Type | Method | Description |
|---|---|---|
<V> V |
accept(CPropertyVisitor<V> visitor) |
|
<R,P> R |
accept(CPropertyVisitor2<R,P> visitor,
P p) |
|
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() |
|
com.sun.xml.bind.v2.model.core.WildcardMode |
getWildcard() |
|
javax.xml.namespace.QName |
getXmlName() |
Deprecated.
|
com.sun.xml.bind.v2.model.core.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.
|
com.sun.xml.bind.v2.model.core.PropertyKind |
kind() |
|
java.util.Set<? extends CTypeInfo> |
ref() |
|
void |
setWildcard(com.sun.xml.bind.v2.model.core.WildcardMode mode) |
hasAnnotation, readAnnotationdisplayName, getCustomizations, getLocator, getName, getName, getSchemaComponent, hasAnnotation, inlineBinaryData, isCollection, needsExplicitTypeName, parent, readAnnotation, setNamepublic CReferencePropertyInfo(java.lang.String name,
boolean collection,
boolean required,
boolean isMixed,
XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator locator,
boolean dummy,
boolean content,
boolean isMixedExtended)
public java.util.Set<? extends CTypeInfo> ref()
public 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()
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 com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass>getAdapter in interface com.sun.xml.bind.v2.model.core.ReferencePropertyInfo<NType,NClass>getAdapter in class CPropertyInfopublic final com.sun.xml.bind.v2.model.core.PropertyKind kind()
public com.sun.xml.bind.v2.model.core.ID id()
public com.sun.xml.bind.v2.model.core.WildcardMode getWildcard()
public void setWildcard(com.sun.xml.bind.v2.model.core.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)
CPropertyInfocollectElementNames in class CPropertyInfoCopyright © 2018 Oracle Corporation. All rights reserved.