com.sun.tools.xjc.model
Class CSingleTypePropertyInfo
java.lang.Object
com.sun.tools.xjc.model.CPropertyInfo
com.sun.tools.xjc.model.CSingleTypePropertyInfo
- All Implemented Interfaces:
- CCustomizable, com.sun.xml.bind.v2.model.annotation.AnnotationSource, com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass>
- Direct Known Subclasses:
- CAttributePropertyInfo, CValuePropertyInfo
abstract class CSingleTypePropertyInfo
- extends CPropertyInfo
CPropertyInfo backed by a single TypeUse.
| Methods inherited from class com.sun.tools.xjc.model.CPropertyInfo |
accept, collectElementNames, displayName, getCustomizations, getLocator, getName, getName, getSchemaComponent, hasAnnotation, inlineBinaryData, isCollection, isOptionalPrimitive, isUnboxable, needsExplicitTypeName, parent, readAnnotation, setName, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.PropertyInfo |
kind |
type
protected final TypeUse type
CSingleTypePropertyInfo
protected CSingleTypePropertyInfo(java.lang.String name,
TypeUse type,
javax.xml.namespace.QName typeName,
com.sun.xml.xsom.XSComponent source,
CCustomizations customizations,
org.xml.sax.Locator locator)
- Parameters:
typeName - XML Schema type name of this property's single value. Optional
for other schema languages. This is used to determine if we should
generate @XmlSchemaType annotation to improve the roundtrip.
getSchemaType
public javax.xml.namespace.QName getSchemaType()
id
public final com.sun.xml.bind.v2.model.core.ID id()
getExpectedMimeType
public final javax.activation.MimeType getExpectedMimeType()
ref
public final java.util.List<? extends CTypeInfo> ref()
- Specified by:
ref in interface com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass>- Specified by:
ref in class CPropertyInfo
getTarget
public final CNonElement getTarget()
getAdapter
public final CAdapter getAdapter()
- Specified by:
getAdapter in interface com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass>- Specified by:
getAdapter in class CPropertyInfo
getSource
public final CSingleTypePropertyInfo getSource()