org.apache.xmlbeans
public class: XmlLineNumber [javadoc |
source]
java.lang.Object
org.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.
Also see:
- XmlOptions#setLoadLineNumbers
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.xmlbeans.XmlLineNumber Detail: |
public int getColumn() {
return _column;
}
Returns the 1-based column number, or -1 if not known. |
public int getLine() {
return _line;
}
Returns the 1-based line number, or -1 if not known. |
public int getOffset() {
return _offset;
}
Returns the 0-based file offset number, or -1 if not known. |