com.siemens.ct.exi.grammar.event
Class AbstractEvent
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AbstractEvent
public AbstractEvent(java.lang.String grammarNotation)
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>