All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class com.jclark.xml.tok.Position
java.lang.Object
   |
   +----com.jclark.xml.tok.Position
  -  public final class Position
  -  extends Object
  -  implements Cloneable
Represents a position in an entity.
 A position can be modified byEncoding.movePosition.
    -  See Also:
    
-  movePosition
   
  -   Position() Position()
-   Creates a position for the start of an entity: the line number is
 1 and the column number is 0.
   
  -   clone() clone()
-   Returns a copy of this position.
  
-   getColumnNumber() getColumnNumber()
-   Returns the column number.
  
-   getLineNumber() getLineNumber()
-   Returns the line number.
   
 Position
Position
 public Position()
  -  Creates a position for the start of an entity: the line number is
 1 and the column number is 0.
 
   
 getLineNumber
getLineNumber
 public int getLineNumber()
  -  Returns the line number.
 The first line number is 1.
 
 getColumnNumber
getColumnNumber
 public int getColumnNumber()
  -  Returns the column number.
 The first column number is 0.
 A tab character is not treated specially.
 
 clone
clone
 public Object clone()
  -  Returns a copy of this position.
   
- 
    -  Overrides:
    
-  clone in class Object
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index