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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the column number for the sink event (starting from 1).int
Returns the line number for the sink event (starting from 1).Methods inherited from class org.apache.maven.doxia.sink.impl.AbstractLocator
getReference
-
Field Details
-
aptSource
-
-
Constructor Details
-
AptSourceLocator
-
-
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
-