net.sf.saxon.expr

Class ExpressionParser.TemporaryContainer

protected static class ExpressionParser.TemporaryContainer extends Object implements Container, LocationProvider, Serializable

Constructor Summary
TemporaryContainer(LocationMap map, int locationId)
Method Summary
intgetColumnNumber()
intgetColumnNumber(long locationId)
intgetContainerGranularity()
Get the granularity of the container.
ExecutablegetExecutable()
intgetHostLanguage()
Get the host language (XSLT, XQuery, XPath) used to implement the code in this container
intgetLineNumber()
intgetLineNumber(long locationId)
LocationProvidergetLocationProvider()
StringgetPublicId()
StringgetSystemId()
StringgetSystemId(long locationId)
voidsetExecutable(Executable exec)

Constructor Detail

TemporaryContainer

public TemporaryContainer(LocationMap map, int locationId)

Method Detail

getColumnNumber

public int getColumnNumber()

getColumnNumber

public int getColumnNumber(long locationId)

getContainerGranularity

public int getContainerGranularity()
Get the granularity of the container.

Returns: 0 for a temporary container created during parsing; 1 for a container that operates at the level of an XPath expression; 2 for a container at the level of a global function or template

getExecutable

public Executable getExecutable()

getHostLanguage

public int getHostLanguage()
Get the host language (XSLT, XQuery, XPath) used to implement the code in this container

Returns: typically XSLT or XQUERY

getLineNumber

public int getLineNumber()

getLineNumber

public int getLineNumber(long locationId)

getLocationProvider

public LocationProvider getLocationProvider()

getPublicId

public String getPublicId()

getSystemId

public String getSystemId()

getSystemId

public String getSystemId(long locationId)

setExecutable

public void setExecutable(Executable exec)