com.sun.xml.bind.v2.model.runtime
Interface RuntimeNonElementRef

All Superinterfaces:
NonElementRef<Type,Class>
All Known Subinterfaces:
RuntimeAttributePropertyInfo, RuntimeTypeRef, RuntimeValuePropertyInfo
All Known Implementing Classes:
RuntimeAttributePropertyInfoImpl, RuntimeElementInfoImpl.RuntimePropertyImpl, RuntimeTypeRefImpl, RuntimeValuePropertyInfoImpl

public interface RuntimeNonElementRef
extends NonElementRef<Type,Class>

Runtime version of NonElementRef.

Inside the implementation, reference decorators implement this interface and this interface is used for chaining. Also, every RuntimeNonElement implementation implements this interface so that undecorated plain reference can be represented without using a separate object.


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.
 

Method Detail

getTarget

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

Specified by:
getTarget in interface NonElementRef<Type,Class>
Returns:
never null

getSource

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>
Returns:
never null

getTransducer

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.