public interface XSequenceType
getKind
method. The other accessor
methods may be applicable depending on the Kind
of the sequence type. The following table has a row for each Kind
.
Cells containing "Y" indicate that the return value of the method at the column-header has meaning for sequence types having that Kind
.
getName() | getTypeName() | getNillable() | getForeignClass() | getOccurrenceIndicator() | |
---|---|---|---|---|---|
EMPTY | |||||
ITEM | Y | ||||
ATOMIC | Y | Y | |||
DOCUMENT | Y | ||||
DOCUMENT_WITH_ELEMENT | Y | Y | Y | Y | |
DOCUMENT_WITH_SCHEMA_ELEMENT | Y | Y | |||
ELEMENT | Y | Y | Y | Y | |
ATTRIBUTE | Y | Y | Y | ||
SCHEMA_ELEMENT | Y | Y | |||
SCHEMA_ATTRIBUTE | Y | Y | |||
PI | Y | Y | |||
COMMENT | Y | ||||
TEXT | Y | ||||
NODE | Y | ||||
FOREIGN_OBJECT | Y | Y |
Modifier and Type | Interface and Description |
---|---|
static class |
XSequenceType.Kind
Enumeration for the kind of sequence as defined in the
SequenceType syntax.
|
static class |
XSequenceType.OccurrenceIndicator
Enumeration of occurrence indicators.
|
Modifier and Type | Method and Description |
---|---|
XSequenceType.Kind |
getKind()
Returns an enumerator indicating the Kind of the sequence type.
|
javax.xml.namespace.QName |
getName()
Returns the name of a processing instruction, element, attribute, element declaration, or attribute declaration used in the sequence type
or null for an element or attribute wildcard.
|
boolean |
getNillable()
Returns true for sequence types that match nillable elements.
|
XSequenceType.OccurrenceIndicator |
getOccurrenceIndicator()
Returns an enumerator indicating how many items may appear in a sequence of this type; the cardinality.
|
javax.xml.namespace.QName |
getTypeName()
Returns the name of a schema type used in the sequence type.
|
XSequenceType.Kind getKind()
javax.xml.namespace.QName getName()
javax.xml.namespace.QName getTypeName()
boolean getNillable()
XSequenceType.OccurrenceIndicator getOccurrenceIndicator()