Class Ref<T,C>

java.lang.Object
com.sun.xml.bind.v2.model.core.Ref<T,C>

public final class Ref<T,C> extends Object
Reference to a type in a model. TODO: isn't there a similarity between this and TypeUse in XJC?
Author:
Kohsuke Kawaguchi
  • Field Details

    • type

      public final T type
      The type being referenced.

      If the type is adapted, this field is the same as the adapter's default type.

    • adapter

      public final Adapter<T,C> adapter
      If the reference has an adapter, non-null.
    • valueList

      public final boolean valueList
      If the type is an array and it is a value list, true.
  • Constructor Details