protected static class ExpressionParser.TemporaryContainer extends java.lang.Object implements Container, LocationProvider, java.io.Serializable
| Constructor and Description |
|---|
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 TemporaryContainer(LocationMap map, int locationId)
public Executable getExecutable()
ContainergetExecutable in interface Containerpublic LocationProvider getLocationProvider()
ContainergetLocationProvider in interface Containerpublic java.lang.String getPublicId()
getPublicId in interface javax.xml.transform.SourceLocatorpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.transform.SourceLocatorpublic int getLineNumber()
getLineNumber in interface javax.xml.transform.SourceLocatorpublic int getColumnNumber()
getColumnNumber in interface javax.xml.transform.SourceLocatorpublic java.lang.String getSystemId(int locationId)
LocationProvidergetSystemId in interface LocationProviderlocationId - identifier of the location in question (as passed down the Receiver pipeline)public int getLineNumber(int locationId)
LocationProvidergetLineNumber in interface LocationProviderlocationId - identifier of the location in question (as passed down the Receiver pipeline)public int getHostLanguage()
getHostLanguage in interface ContainerConfiguration.XSLT or Configuration.XQUERYpublic boolean replaceSubExpression(Expression original, Expression replacement)
replaceSubExpression in interface Containeroriginal - the original subexpressionreplacement - the replacement subexpression