net.sf.saxon.expr
Class ExpressionParser.TemporaryContainer
java.lang.Object
net.sf.saxon.expr.ExpressionParser.TemporaryContainer
- ExpressionParser
- Container, Serializable, SourceLocator, LocationProvider
protected static class ExpressionParser.TemporaryContainer
extends java.lang.Object
TemporaryContainer
public TemporaryContainer(LocationMap map,
int locationId)
getColumnNumber
public int getColumnNumber()
getHostLanguage
public int getHostLanguage()
Get the host language (XSLT, XQuery, XPath) used to implement the code in this container
- getHostLanguage in interface Container
getLineNumber
public int getLineNumber()
getLineNumber
public int getLineNumber(long locationId)
Get the line number within the document or module containing a particular location
- getLineNumber in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)
- the line number within the document or module.
getPublicId
public String getPublicId()
getSystemId
public String getSystemId()
getSystemId
public String getSystemId(long locationId)
Get the URI of the document or module containing a particular location
- getSystemId in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)
- the URI of the document or module.
replaceSubExpression
public boolean replaceSubExpression(Expression original,
Expression replacement)
Replace one subexpression by a replacement subexpression
- replaceSubExpression in interface Container
original
- the original subexpressionreplacement
- the replacement subexpression
- true if the original subexpression is found