net.sf.saxon.type
Interface PlainType

All Superinterfaces:
ItemType, Serializable
All Known Subinterfaces:
AtomicType
All Known Implementing Classes:
BuiltInAtomicType, ExternalObjectType, 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
 Set<PlainType> getPlainMemberTypes()
          Get the set 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, toString, visitNamedSchemaComponents
 

Method Detail

isExternalType

boolean isExternalType()

getPlainMemberTypes

Set<PlainType> getPlainMemberTypes()
Get the set of plain types that are subsumed by this type

Returns:
for an atomic type, the type itself; for a plain union type, the set of plain types in its transitive membership


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