com.ibm.xml.xapi

Interface XSequenceType



  • 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 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_ELEMENTY       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
    • Method Summary

      Methods 
      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.
    • Method Detail

      • getKind

        XSequenceType.Kind getKind()
        Returns an enumerator indicating the Kind of the sequence type.
      • getName

        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.
      • getTypeName

        javax.xml.namespace.QName getTypeName()
        Returns the name of a schema type used in the sequence type.
      • getNillable

        boolean getNillable()
        Returns true for sequence types that match nillable elements.
      • getOccurrenceIndicator

        XSequenceType.OccurrenceIndicator getOccurrenceIndicator()
        Returns an enumerator indicating how many items may appear in a sequence of this type; the cardinality.
IBM WebSphere Application Server XML API JavadocTM
Release 9.0