net.sf.saxon.s9api

Class 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.

Method Summary

protected int
getCardinality()

Method Details

getCardinality

protected int getCardinality()