public interface UnionType extends SimpleType, ItemType
ItemType.WithSequenceTypeCacheDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION, DERIVE_BY_SUBSTITUTIONCOMPONENT_FUNCTION_TYPE, FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING| Modifier and Type | Method and Description | 
|---|---|
ValidationFailure | 
checkAgainstFacets(AtomicValue value,
                  ConversionRules rules)
Validate an atomic value, which is known to be an instance of one of the member types of the
 union, against any facets (pattern facets or enumeration facets) defined at the level of the
 union itself. 
 | 
boolean | 
containsListType()
Ask whether the union contains a list type among its member types 
 | 
java.lang.Iterable<PlainType> | 
getPlainMemberTypes()
Get the "plain" types in the transitive membership. 
 | 
SequenceType | 
getResultTypeOfCast()
Get the result type of a cast operation to this union type, as a sequence type. 
 | 
getBuiltInBaseType, getTypedValue, getWhitespaceAction, isAtomicType, isBuiltInType, isExternalType, isListType, isNamespaceSensitive, isUnionType, postprocess, preprocess, validateContentallowsDerivation, analyzeContentExpression, atomize, checkTypeDerivationIsOK, getBaseType, getBlock, getDerivationMethod, getDescription, getDisplayName, getEQName, getFinalProhibitions, getFingerprint, getName, getStructuredQName, getSystemId, getTargetNamespace, isAnonymousType, isComplexType, isIdRefType, isIdType, isSameType, isSimpleTypegetComponentAsFunction, getRedefinitionLevel, getValidationStatusgenerateJavaScriptItemTypeAcceptor, generateJavaScriptItemTypeTest, getAtomizedItemType, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, isPlainType, matches, toExportString, toString, visitNamedSchemaComponentsboolean containsListType()
                  throws MissingComponentException
MissingComponentExceptionjava.lang.Iterable<PlainType> getPlainMemberTypes() throws MissingComponentException
MissingComponentExceptionSequenceType getResultTypeOfCast()
ValidationFailure checkAgainstFacets(AtomicValue value, ConversionRules rules)
value - the Atomic Value to be checked. This must be an instance of a member type of the
              unionrules - the ConversionRules for the ConfigurationCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.