| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlbeans.XmlCursor.XmlBookmark
org.apache.xmlbeans.XmlLineNumber
A subclass of XmlBookmark that holds line number information. If a document is parsed with line numbers enabled, these bookmarks will be placed at appropriate locations within the document.
XmlOptions.setLoadLineNumbers()| Field Summary | 
| Fields inherited from class org.apache.xmlbeans.XmlCursor.XmlBookmark | 
| _currentMark, _ref | 
| Constructor Summary | |
| XmlLineNumber(int line)Constructs a line number with no column or offset information. | |
| XmlLineNumber(int line,
              int column)Constructs a line number and column with no file offset information. | |
| XmlLineNumber(int line,
              int column,
              int offset)Constructs a line number and column with no file offset information. | |
| Method Summary | |
|  int | getColumn()Returns the 1-based column number, or -1 if not known. | 
|  int | getLine()Returns the 1-based line number, or -1 if not known. | 
|  int | getOffset()Returns the 0-based file offset number, or -1 if not known. | 
| Methods inherited from class org.apache.xmlbeans.XmlCursor.XmlBookmark | 
| createCursor, getKey, toBookmark | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public XmlLineNumber(int line)
line - the line number - the first line is 1
public XmlLineNumber(int line,
                     int column)
line - the line number - the first line is 1
public XmlLineNumber(int line,
                     int column,
                     int offset)
line - the line number - the first line is 1| Method Detail | 
public int getLine()
public int getColumn()
public int getOffset()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||