com.sun.xml.bind.v2.model.impl
Class RuntimeTypeRefImpl

java.lang.Object
  extended by com.sun.xml.bind.v2.model.impl.TypeRefImpl<Type,Class>
      extended by com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl
All Implemented Interfaces:
NonElementRef<Type,Class>, TypeRef<Type,Class>, RuntimeNonElementRef, RuntimeTypeRef

final class RuntimeTypeRefImpl
extends TypeRefImpl<Type,Class>
implements RuntimeTypeRef


Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.model.impl.TypeRefImpl
owner
 
Constructor Summary
RuntimeTypeRefImpl(RuntimeElementPropertyInfoImpl elementPropertyInfo, QName elementName, Type type, boolean isNillable, String defaultValue)
           
 
Method Summary
 RuntimePropertyInfo getSource()
          Gets the property which is the source of this reference.
 RuntimeNonElement getTarget()
          Target of the reference.
 Transducer getTransducer()
          If the XML representation of the referenced Java type is just a text, return a transducer that converts between the bean and XML.
 
Methods inherited from class com.sun.xml.bind.v2.model.impl.TypeRefImpl
getDefaultValue, getTagName, isNillable, link
 
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.TypeRef
getDefaultValue, getTagName, isNillable
 

Constructor Detail

RuntimeTypeRefImpl

public RuntimeTypeRefImpl(RuntimeElementPropertyInfoImpl elementPropertyInfo,
                          QName elementName,
                          Type type,
                          boolean isNillable,
                          String defaultValue)
Method Detail

getTarget

public RuntimeNonElement getTarget()
Description copied from interface: NonElementRef
Target of the reference.

Specified by:
getTarget in interface NonElementRef<Type,Class>
Specified by:
getTarget in interface RuntimeNonElementRef
Specified by:
getTarget in interface RuntimeTypeRef
Overrides:
getTarget in class TypeRefImpl<Type,Class>
Returns:
never null

getTransducer

public Transducer getTransducer()
Description copied from interface: RuntimeNonElementRef
If the XML representation of the referenced Java type is just a text, return a transducer that converts between the bean and XML.

Specified by:
getTransducer in interface RuntimeNonElementRef

getSource

public RuntimePropertyInfo getSource()
Description copied from interface: NonElementRef
Gets the property which is the source of this reference.

Specified by:
getSource in interface NonElementRef<Type,Class>
Specified by:
getSource in interface RuntimeNonElementRef
Specified by:
getSource in interface RuntimeTypeRef
Overrides:
getSource in class TypeRefImpl<Type,Class>
Returns:
never null