public interface UnionType extends SimpleType, ItemType
DERIVATION_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)
Check an atomic value that is known to be an instance of one of the member types
against any facets defined at the level of the union itself
|
boolean |
containsListType()
Ask whether the union contains a list type among its member types
|
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, visitNamedSchemaComponentsboolean containsListType()
throws MissingComponentException
MissingComponentExceptionIterable<PlainType> getPlainMemberTypes() throws MissingComponentException
MissingComponentExceptionSequenceType getResultTypeOfCast()
ValidationFailure checkAgainstFacets(AtomicValue value, ConversionRules rules)
value - rules - Copyright (c) 2004-2017 Saxonica Limited. All rights reserved.