org.cyberneko.html

Class HTMLScanner.LocationItem

Enclosing Class:
HTMLScanner
Implemented Interfaces:
HTMLEventInfo

protected static class HTMLScanner.LocationItem
extends java.lang.Object
implements HTMLEventInfo

Location infoset item.
Author:
Andy Clark

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.

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.

Field Details

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 Details

getBeginColumnNumber

public int getBeginColumnNumber()
Returns the column number of the beginning of this event.
Specified by:
getBeginColumnNumber in interface HTMLEventInfo

getBeginLineNumber

public int getBeginLineNumber()
Returns the line number of the beginning of this event.
Specified by:
getBeginLineNumber in interface HTMLEventInfo

getEndColumnNumber

public int getEndColumnNumber()
Returns the column number of the end of this event.
Specified by:
getEndColumnNumber in interface HTMLEventInfo

getEndLineNumber

public int getEndLineNumber()
Returns the line number of the end of this event.
Specified by:
getEndLineNumber in interface HTMLEventInfo

isSynthesized

public boolean isSynthesized()
Returns true if this corresponding event was synthesized.
Specified by:
isSynthesized in interface HTMLEventInfo

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.