com.sun.tools.xjc.model
Class CValuePropertyInfo

java.lang.Object
  extended by com.sun.tools.xjc.model.CPropertyInfo
      extended by com.sun.tools.xjc.model.CValuePropertyInfo
All Implemented Interfaces:
CCustomizable, com.sun.xml.bind.v2.model.annotation.AnnotationSource, com.sun.xml.bind.v2.model.core.NonElementRef<NType,NClass>, com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass>, com.sun.xml.bind.v2.model.core.ValuePropertyInfo<NType,NClass>

public final class CValuePropertyInfo
extends CPropertyInfo
implements com.sun.xml.bind.v2.model.core.ValuePropertyInfo<NType,NClass>

ValuePropertyInfo implementation for XJC.


Field Summary
 
Fields inherited from class com.sun.tools.xjc.model.CPropertyInfo
baseType, defaultValue, inlineBinaryData, javadoc, locator, realization
 
Constructor Summary
CValuePropertyInfo(java.lang.String name, com.sun.xml.xsom.XSComponent source, CCustomizations customizations, org.xml.sax.Locator locator, TypeUse type, javax.xml.namespace.QName typeName)
           
 
Method Summary
<V> V
accept(CPropertyVisitor<V> visitor)
           
 CAdapter getAdapter()
           
 javax.activation.MimeType getExpectedMimeType()
           
 javax.xml.namespace.QName getSchemaType()
           
 com.sun.tools.xjc.model.CSingleTypePropertyInfo getSource()
           
 CNonElement getTarget()
           
 com.sun.xml.bind.v2.model.core.ID id()
           
 com.sun.xml.bind.v2.model.core.PropertyKind kind()
           
 java.util.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, parent, readAnnotation, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.ValuePropertyInfo
getAdapter
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.PropertyInfo
displayName, getExpectedMimeType, getName, getSchemaType, id, inlineBinaryData, isCollection, parent, ref
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.AnnotationSource
hasAnnotation, readAnnotation
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.NonElementRef
getSource, getTarget
 

Constructor Detail

CValuePropertyInfo

public CValuePropertyInfo(java.lang.String name,
                          com.sun.xml.xsom.XSComponent source,
                          CCustomizations customizations,
                          org.xml.sax.Locator locator,
                          TypeUse type,
                          javax.xml.namespace.QName typeName)
Method Detail

kind

public final com.sun.xml.bind.v2.model.core.PropertyKind kind()
Specified by:
kind in interface com.sun.xml.bind.v2.model.core.PropertyInfo<NType,NClass>

accept

public <V> V accept(CPropertyVisitor<V> visitor)
Specified by:
accept in class CPropertyInfo

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 com.sun.tools.xjc.model.CSingleTypePropertyInfo getSource()