public interface Location
extends javax.xml.transform.SourceLocator, org.xml.sax.Locator
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
Get the column number.
|
int |
getLineNumber()
Get the line number.
|
java.lang.String |
getPublicId()
Get the Public ID
|
java.lang.String |
getSystemId()
Get the system ID.
|
Location |
saveLocation()
Get an immutable copy of this Location object.
|
java.lang.String getSystemId()
The system identifier of a node is in general not the same as its base URI. The base URI is affected by xml:base attributes; the system identifier is not.
getSystemId
in interface org.xml.sax.Locator
getSystemId
in interface javax.xml.transform.SourceLocator
java.lang.String getPublicId()
getPublicId
in interface org.xml.sax.Locator
getPublicId
in interface javax.xml.transform.SourceLocator
int getLineNumber()
getLineNumber
in interface org.xml.sax.Locator
getLineNumber
in interface javax.xml.transform.SourceLocator
int getColumnNumber()
getColumnNumber
in interface org.xml.sax.Locator
getColumnNumber
in interface javax.xml.transform.SourceLocator
Location saveLocation()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.