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.XSequenceTypeFactory
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 |
Modifier and Type | Method and Description |
---|---|
static XSequenceType.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XSequenceType.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XSequenceType.Kind EMPTY
public static final XSequenceType.Kind ITEM
public static final XSequenceType.Kind ATOMIC
public static final XSequenceType.Kind DOCUMENT
public static final XSequenceType.Kind DOCUMENT_WITH_ELEMENT
public static final XSequenceType.Kind DOCUMENT_WITH_SCHEMA_ELEMENT
public static final XSequenceType.Kind ELEMENT
public static final XSequenceType.Kind ATTRIBUTE
public static final XSequenceType.Kind SCHEMA_ELEMENT
public static final XSequenceType.Kind SCHEMA_ATTRIBUTE
public static final XSequenceType.Kind PI
public static final XSequenceType.Kind COMMENT
public static final XSequenceType.Kind TEXT
public static final XSequenceType.Kind NODE
public static final XSequenceType.Kind FOREIGN_OBJECT
public static XSequenceType.Kind[] values()
for (XSequenceType.Kind c : XSequenceType.Kind.values()) System.out.println(c);
public static XSequenceType.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null