Class AbstractLocator

java.lang.Object
org.apache.maven.doxia.sink.impl.AbstractLocator
All Implemented Interfaces:
Locator
Direct Known Subclasses:
AbstractXmlParser.XmlPullParserLocator, AptParser.AptSourceLocator

public abstract class AbstractLocator extends Object implements Locator
Since:
2.0.0
  • Field Details

    • reference

      private String reference
  • Constructor Details

    • AbstractLocator

      protected AbstractLocator(String reference)
  • Method Details

    • getReference

      public String getReference()
      Description copied from interface: Locator
      Returns the underlying source reference (for file based documents a relative file path, otherwise an arbitrary string or null).
      Specified by:
      getReference in interface Locator
      Returns:
      the source for the sink event (may be null)