Package org.apache.maven.doxia.sink.impl
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 java.lang.Object implements Locator
- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringreference
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractLocator(java.lang.String reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetReference()Returns the underlying source reference (for file based documents a relative file path, otherwise an arbitrary string ornull).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.maven.doxia.sink.Locator
getColumnNumber, getLineNumber
-
-
-
-
Method Detail
-
getReference
public java.lang.String getReference()
Description copied from interface:LocatorReturns the underlying source reference (for file based documents a relative file path, otherwise an arbitrary string ornull).- Specified by:
getReferencein interfaceLocator- Returns:
- the source for the sink event (may be
null)
-
-