Context which retains copies of variable attributes of a given Context to
store the state of the parsing process at a given point in time. All runtime operations such as stop()
will still work and affect the current parsing process.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | ContextSnapshot(T
the context object whose variable attributes will be copied over. context)Creates a snapshot of a given |
| Modifier and Type | Method and Description |
|---|---|
| public int | currentColumn()
Overrides com. Implements com. |
| public long | currentRecord()
Overrides com. Implements com. |
| currentColumn | back to summary |
|---|---|
| private final int currentColumn | |
| currentRecord | back to summary |
|---|---|
| private final long currentRecord | |
| ContextSnapshot | back to summary |
|---|---|
| public ContextSnapshot(T context) Creates a snapshot of a given
| |
| currentColumn | back to summary |
|---|---|
| public int currentColumn() Overrides com. Implements com. Doc from com. Returns the column index of the record being processed.
| |
| currentRecord | back to summary |
|---|---|
| public long currentRecord() Overrides com. Implements com. Doc from com. Returns the index of the last valid record parsed from the input
| |