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
- Since:
- 2.0.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns 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
-
Field Details
-
reference
-
-
Constructor Details
-
AbstractLocator
-
-
Method Details
-
getReference
Description copied from interface:Locator
Returns the underlying source reference (for file based documents a relative file path, otherwise an arbitrary string ornull
).- Specified by:
getReference
in interfaceLocator
- Returns:
- the source for the sink event (may be
null
)
-