Package org.apache.maven.doxia.parser
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 Summary
Fields Modifier and Type Field Description private org.codehaus.plexus.util.xml.pull.XmlPullParserparser
-
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 intgetColumnNumber()Returns the column number for the sink event (starting from 1).intgetLineNumber()Returns the line number for the sink event (starting from 1).-
Methods inherited from class org.apache.maven.doxia.sink.impl.AbstractLocator
getReference
-
-
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
Description copied from interface:LocatorReturns 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:LocatorReturns 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
-
-