Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]
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.
Fields inherited from org.apache.xmlbeans.XmlCursor$XmlBookmark:
_currentMark,  _ref
Constructor:
 public XmlLineNumber(int line) 
 public XmlLineNumber(int line,
    int column) 
 public XmlLineNumber(int line,
    int column,
    int offset) 
Method from org.apache.xmlbeans.XmlLineNumber Summary:
getColumn,   getLine,   getOffset
Methods from org.apache.xmlbeans.XmlCursor$XmlBookmark:
createCursor,   getKey,   toBookmark
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() 
    Returns the 1-based column number, or -1 if not known.
 public int getLine() 
    Returns the 1-based line number, or -1 if not known.
 public int getOffset() 
    Returns the 0-based file offset number, or -1 if not known.