CCustomizable, AnnotationSource, NonElementRef<NType,NClass>, PropertyInfo<NType,NClass>, ValuePropertyInfo<NType,NClass>public final class CValuePropertyInfo extends CPropertyInfo implements ValuePropertyInfo<NType,NClass>
ValuePropertyInfo implementation for XJC.| Modifier and Type | Field | Description |
|---|---|---|
protected TypeUse |
type |
baseType, defaultValue, inlineBinaryData, javadoc, locator, realization| Constructor | Description |
|---|---|
CValuePropertyInfo(java.lang.String name,
XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator locator,
TypeUse type,
javax.xml.namespace.QName typeName) |
| Modifier and Type | Method | Description |
|---|---|---|
<V> V |
accept(CPropertyVisitor<V> visitor) |
|
<R,P> R |
accept(CPropertyVisitor2<R,P> visitor,
P p) |
|
CAdapter |
getAdapter() |
|
javax.activation.MimeType |
getExpectedMimeType() |
Expected MIME type, if any.
|
javax.xml.namespace.QName |
getSchemaType() |
The effective value of
XmlSchemaType annotation, if any. |
com.sun.tools.xjc.model.CSingleTypePropertyInfo |
getSource() |
|
CNonElement |
getTarget() |
|
ID |
id() |
Returns the IDness of the value of this element.
|
PropertyKind |
kind() |
Gets the kind of this property.
|
java.util.List<? extends CTypeInfo> |
ref() |
List of
TypeInfos that this property references. |
hasAnnotation, readAnnotationcollectElementNames, displayName, getCustomizations, getLocator, getName, getName, getSchemaComponent, hasAnnotation, inlineBinaryData, isCollection, isOptionalPrimitive, isUnboxable, needsExplicitTypeName, parent, readAnnotation, setNamegetSource, getTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisplayName, getExpectedMimeType, getName, getSchemaType, id, inlineBinaryData, isCollection, parent, refgetAdapterprotected final TypeUse type
public CValuePropertyInfo(java.lang.String name,
XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator locator,
TypeUse type,
javax.xml.namespace.QName typeName)
public final PropertyKind kind()
PropertyInfokind in interface PropertyInfo<NType,NClass>public <V> V accept(CPropertyVisitor<V> visitor)
accept in class CPropertyInfopublic <R,P> R accept(CPropertyVisitor2<R,P> visitor, P p)
accept in class CPropertyInfopublic javax.xml.namespace.QName getSchemaType()
PropertyInfoXmlSchemaType annotation, if any.
If the property doesn't have XmlSchemaType annotation,
this method returns null.
Since a type name is a property of a Java type, not a Java property,
A schema type name of a Java type should be primarily obtained
by using NonElement.getTypeName(). This method is to correctly
implement the ugly semantics of XmlSchemaType (namely
when this returns non-null, it overrides the type names of all types
that are in this property.)
public final ID id()
PropertyInfoXmlID,
XmlIDREFpublic final javax.activation.MimeType getExpectedMimeType()
PropertyInfopublic final java.util.List<? extends CTypeInfo> ref()
PropertyInfoTypeInfos that this property references.
This allows the caller to traverse the reference graph without
getting into the details of each different property type.ref in interface PropertyInfo<NType,NClass>ref in class CPropertyInfopublic final CNonElement getTarget()
public final CAdapter getAdapter()
getAdapter in interface PropertyInfo<NType,NClass>getAdapter in class CPropertyInfopublic final com.sun.tools.xjc.model.CSingleTypePropertyInfo getSource()
Copyright © 2018 Oracle Corporation. All rights reserved.