com.ibm.xml.xapi
Enum XSequenceType.Kind
- java.lang.Object
java.lang.Enum<XSequenceType.Kind>
com.ibm.xml.xapi.XSequenceType.Kind
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<XSequenceType.Kind>
Enclosing interface:
- public static enum XSequenceType.Kind
- extends java.lang.Enum<XSequenceType.Kind>
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:
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 |
---|---|
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
|
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
- public static final XSequenceType.Kind EMPTY
ITEM
- public static final XSequenceType.Kind ITEM
ATOMIC
- public static final XSequenceType.Kind ATOMIC
DOCUMENT
- public static final XSequenceType.Kind DOCUMENT
DOCUMENT_WITH_ELEMENT
- public static final XSequenceType.Kind DOCUMENT_WITH_ELEMENT
DOCUMENT_WITH_SCHEMA_ELEMENT
- public static final XSequenceType.Kind DOCUMENT_WITH_SCHEMA_ELEMENT
ELEMENT
- public static final XSequenceType.Kind ELEMENT
ATTRIBUTE
- public static final XSequenceType.Kind ATTRIBUTE
SCHEMA_ELEMENT
- public static final XSequenceType.Kind SCHEMA_ELEMENT
SCHEMA_ATTRIBUTE
- public static final XSequenceType.Kind SCHEMA_ATTRIBUTE
PI
- public static final XSequenceType.Kind PI
COMMENT
- public static final XSequenceType.Kind COMMENT
TEXT
- public static final XSequenceType.Kind TEXT
NODE
- public static final XSequenceType.Kind NODE
FOREIGN_OBJECT
- public static final XSequenceType.Kind FOREIGN_OBJECT
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:
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