com.ibm.xml.xapi

Enum XSequenceType.Kind

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<XSequenceType.Kind>
    Enclosing interface:
    XSequenceType


    public static enum XSequenceType.Kind
    extends java.lang.Enum<XSequenceType.Kind>
    Enumeration for the kind of sequence as defined in the SequenceType syntax. Each maps to one of the methods in XSequenceTypeFactory. ITEM will be the kind for a sequence type created with the XSequenceTypeFactory.item method, ELEMENT will be the kind for a sequence type created with the XSequenceTypeFactory.element method, etc.
    See Also:
    XSequenceTypeFactory
    • Method Detail

      • values

        public static XSequenceType.Kind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (XSequenceType.Kind c : XSequenceType.Kind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static XSequenceType.Kind valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
IBM WebSphere Application Server XML API JavadocTM
Release 8.5