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, AnnotationSource, NonElementRef<NType,NClass>, PropertyInfo<NType,NClass>, ValuePropertyInfo<NType,NClass>

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

ValuePropertyInfo implementation for XJC.

Author:
Kohsuke Kawaguchi

Field Summary
protected  TypeUse 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)
           
 CAdapter getAdapter()
           
 MimeType getExpectedMimeType()
           
 QName getSchemaType()
           
 com.sun.tools.xjc.model.CSingleTypePropertyInfo getSource()
           
 CNonElement getTarget()
           
 ID id()
           
 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 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
 

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 PropertyKind kind()
Specified by:
kind in interface PropertyInfo<NType,NClass>

accept

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

getSchemaType

public QName getSchemaType()

id

public final ID id()

getExpectedMimeType

public final MimeType getExpectedMimeType()

ref

public final List<? extends CTypeInfo> ref()
Specified by:
ref in interface PropertyInfo<NType,NClass>
Specified by:
ref in class CPropertyInfo

getTarget

public final CNonElement getTarget()

getAdapter

public final CAdapter getAdapter()
Specified by:
getAdapter in interface PropertyInfo<NType,NClass>
Specified by:
getAdapter in class CPropertyInfo

getSource

public final com.sun.tools.xjc.model.CSingleTypePropertyInfo getSource()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.