net.sf.saxon.event
public interface LocationProvider
Method Summary | |
---|---|
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 |
Parameters: locationId identifier of the location in question (as passed down the Receiver pipeline)
Returns: the column number within the document, entity, or module, or -1 if this is not available
Parameters: locationId identifier of the location in question (as passed down the Receiver pipeline)
Returns: the line number within the document, entity or module, or -1 if no information is available.
Parameters: locationId identifier of the location in question (as passed down the Receiver pipeline)
Returns: the URI of the document, XML entity or module. For a SourceLocationProvider this will be the URI of the document or entity (the URI that would be the base URI if there were no xml:base attributes). In other cases it may identify the query or stylesheet module currently being executed.