SchemaType.Ref (xmlbeans API)

org.apache.xmlbeans

## Class SchemaType.Ref

- java.lang.Object
- - org.apache.xmlbeans.SchemaComponent.Ref
  - - org.apache.xmlbeans.SchemaType.Ref

- Enclosing interface:
    SchemaType

      public static final class SchemaType.Ref
      extends SchemaComponent.Ref

  Used to allow on-demand loading of types.

- - ### Field Summary

    - ### Fields inherited from class org.apache.xmlbeans.SchemaComponent.Ref

      `_handle`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Ref(SchemaType type)`
    `Ref(SchemaTypeSystem system, String handle)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SchemaType` | `get()`
    `int` | `getComponentType()`

    - ### Methods inherited from class org.apache.xmlbeans.SchemaComponent.Ref

      `getComponent, getTypeSystem`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Ref

          public Ref(SchemaType type)

    - #### Ref

          public Ref(SchemaTypeSystem system,
                     String handle)

  - ### Method Detail

    - #### getComponentType

          public final int getComponentType()

      Specified by:
        `getComponentType` in class `SchemaComponent.Ref`

    - #### get

          public final SchemaType get()