Package org.htmlunit.cyberneko
Class SynthesizedItem
java.lang.Object
org.htmlunit.cyberneko.SynthesizedItem
- All Implemented Interfaces:
Augmentations
Synthesized infoset item.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SynthesizedItem
private SynthesizedItem()We only like to have one instance.
-
-
Method Details
-
getBeginLineNumber
public int getBeginLineNumber()- Specified by:
getBeginLineNumberin interfaceAugmentations- Returns:
- the line number of the beginning of this event.
-
getBeginColumnNumber
public int getBeginColumnNumber()- Specified by:
getBeginColumnNumberin interfaceAugmentations- Returns:
- the column number of the beginning of this event.
-
getBeginCharacterOffset
public int getBeginCharacterOffset()- Specified by:
getBeginCharacterOffsetin interfaceAugmentations- Returns:
- the character offset of the beginning of this event.
-
getEndLineNumber
public int getEndLineNumber()- Specified by:
getEndLineNumberin interfaceAugmentations- Returns:
- the line number of the end of this event.
-
getEndColumnNumber
public int getEndColumnNumber()- Specified by:
getEndColumnNumberin interfaceAugmentations- Returns:
- the column number of the end of this event.
-
getEndCharacterOffset
public int getEndCharacterOffset()- Specified by:
getEndCharacterOffsetin interfaceAugmentations- Returns:
- the character offset of the end of this event.
-
isSynthesized
public boolean isSynthesized()- Specified by:
isSynthesizedin interfaceAugmentations- Returns:
- true if this corresponding event was synthesized.
-
clone
Save to return this instance because it does not have state- Specified by:
clonein interfaceAugmentations- Overrides:
clonein classObject- Returns:
- this instance
-
toString
-