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
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.codehaus.plexus.util.xml.pull.XmlPullParser -
Constructor Summary
ConstructorsConstructorDescriptionXmlPullParserLocator(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, String reference) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the column number for the sink event (starting from 1).intReturns the line number for the sink event (starting from 1).Methods inherited from class AbstractLocator
getReference
-
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: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
-