com.ibm.xml.xapi

Enum XSequenceType.Kind

  1. java.lang.Object
  2. extended byjava.lang.Enum<XSequenceType.Kind>
  3. extended bycom.ibm.xml.xapi.XSequenceType.Kind
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<XSequenceType.Kind>
Enclosing interface:
XSequenceType

  1. public static enum XSequenceType.Kind
  2. 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

Enum Constant Summary

Enum Constant and Description
ATOMIC
ATTRIBUTE
COMMENT
DOCUMENT
DOCUMENT_WITH_ELEMENT
DOCUMENT_WITH_SCHEMA_ELEMENT
ELEMENT
EMPTY
FOREIGN_OBJECT
ITEM
NODE
PI
SCHEMA_ATTRIBUTE
SCHEMA_ELEMENT
TEXT

Method Summary

Modifier and Type Method and Description
  1. static
  2. XSequenceType.Kind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
  1. static
  2. XSequenceType.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Enum Constant Detail

EMPTY

  1. public static final XSequenceType.Kind EMPTY

ITEM

  1. public static final XSequenceType.Kind ITEM

ATOMIC

  1. public static final XSequenceType.Kind ATOMIC

DOCUMENT

  1. public static final XSequenceType.Kind DOCUMENT

DOCUMENT_WITH_ELEMENT

  1. public static final XSequenceType.Kind DOCUMENT_WITH_ELEMENT

DOCUMENT_WITH_SCHEMA_ELEMENT

  1. public static final XSequenceType.Kind DOCUMENT_WITH_SCHEMA_ELEMENT

ELEMENT

  1. public static final XSequenceType.Kind ELEMENT

ATTRIBUTE

  1. public static final XSequenceType.Kind ATTRIBUTE

SCHEMA_ELEMENT

  1. public static final XSequenceType.Kind SCHEMA_ELEMENT

SCHEMA_ATTRIBUTE

  1. public static final XSequenceType.Kind SCHEMA_ATTRIBUTE

PI

  1. public static final XSequenceType.Kind PI

COMMENT

  1. public static final XSequenceType.Kind COMMENT

TEXT

  1. public static final XSequenceType.Kind TEXT

NODE

  1. public static final XSequenceType.Kind NODE

FOREIGN_OBJECT

  1. public static final XSequenceType.Kind FOREIGN_OBJECT

Method Detail

values

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

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