| |
|
| java.lang.Object com.jclark.xml.tok.Position
Position | final public class Position implements Cloneable(Code) | | Represents a position in an entity.
A position can be modified by Encoding.movePosition .
See Also: Encoding.movePosition version: $Revision: 1.2 $ $Date: 1998/02/17 04:24:15 $ |
Constructor Summary | |
public | Position() Creates a position for the start of an entity: the line number is
1 and the column number is 0. |
columnNumber | int columnNumber(Code) | | |
lineNumber | int lineNumber(Code) | | |
Position | public Position()(Code) | | Creates a position for the start of an entity: the line number is
1 and the column number is 0.
|
clone | public Object clone()(Code) | | Returns a copy of this position.
|
getColumnNumber | public int getColumnNumber()(Code) | | Returns the column number.
The first column number is 0.
A tab character is not treated specially.
|
getLineNumber | public int getLineNumber()(Code) | | Returns the line number.
The first line number is 1.
|
|
|
|