Package com.sun.tools.xjc.model
Class CValuePropertyInfo
- java.lang.Object
-
- com.sun.tools.xjc.model.CPropertyInfo
-
- com.sun.tools.xjc.model.CValuePropertyInfo
-
- All Implemented Interfaces:
CCustomizable
,org.glassfish.jaxb.core.v2.model.annotation.AnnotationSource
,org.glassfish.jaxb.core.v2.model.core.NonElementRef<NType,NClass>
,org.glassfish.jaxb.core.v2.model.core.PropertyInfo<NType,NClass>
,org.glassfish.jaxb.core.v2.model.core.ValuePropertyInfo<NType,NClass>
public final class CValuePropertyInfo extends CPropertyInfo implements org.glassfish.jaxb.core.v2.model.core.ValuePropertyInfo<NType,NClass>
ValuePropertyInfo
implementation for XJC.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected TypeUse
type
-
Fields inherited from class com.sun.tools.xjc.model.CPropertyInfo
baseType, defaultValue, inlineBinaryData, javadoc, locator, realization
-
-
Constructor Summary
Constructors Constructor Description CValuePropertyInfo(String name, XSComponent source, CCustomizations customizations, Locator locator, TypeUse type, QName typeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> V
accept(CPropertyVisitor<V> visitor)
<R,P>
Raccept(CPropertyVisitor2<R,P> visitor, P p)
CAdapter
getAdapter()
jakarta.activation.MimeType
getExpectedMimeType()
QName
getSchemaType()
com.sun.tools.xjc.model.CSingleTypePropertyInfo
getSource()
CNonElement
getTarget()
org.glassfish.jaxb.core.v2.model.core.ID
id()
org.glassfish.jaxb.core.v2.model.core.PropertyKind
kind()
List<? extends CTypeInfo>
ref()
-
Methods inherited from class com.sun.tools.xjc.model.CPropertyInfo
collectElementNames, displayName, getCustomizations, getLocator, getName, getName, getSchemaComponent, hasAnnotation, inlineBinaryData, isCollection, isOptionalPrimitive, isUnboxable, needsExplicitTypeName, parent, readAnnotation, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationSource
hasAnnotation, readAnnotation
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.NonElementRef
getSource, getTarget
-
-
-
-
Field Detail
-
type
protected final TypeUse type
-
-
Constructor Detail
-
CValuePropertyInfo
public CValuePropertyInfo(String name, XSComponent source, CCustomizations customizations, Locator locator, TypeUse type, QName typeName)
-
-
Method Detail
-
kind
public final org.glassfish.jaxb.core.v2.model.core.PropertyKind kind()
-
accept
public <V> V accept(CPropertyVisitor<V> visitor)
- Specified by:
accept
in classCPropertyInfo
-
accept
public <R,P> R accept(CPropertyVisitor2<R,P> visitor, P p)
- Specified by:
accept
in classCPropertyInfo
-
getSchemaType
public QName getSchemaType()
-
id
public final org.glassfish.jaxb.core.v2.model.core.ID id()
-
getExpectedMimeType
public final jakarta.activation.MimeType getExpectedMimeType()
-
ref
public final List<? extends CTypeInfo> ref()
- Specified by:
ref
in interfaceorg.glassfish.jaxb.core.v2.model.core.PropertyInfo<NType,NClass>
- Specified by:
ref
in classCPropertyInfo
-
getTarget
public final CNonElement getTarget()
-
getAdapter
public final CAdapter getAdapter()
- Specified by:
getAdapter
in interfaceorg.glassfish.jaxb.core.v2.model.core.PropertyInfo<NType,NClass>
- Specified by:
getAdapter
in classCPropertyInfo
-
getSource
public final com.sun.tools.xjc.model.CSingleTypePropertyInfo getSource()
-
-