org.cyberneko.html

Class HTMLScanner.LocationItem

protected static class HTMLScanner.LocationItem extends Object implements HTMLEventInfo

Location infoset item.

Author: Andy Clark

Field Summary
protected intfBeginColumnNumber
Beginning column number.
protected intfBeginLineNumber
Beginning line number.
protected intfEndColumnNumber
Ending column number.
protected intfEndLineNumber
Ending line number.
Method Summary
intgetBeginColumnNumber()
Returns the column number of the beginning of this event.
intgetBeginLineNumber()
Returns the line number of the beginning of this event.
intgetEndColumnNumber()
Returns the column number of the end of this event.
intgetEndLineNumber()
Returns the line number of the end of this event.
booleanisSynthesized()
Returns true if this corresponding event was synthesized.
voidsetValues(int beginLine, int beginColumn, int endLine, int endColumn)
Sets the values of this item.
StringtoString()
Returns a string representation of this object.

Field Detail

fBeginColumnNumber

protected int fBeginColumnNumber
Beginning column number.

fBeginLineNumber

protected int fBeginLineNumber
Beginning line number.

fEndColumnNumber

protected int fEndColumnNumber
Ending column number.

fEndLineNumber

protected int fEndLineNumber
Ending line number.

Method Detail

getBeginColumnNumber

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

getBeginLineNumber

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

getEndColumnNumber

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

getEndLineNumber

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

isSynthesized

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

setValues

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

toString

public String toString()
Returns a string representation of this object.
(C) Copyright 2002-2005, Andy Clark. All rights reserved.