|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SmPrimeTypeKind>
org.gxml.xs.SmPrimeTypeKind
public enum SmPrimeTypeKind
The following enumerated constants are used by SmMetaBridge
to classify the sequence type instance.
Enum Constant Summary | |
---|---|
ANY_ATOMIC_TYPE
Represents the xs:anyAtomicType Atomic Ur-type. |
|
ANY_SIMPLE_TYPE
Represents the xs:anySimpleType Simple Ur-type. |
|
ANY_TYPE
Represents the xs:anyType Complex Ur-type. |
|
ATOM
Represents an atomic type. |
|
ATTRIBUTE
Represents an attribute node, i.e. |
|
CHOICE
Represents a choice between two types. |
|
COMMENT
Represents a comment node, i.e. |
|
COMPLEX
Represents a user-defined complex type. |
|
DOCUMENT
Represents a document node. |
|
ELEMENT
Represents an element node, i.e. |
|
EMPTY
Represents the type indicating an empty sequence. |
|
ITEM
Represents any kind of item. |
|
NAMESPACE
Represents a namespace node. |
|
NODE
Represents any kind of node. |
|
NONE
Represents the absence of a type, i.e. |
|
PROCESSING_INSTRUCTION
Represents a processing instruction node, i.e. |
|
SCHEMA_ATTRIBUTE
Represents an attribute node whose type annotation matches a schema type, i.e. |
|
SCHEMA_ELEMENT
Represents an element node whose type annotation matches a schema type, i.e. |
|
TEXT
Represents a text node, i.e. |
Method Summary | |
---|---|
static SmPrimeTypeKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SmPrimeTypeKind[] |
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 |
---|
public static final SmPrimeTypeKind ITEM
public static final SmPrimeTypeKind ATOM
public static final SmPrimeTypeKind NODE
public static final SmPrimeTypeKind DOCUMENT
public static final SmPrimeTypeKind COMMENT
comment()
as defined in XQuery.
public static final SmPrimeTypeKind ELEMENT
element(...)
as defined in XQuery.
public static final SmPrimeTypeKind SCHEMA_ELEMENT
schema-element(...)
as defined in XQuery.
public static final SmPrimeTypeKind ATTRIBUTE
attribute(...)
as defined in XQuery.
public static final SmPrimeTypeKind SCHEMA_ATTRIBUTE
schema-attribute(...)
as defined in XQuery.
public static final SmPrimeTypeKind PROCESSING_INSTRUCTION
processing-instruction(...)
as defined in
XQuery.
public static final SmPrimeTypeKind TEXT
text()
as defined in XQuery.
public static final SmPrimeTypeKind NAMESPACE
public static final SmPrimeTypeKind NONE
public static final SmPrimeTypeKind EMPTY
public static final SmPrimeTypeKind CHOICE
type-1 | type-2
.
public static final SmPrimeTypeKind ANY_TYPE
public static final SmPrimeTypeKind ANY_SIMPLE_TYPE
public static final SmPrimeTypeKind ANY_ATOMIC_TYPE
public static final SmPrimeTypeKind COMPLEX
Method Detail |
---|
public static SmPrimeTypeKind[] values()
for (SmPrimeTypeKind c : SmPrimeTypeKind.values()) System.out.println(c);
public static SmPrimeTypeKind 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |