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 |
getColumnNumber(long locationId)
Get the column number within the document, entity, or module containing a particular location
|
int |
getLineNumber(long locationId)
Get the line number within the document, entity or module containing a particular location
|
String |
getSystemId(long locationId)
Get the URI of the document, entity, or module containing a particular location
|
String getSystemId(long locationId)
locationId
- identifier of the location in question (as passed down the Receiver pipeline)int getLineNumber(long locationId)
locationId
- identifier of the location in question (as passed down the Receiver pipeline)int getColumnNumber(long locationId)
locationId
- identifier of the location in question (as passed down the Receiver pipeline)Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.