Class AptParser.AptSourceLocator
- java.lang.Object
-
- org.apache.maven.doxia.sink.impl.AbstractLocator
-
- org.apache.maven.doxia.module.apt.AptParser.AptSourceLocator
-
- All Implemented Interfaces:
Locator
- Enclosing class:
- AptParser
private static final class AptParser.AptSourceLocator extends AbstractLocator
-
-
Constructor Summary
Constructors Constructor Description AptSourceLocator(AptSource aptSource, 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
-
-
-
-
Field Detail
-
aptSource
private final AptSource aptSource
-
-
Constructor Detail
-
AptSourceLocator
AptSourceLocator(AptSource aptSource, java.lang.String reference)
-
-
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
-
-