public interface UnionType extends SimpleType, ItemType
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION, DERIVE_BY_SUBSTITUTION
COMPONENT_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, validateContent
allowsDerivation, analyzeContentExpression, atomize, checkTypeDerivationIsOK, getBaseType, getBlock, getDerivationMethod, getDescription, getDisplayName, getEQName, getFinalProhibitions, getFingerprint, getName, getStructuredQName, getSystemId, getTargetNamespace, isAnonymousType, isComplexType, isIdRefType, isIdType, isSameType, isSimpleType
getComponentAsFunction, getRedefinitionLevel, getValidationStatus
generateJavaScriptItemTypeAcceptor, generateJavaScriptItemTypeTest, getAtomizedItemType, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, isPlainType, matches, visitNamedSchemaComponents
boolean containsListType() throws MissingComponentException
MissingComponentException
Iterable<PlainType> getPlainMemberTypes() throws MissingComponentException
MissingComponentException
SequenceType getResultTypeOfCast()
ValidationFailure checkAgainstFacets(AtomicValue value, ConversionRules rules)
value
- rules
- Copyright (c) 2004-2017 Saxonica Limited. All rights reserved.