protected static class ExpressionParser.TemporaryContainer extends java.lang.Object implements Container, LocationProvider, java.io.Serializable
Constructor and Description |
---|
ExpressionParser.TemporaryContainer(LocationMap map,
int locationId) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber() |
Executable |
getExecutable()
Get the Executable (representing a complete stylesheet or query) of which this Container forms part
|
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 or module containing a particular location
|
LocationProvider |
getLocationProvider()
Get the LocationProvider allowing location identifiers to be resolved.
|
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
java.lang.String |
getSystemId(int locationId)
Get the URI of the document or module containing a particular location
|
boolean |
replaceSubExpression(Expression original,
Expression replacement)
Replace one subexpression by a replacement subexpression
|
public ExpressionParser.TemporaryContainer(LocationMap map, int locationId)
public Executable getExecutable()
Container
getExecutable
in interface Container
public LocationProvider getLocationProvider()
Container
getLocationProvider
in interface Container
public java.lang.String getPublicId()
getPublicId
in interface javax.xml.transform.SourceLocator
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.transform.SourceLocator
public int getLineNumber()
getLineNumber
in interface javax.xml.transform.SourceLocator
public int getColumnNumber()
getColumnNumber
in interface javax.xml.transform.SourceLocator
public java.lang.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 getHostLanguage()
getHostLanguage
in interface Container
Configuration.XSLT
or Configuration.XQUERY
public boolean replaceSubExpression(Expression original, Expression replacement)
replaceSubExpression
in interface Container
original
- the original subexpressionreplacement
- the replacement subexpression