org.jvyamlb.events
Class PositionedDocumentStartEvent

java.lang.Object
  extended by org.jvyamlb.events.Event
      extended by org.jvyamlb.events.DocumentStartEvent
          extended by org.jvyamlb.events.PositionedDocumentStartEvent
All Implemented Interfaces:
Positionable

public class PositionedDocumentStartEvent
extends DocumentStartEvent
implements Positionable

Author:
Ola Bini

Field Summary
private  Position.Range range
           
 
Constructor Summary
PositionedDocumentStartEvent(boolean explicit, int[] version, java.util.Map tags, Position.Range range)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 Position getPosition()
           
 Position.Range getRange()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jvyamlb.events.DocumentStartEvent
getExplicit, getTags, getVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

range

private Position.Range range
Constructor Detail

PositionedDocumentStartEvent

public PositionedDocumentStartEvent(boolean explicit,
                                    int[] version,
                                    java.util.Map tags,
                                    Position.Range range)
Method Detail

getPosition

public Position getPosition()
Specified by:
getPosition in interface Positionable

getRange

public Position.Range getRange()
Specified by:
getRange in interface Positionable

equals

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

toString

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