net.sf.saxon.expr

Interface Container

public interface Container extends SourceLocator

A Container is something that can act as the parent of an expression. It is either an expression that can have subexpressions (which rules out Values), or an object such as a function, a template, or an attribute set that is not itself an expression but that can contain expressions
Method Summary
ExecutablegetExecutable()
Get the Executable (representing a complete stylesheet or query) of which this Container forms part
intgetHostLanguage()
Get the host language (XSLT, XQuery, XPath) used to implement the code in this container
LocationProvidergetLocationProvider()
Get the LocationProvider allowing location identifiers to be resolved.

Method Detail

getExecutable

public Executable getExecutable()
Get the Executable (representing a complete stylesheet or query) of which this Container forms part

getHostLanguage

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

Returns: typically XSLT or XQUERY

getLocationProvider

public LocationProvider getLocationProvider()
Get the LocationProvider allowing location identifiers to be resolved.