EXIficient

com.siemens.ct.exi.grammar.event
Class AbstractEvent

java.lang.Object
  extended by com.siemens.ct.exi.grammar.event.AbstractEvent
All Implemented Interfaces:
Event, java.lang.Comparable<Event>
Direct Known Subclasses:
AbstractDatatypeEvent, AttributeGeneric, Comment, DocType, EndDocument, EndElement, EntityReference, Lambda, NamespaceDeclaration, ProcessingInstruction, SelfContained, StartDocument, StartElement, StartElementGeneric

public abstract class AbstractEvent
extends java.lang.Object
implements Event

TODO Description

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

Constructor Summary
AbstractEvent(java.lang.String grammarNotation)
           
 
Method Summary
 int compareTo(Event o)
           
 boolean equals(java.lang.Object obj)
           
 EventType getEventType()
           
 int hashCode()
           
 boolean isEventType(EventType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractEvent

public AbstractEvent(java.lang.String grammarNotation)
Method Detail

getEventType

public EventType getEventType()
Specified by:
getEventType in interface Event

isEventType

public boolean isEventType(EventType type)
Specified by:
isEventType in interface Event

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(Event o)
Specified by:
compareTo in interface java.lang.Comparable<Event>

EXIficient