|
API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSequenceType
Represents a sequence type. To examine the type, a user should first call the 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 top of the column 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 |
Nested Class Summary | |
---|---|
static class |
XSequenceType.Kind
Enumeration for the kind of sequence as defined in the SequenceType syntax. |
static class |
XSequenceType.OccurrenceIndicator
Enumeration of occurrence indicators. |
Method Summary | |
---|---|
XSequenceType.Kind |
getKind()
Returns an enumerator indicating the Kind of the sequence type. |
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. |
QName |
getTypeName()
Returns the name of a schema type used in the sequence type. |
Method Detail |
---|
XSequenceType.Kind getKind()
QName getName()
QName getTypeName()
boolean getNillable()
XSequenceType.OccurrenceIndicator getOccurrenceIndicator()
|
IBM Copyright 2004-2008 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |