net.sf.saxon.type

## Interface PlainType

- All Superinterfaces:
    ItemType, Serializable
  All Known Subinterfaces:
    AtomicType
  All Known Implementing Classes:
    BuiltInAtomicType, ErrorType, UserAtomicType, UserUnionType

      public interface PlainType
      extends ItemType

  A "plain type" is either an atomic type, or a union type that (a) imposes no restrictions other than those imposed by its member types, and (b) has exclusively plain types as its member types

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<PlainType>` | `getPlainMemberTypes()` Get the list of plain types that are subsumed by this type
    `boolean` | `isExternalType()`

    - ### Methods inherited from interface net.sf.saxon.type.ItemType

      `getAtomizedItemType, getDefaultPriority, getPrimitiveItemType, getPrimitiveType, getSuperType, isAtomicType, isAtomizable, isPlainType, matches, matchesItem, visitNamedSchemaComponents`

- - ### Method Detail

    - #### isExternalType

          boolean isExternalType()

    - #### getPlainMemberTypes

          Set<PlainType> getPlainMemberTypes()

      Get the list of plain types that are subsumed by this type
      Returns:
        for an atomic type, the type itself; for a plain union type, the list of plain types in its transitive membership

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.