Class AbstractXmlParser.XmlPullParserLocator

java.lang.Object
org.apache.maven.doxia.sink.impl.AbstractLocator
org.apache.maven.doxia.parser.AbstractXmlParser.XmlPullParserLocator
All Implemented Interfaces:
Locator
Enclosing class:
AbstractXmlParser

private static final class AbstractXmlParser.XmlPullParserLocator extends AbstractLocator
  • Field Details

    • parser

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

    • XmlPullParserLocator

      XmlPullParserLocator(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String reference)
  • Method Details

    • 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