org.apache.xerces.xs

## Interface XSTypeAlternative

- All Superinterfaces:
    XSObject

      public interface XSTypeAlternative
      extends XSObject

  This interface represents the XML schema type alternative component. Type alternative component was first introduced in the XML schema structures 1.1 specification as a means of implementing conditional type assignment.
  Version:
    $Id: XSTypeAlternative.java 1128992 2011-05-30 04:47:00Z mukulg $
  Author:
    Hiranya Jayathilaka, University of Moratuwa

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XSObjectList` | `getAnnotations()` A sequence of [annotations] or an empty `XSObjectList`.
    `java.lang.String` | `getTestStr()` [test]: a restricted XPath 2.0 expression or null.
    `XSTypeDefinition` | `getTypeDefinition()` [type definition]: a valid type definition component

    - ### Methods inherited from interface org.apache.xerces.xs.XSObject

      `getName, getNamespace, getNamespaceItem, getType`

- - ### Method Detail

    - #### getAnnotations

          XSObjectList getAnnotations()

      A sequence of [annotations] or an empty `XSObjectList`.

    - #### getTestStr

          java.lang.String getTestStr()

      [test]: a restricted XPath 2.0 expression or null.

    - #### getTypeDefinition

          XSTypeDefinition getTypeDefinition()

      [type definition]: a valid type definition component

Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.