Package net.sf.saxon.type
Interface ChoiceType
- All Known Subinterfaces:
UnionType
- All Known Implementing Classes:
ChoiceItemType,EnumerationUnionType,ErrorType,LocalUnionType,NumericType,UserUnionType
public interface ChoiceType
Interface representing either an XPath-defined choice type or an XSD-defined (pure) union type. The two cases
are slightly different. The instances of an XSD-defined union are always atomic items, and they always support
(for example) casting from string. But the coercion rules for both cases are very similar.
-
Method Summary
Modifier and TypeMethodDescriptionGet the alternative types available within this choice types
-
Method Details
-
getAlternatives
Get the alternative types available within this choice types- Returns:
- the alternative item types
-