protected class XPathParser.TemporaryContainer extends PackageData implements Container, LocationProvider
Constructor and Description |
---|
XPathParser.TemporaryContainer(Configuration config,
LocationMap map,
int locationId) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber() |
int |
getColumnNumber(int locationId)
Get the column number within the document, entity, or module containing a particular location
|
Configuration |
getConfiguration()
Get the Configuration to which this Container belongs
|
int |
getContainerGranularity()
Get the granularity of the container.
|
int |
getHostLanguage()
Get the host language (XSLT, XQuery, XPath) used to implement the code in this container
|
int |
getLineNumber() |
int |
getLineNumber(int locationId)
Get the line number within the document, entity or module containing a particular location
|
LocationProvider |
getLocationProvider() |
PackageData |
getPackageData()
Get data about the unit of compilation (XQuery module, XSLT package) to which this
container belongs
|
String |
getPublicId() |
String |
getSystemId() |
String |
getSystemId(int locationId)
Get the URI of the document, entity, or module containing a particular location
|
getLocationMap, isAllowXPath30, isSchemaAware, setAllowXPath30, setConfiguration, setHostLanguage, setLocationMap, setSchemaAware
public XPathParser.TemporaryContainer(Configuration config, LocationMap map, int locationId)
public int getContainerGranularity()
getContainerGranularity
in interface Container
public PackageData getPackageData()
getPackageData
in interface Container
public Configuration getConfiguration()
getConfiguration
in interface Container
getConfiguration
in class PackageData
public LocationProvider getLocationProvider()
public String getPublicId()
getPublicId
in interface SourceLocator
public String getSystemId()
getSystemId
in interface SourceLocator
public int getLineNumber()
getLineNumber
in interface SourceLocator
public int getColumnNumber()
getColumnNumber
in interface SourceLocator
public String getSystemId(int locationId)
LocationProvider
getSystemId
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)public int getLineNumber(int locationId)
LocationProvider
getLineNumber
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)public int getColumnNumber(int locationId)
LocationProvider
getColumnNumber
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)public int getHostLanguage()
getHostLanguage
in interface Container
getHostLanguage
in class PackageData
Configuration.XSLT
or Configuration.XQUERY
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.