org.cyberneko.html
Class HTMLScanner.LocationItem

java.lang.Object
  extended byorg.cyberneko.html.HTMLScanner.LocationItem
All Implemented Interfaces:
HTMLEventInfo
Enclosing class:
HTMLScanner

protected static class HTMLScanner.LocationItem
extends Object
implements HTMLEventInfo

Location infoset item.

Author:
Andy Clark

Nested Class Summary
 
Nested classes inherited from class org.cyberneko.html.HTMLEventInfo
HTMLEventInfo.SynthesizedItem
 
Field Summary
protected  int fBeginColumnNumber
          Beginning column number.
protected  int fBeginLineNumber
          Beginning line number.
protected  int fEndColumnNumber
          Ending column number.
protected  int fEndLineNumber
          Ending line number.
 
Constructor Summary
protected HTMLScanner.LocationItem()
           
 
Method Summary
 int getBeginColumnNumber()
          Returns the column number of the beginning of this event.
 int getBeginLineNumber()
          Returns the line number of the beginning of this event.
 int getEndColumnNumber()
          Returns the column number of the end of this event.
 int getEndLineNumber()
          Returns the line number of the end of this event.
 boolean isSynthesized()
          Returns true if this corresponding event was synthesized.
 void setValues(int beginLine, int beginColumn, int endLine, int endColumn)
          Sets the values of this item.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fBeginLineNumber

protected int fBeginLineNumber
Beginning line number.


fBeginColumnNumber

protected int fBeginColumnNumber
Beginning column number.


fEndLineNumber

protected int fEndLineNumber
Ending line number.


fEndColumnNumber

protected int fEndColumnNumber
Ending column number.

Constructor Detail

HTMLScanner.LocationItem

protected HTMLScanner.LocationItem()
Method Detail

setValues

public void setValues(int beginLine,
                      int beginColumn,
                      int endLine,
                      int endColumn)
Sets the values of this item.


getBeginLineNumber

public int getBeginLineNumber()
Returns the line number of the beginning of this event.

Specified by:
getBeginLineNumber in interface HTMLEventInfo

getBeginColumnNumber

public int getBeginColumnNumber()
Returns the column number of the beginning of this event.

Specified by:
getBeginColumnNumber in interface HTMLEventInfo

getEndLineNumber

public int getEndLineNumber()
Returns the line number of the end of this event.

Specified by:
getEndLineNumber in interface HTMLEventInfo

getEndColumnNumber

public int getEndColumnNumber()
Returns the column number of the end of this event.

Specified by:
getEndColumnNumber in interface HTMLEventInfo

isSynthesized

public boolean isSynthesized()
Returns true if this corresponding event was synthesized.

Specified by:
isSynthesized in interface HTMLEventInfo

toString

public String toString()
Returns a string representation of this object.



(C) Copyright 2002-2004, Andy Clark. All rights reserved.