EXIficient

com.siemens.ct.exi.grammar.event
Enum EventType

java.lang.Object
  extended by java.lang.Enum<EventType>
      extended by com.siemens.ct.exi.grammar.event.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventType>

public enum EventType
extends java.lang.Enum<EventType>

EventTypes used to represent XML information items in EXI (see EXI Event Code Assignment).

Sort all productions with G i, j on the left hand side in the following order:

  1. all productions with AT(qname) on the right hand side sorted lexically by qname localName, then by qname uri, followed by
  2. all productions with AT(uri : *) on the right hand side sorted lexically by uri, followed by
  3. any production with AT(*) on the right hand side, followed by
  4. all productions with SE(qname) on the right hand side sorted in schema order, followed by
  5. all productions with SE(uri : *) on the right hand side sorted in schema order, followed by
  6. any production with SE(*) on the right hand side, followed by
  7. any production with EE on the right hand side, followed by
  8. any production with CH on the right hand side.

Version:
0.4.20090421
Author:
Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com

Enum Constant Summary
ATTRIBUTE
           
ATTRIBUTE_ANY_INVALID_VALUE
           
ATTRIBUTE_GENERIC
           
ATTRIBUTE_GENERIC_UNDECLARED
           
ATTRIBUTE_INVALID_VALUE
           
ATTRIBUTE_NS
           
ATTRIBUTE_XSI_NIL
           
ATTRIBUTE_XSI_TYPE
           
CHARACTERS
           
CHARACTERS_GENERIC
           
CHARACTERS_GENERIC_UNDECLARED
           
COMMENT
           
DOC_TYPE
           
END_DOCUMENT
           
END_ELEMENT
           
END_ELEMENT_UNDECLARED
           
ENTITY_REFERENCE
           
NAMESPACE_DECLARATION
           
PROCESSING_INSTRUCTION
           
SELF_CONTAINED
           
START_DOCUMENT
           
START_ELEMENT
           
START_ELEMENT_GENERIC
           
START_ELEMENT_GENERIC_UNDECLARED
           
START_ELEMENT_NS
           
 
Method Summary
static EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START_DOCUMENT

public static final EventType START_DOCUMENT

ATTRIBUTE_XSI_TYPE

public static final EventType ATTRIBUTE_XSI_TYPE

ATTRIBUTE_XSI_NIL

public static final EventType ATTRIBUTE_XSI_NIL

ATTRIBUTE

public static final EventType ATTRIBUTE

ATTRIBUTE_NS

public static final EventType ATTRIBUTE_NS

ATTRIBUTE_GENERIC

public static final EventType ATTRIBUTE_GENERIC

ATTRIBUTE_INVALID_VALUE

public static final EventType ATTRIBUTE_INVALID_VALUE

ATTRIBUTE_ANY_INVALID_VALUE

public static final EventType ATTRIBUTE_ANY_INVALID_VALUE

ATTRIBUTE_GENERIC_UNDECLARED

public static final EventType ATTRIBUTE_GENERIC_UNDECLARED

START_ELEMENT

public static final EventType START_ELEMENT

START_ELEMENT_NS

public static final EventType START_ELEMENT_NS

START_ELEMENT_GENERIC

public static final EventType START_ELEMENT_GENERIC

START_ELEMENT_GENERIC_UNDECLARED

public static final EventType START_ELEMENT_GENERIC_UNDECLARED

END_ELEMENT

public static final EventType END_ELEMENT

END_ELEMENT_UNDECLARED

public static final EventType END_ELEMENT_UNDECLARED

CHARACTERS

public static final EventType CHARACTERS

CHARACTERS_GENERIC

public static final EventType CHARACTERS_GENERIC

CHARACTERS_GENERIC_UNDECLARED

public static final EventType CHARACTERS_GENERIC_UNDECLARED

END_DOCUMENT

public static final EventType END_DOCUMENT

DOC_TYPE

public static final EventType DOC_TYPE

NAMESPACE_DECLARATION

public static final EventType NAMESPACE_DECLARATION

SELF_CONTAINED

public static final EventType SELF_CONTAINED

ENTITY_REFERENCE

public static final EventType ENTITY_REFERENCE

COMMENT

public static final EventType COMMENT

PROCESSING_INSTRUCTION

public static final EventType PROCESSING_INSTRUCTION
Method Detail

values

public static EventType[] 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 (EventType c : EventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EventType 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

EXIficient