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
  • Field Details

    • aptSource

      private final AptSource aptSource
  • Constructor Details

    • AptSourceLocator

      AptSourceLocator(AptSource aptSource, 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