public interface LocationProvider
SaxonLocator
object,
on the output pipeline, it will be a LocationMap
A LocationProvider that represents locations in the source document from which the events
are derived (as distinct from locations in a query or stylesheet of the instructions causing the
events) will also implement the marker interface SourceLocationProvider
Modifier and Type | Method and Description |
---|---|
int |
getLineNumber(int locationId)
Get the line number within the document or module containing a particular location
|
java.lang.String |
getSystemId(int locationId)
Get the URI of the document or module containing a particular location
|
java.lang.String getSystemId(int locationId)
locationId
- identifier of the location in question (as passed down the Receiver pipeline)int getLineNumber(int locationId)
locationId
- identifier of the location in question (as passed down the Receiver pipeline)