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.CSingleTypePropertyInfo
          extended by com.sun.tools.xjc.model.CValuePropertyInfo
All Implemented Interfaces:
CCustomizable, AnnotationSource, NonElementRef<NType,NClass>, PropertyInfo<NType,NClass>, ValuePropertyInfo<NType,NClass>

public final class CValuePropertyInfo
extends CSingleTypePropertyInfo
implements ValuePropertyInfo<NType,NClass>

ValuePropertyInfo implementation for XJC.


Field Summary
 
Fields inherited from class com.sun.tools.xjc.model.CSingleTypePropertyInfo
type
 
Fields inherited from class com.sun.tools.xjc.model.CPropertyInfo
baseType, defaultValue, inlineBinaryData, javadoc, locator, realization
 
Constructor Summary
CValuePropertyInfo(String name, XSComponent source, CCustomizations customizations, Locator locator, TypeUse type, QName typeName)
           
 
Method Summary
<V> V
accept(CPropertyVisitor<V> visitor)
           
 PropertyKind kind()
          Gets the kind of this proeprty.
 
Methods inherited from class com.sun.tools.xjc.model.CSingleTypePropertyInfo
getAdapter, getExpectedMimeType, getSchemaType, getSource, getTarget, id, 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, 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.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(String name,
                          XSComponent source,
                          CCustomizations customizations,
                          Locator locator,
                          TypeUse type,
                          QName typeName)
Method Detail

kind

public final PropertyKind kind()
Description copied from interface: PropertyInfo
Gets the kind of this proeprty.

Specified by:
kind in interface PropertyInfo<NType,NClass>
Returns:
always non-null.

accept

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