Class AbstractXmlParser.XmlPullParserLocator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.codehaus.plexus.util.xml.pull.XmlPullParser parser  
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlPullParserLocator​(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, java.lang.String reference)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumnNumber()
      Returns the column number for the sink event (starting from 1).
      int getLineNumber()
      Returns the line number for the sink event (starting from 1).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • parser

        private final org.codehaus.plexus.util.xml.pull.XmlPullParser parser
    • Constructor Detail

      • XmlPullParserLocator

        XmlPullParserLocator​(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
                             java.lang.String reference)
    • Method Detail

      • getLineNumber

        public int getLineNumber()
        Description copied from interface: Locator
        Returns the line number for the sink event (starting from 1). If it is not known returns -1.
        Returns:
        the line number for the sink event
      • getColumnNumber

        public int getColumnNumber()
        Description copied from interface: Locator
        Returns the column number for the sink event (starting from 1). If it is not known returns -1.
        Returns:
        the column number for the sink event