protected static class HTMLScanner.LocationItem extends java.lang.Object implements HTMLEventInfo, java.lang.Cloneable
HTMLEventInfo.SynthesizedItem| Modifier and Type | Field and Description |
|---|---|
protected int |
fBeginCharacterOffset
Beginning character offset.
|
protected int |
fBeginColumnNumber
Beginning column number.
|
protected int |
fBeginLineNumber
Beginning line number.
|
protected int |
fEndCharacterOffset
Ending character offset.
|
protected int |
fEndColumnNumber
Ending column number.
|
protected int |
fEndLineNumber
Ending line number.
|
| Constructor and Description |
|---|
HTMLScanner.LocationItem() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBeginCharacterOffset()
Returns the character offset of the beginning of this event.
|
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 |
getEndCharacterOffset()
Returns the character offset of the end 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 beginOffset,
int endLine,
int endColumn,
int endOffset)
Sets the values of this item.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
protected int fBeginLineNumber
protected int fBeginColumnNumber
protected int fBeginCharacterOffset
protected int fEndLineNumber
protected int fEndColumnNumber
protected int fEndCharacterOffset
public void setValues(int beginLine,
int beginColumn,
int beginOffset,
int endLine,
int endColumn,
int endOffset)
public int getBeginLineNumber()
getBeginLineNumber in interface HTMLEventInfopublic int getBeginColumnNumber()
getBeginColumnNumber in interface HTMLEventInfopublic int getBeginCharacterOffset()
getBeginCharacterOffset in interface HTMLEventInfopublic int getEndLineNumber()
getEndLineNumber in interface HTMLEventInfopublic int getEndColumnNumber()
getEndColumnNumber in interface HTMLEventInfopublic int getEndCharacterOffset()
getEndCharacterOffset in interface HTMLEventInfopublic boolean isSynthesized()
isSynthesized in interface HTMLEventInfopublic java.lang.String toString()
toString in class java.lang.Object(C) Copyright 2002-2014, Andy Clark, Marc Guillemot. All rights reserved.