org.openexi.proc.common
Class EventType

java.lang.Object
  extended by org.openexi.proc.common.EventCode
      extended by org.openexi.proc.common.EventType
All Implemented Interfaces:
EventDescription

public class EventType
extends org.openexi.proc.common.EventCode
implements EventDescription

EventType denotes terminal symbols of grammar productions defined in the EXI 1.0 specification.


Field Summary
static byte ITEM_AT
          Event type for an Attribute learned by built-in element grammars from prior attribute occurrences.
static byte ITEM_AT_WC_ANY_UNTYPED
          Wildcard event type for an Attribute where the attribute's defined datatype (if any) is disregarded.
static byte ITEM_CH
          Event type for a Character event (character events store values as strings).
static byte ITEM_CM
          Event type for a Comment.
static byte ITEM_DTD
          Event type for a Document Type Definition.
static byte ITEM_ED
          Event type for End of Document.
static byte ITEM_EE
          Event type for End of Element.
static byte ITEM_ER
          Event type for an Entity Reference.
static byte ITEM_NS
          Event type for a Namespace declaration.
static byte ITEM_PI
          Event type for a Processing Instruction.
static byte ITEM_SC
          Self-contained items are not supported in this release of OpenEXI.
static byte ITEM_SCHEMA_AT
          Event type for AttributeUse that matches an attribute event with a valid value.
static byte ITEM_SCHEMA_AT_INVALID_VALUE
          Event type for AttributeUse that matches an attribute event with an invalid value.
static byte ITEM_SCHEMA_AT_WC_ANY
          Attribute wildcard event type stemming from a schema, where the attribute's defined datatype (if any) is applied.
static byte ITEM_SCHEMA_AT_WC_NS
          Attribute wildcard event type, qualified with a specific namespace, stemming from a schema where the attribute's defined datatype (if any) is applied.
static byte ITEM_SCHEMA_CH
          Event type for a defined Character event in an EXI stream processed using a schema.
static byte ITEM_SCHEMA_CH_MIXED
          Event type for a Character event that occurs in the context of an element defined so as to permit mixed content (mark up and data) in an EXI stream processed using a schema.
static byte ITEM_SCHEMA_NIL
          Special Attribute that indicates the value of the associated element is explicitly nil rather than an empty string.
static byte ITEM_SCHEMA_TYPE
          Special Attribute that describes a data type for the associated element.
static byte ITEM_SCHEMA_WC_ANY
          Attribute wildcard event type stemming from a schema where the attribute's defined datatype (if any) is applied.
static byte ITEM_SCHEMA_WC_NS
          Event type for an element defined in a namespace in an EXI stream processed using a schema.
static byte ITEM_SD
          Event type for Start Document.
static byte ITEM_SE
          Event type for Start Element.
static byte ITEM_SE_WC
          Wildcard event type for an element.
 java.lang.String name
          Local name of event type definition.
 java.lang.String uri
          URI of event type definition.
 
Fields inherited from class org.openexi.proc.common.EventCode
EVENT_CODE_DEPTH_ONE, EVENT_CODE_DEPTH_THREE, EVENT_CODE_DEPTH_TWO, ITEM_TUPLE, itemType, parent, position
 
Fields inherited from interface org.openexi.proc.common.EventDescription
EVENT_AT, EVENT_BLOB, EVENT_CH, EVENT_CM, EVENT_DTD, EVENT_ED, EVENT_EE, EVENT_ER, EVENT_NL, EVENT_NS, EVENT_PI, EVENT_SD, EVENT_SE, EVENT_TP
 
Method Summary
 
Methods inherited from class org.openexi.proc.common.EventCode
setParentalContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openexi.proc.common.EventDescription
getBinaryDataSource, getCharacters, getEventKind, getEventType, getName, getPrefix, getURI
 

Field Detail

ITEM_PI

public static final byte ITEM_PI
Event type for a Processing Instruction. Value is 0.

See Also:
Constant Field Values

ITEM_CM

public static final byte ITEM_CM
Event type for a Comment.
Value is 1.

See Also:
Constant Field Values

ITEM_ER

public static final byte ITEM_ER
Event type for an Entity Reference.
Value is 2.

See Also:
Constant Field Values

ITEM_CH

public static final byte ITEM_CH
Event type for a Character event (character events store values as strings).
Value is 3.

See Also:
Constant Field Values

ITEM_ED

