net.sf.saxon.s9api
Class OccurrenceIndicator
java.lang.Object
net.sf.saxon.s9api.OccurrenceIndicator
public class OccurrenceIndicator
extends java.lang.Object
Represents one of the possible occurrence indicators in a SequenceType. The four standard values are
ONE (no occurrence indicator), ZERO_OR_ONE (?), ZERO_OR_MORE (*), ONE_OR_MORE (+). In addition the
value ZERO is supported, this is used only in the type empty-sequence() which matches an empty sequence
and nothing else.
getCardinality
protected int getCardinality()