public static final byte ITEM_ED
Event type for End of Document.
Value is 4.

See Also:
Constant Field Values

ITEM_SE_WC

public static final byte ITEM_SE_WC
Wildcard event type for an element. OpenEXI will first attempt to find a corresponding element name in the schema, if present. If no definition is available, it is given this tag.
Value is 5.

See Also:
Constant Field Values

ITEM_SC

public static final byte ITEM_SC
Self-contained items are not supported in this release of OpenEXI. Event type for self-contained item.
Value is 6.

See Also:
Constant Field Values

ITEM_NS

public static final byte ITEM_NS
Event type for a Namespace declaration.

Value is 7.

See Also:
Constant Field Values

ITEM_AT_WC_ANY_UNTYPED

public static final byte ITEM_AT_WC_ANY_UNTYPED
Wildcard event type for an Attribute where the attribute's defined datatype (if any) is disregarded. This is the "catch-all" for Attributes that do not match any of the other Event Types in an EXI stream processed using Default options.
Value is 8.

See Also:
Constant Field Values

ITEM_EE

public static final byte ITEM_EE
Event type for End of Element.
Value is 9.

See Also:
Constant Field Values

ITEM_DTD

public static final byte ITEM_DTD
Event type for a Document Type Definition.
Value is 10.

See Also:
Constant Field Values

ITEM_SE

public static final byte ITEM_SE
Event type for Start Element.
Value is 11.

See Also:
Constant Field Values

ITEM_AT

public static final byte ITEM_AT
Event type for an Attribute learned by built-in element grammars from prior attribute occurrences.
Value is 12.

See Also:
Constant Field Values

ITEM_SD

public static final byte ITEM_SD
Event type for Start Document.
Value is 13.

See Also:
Constant Field Values

ITEM_SCHEMA_WC_ANY

public static final byte ITEM_SCHEMA_WC_ANY
Attribute wildcard event type stemming from a schema where the attribute's defined datatype (if any) is applied.
Value is 14.

See Also:
Constant Field Values

ITEM_SCHEMA_WC_NS

public static final byte ITEM_SCHEMA_WC_NS
Event type for an element defined in a namespace in an EXI stream processed using a schema.
Value is 15.

See Also:
Constant Field Values

ITEM_SCHEMA_AT

public static final byte ITEM_SCHEMA_AT
Event type for AttributeUse that matches an attribute event with a valid value.
Value is 16.

See Also:
Constant Field Values

ITEM_SCHEMA_AT_WC_ANY

public static final byte ITEM_SCHEMA_AT_WC_ANY
Attribute wildcard event type stemming from a schema, where the attribute's defined datatype (if any) is applied.
Value is 17.

See Also:
Constant Field Values

ITEM_SCHEMA_AT_WC_NS

public static final byte ITEM_SCHEMA_AT_WC_NS
Attribute wildcard event type, qualified with a specific namespace, stemming from a schema where the attribute's defined datatype (if any) is applied.
Value is 18.

See Also:
Constant Field Values

ITEM_SCHEMA_CH

public static final byte ITEM_SCHEMA_CH
Event type for a defined Character event in an EXI stream processed using a schema.
Value is 19.

See Also:
Constant Field Values

ITEM_SCHEMA_CH_MIXED

public static final byte ITEM_SCHEMA_CH_MIXED
Event type for a Character event that occurs in the context of an element defined so as to permit mixed content (mark up and data) in an EXI stream processed using a schema.
Value is 20.

See Also:
Constant Field Values

ITEM_SCHEMA_NIL

public static final byte ITEM_SCHEMA_NIL
Special Attribute that indicates the value of the associated element is explicitly nil rather than an empty string.
Value is 21.

See Also:
Constant Field Values

ITEM_SCHEMA_TYPE

public static final byte ITEM_SCHEMA_TYPE
Special Attribute that describes a data type for the associated element. For example, the schema might define a String value, but the XML document being processed can declare that the element contains a date-time field.
Value is 22.

See Also:
Constant Field Values

ITEM_SCHEMA_AT_INVALID_VALUE

public static final byte ITEM_SCHEMA_AT_INVALID_VALUE
Event type for AttributeUse that matches an attribute event with an invalid value.
Value is 23.

See Also:
Constant Field Values

uri

public final java.lang.String uri
URI of event type definition.


name

public final java.lang.String name
Local name of event type definition.