public abstract class Procedure extends Object implements Serializable, Container, LocationProvider
It is assumed that type-checking, of both the arguments and the results, has been handled at compile time. That is, the expression supplied as the body of the function must be wrapped in code to check or convert the result to the required type, and calls on the function must be wrapped at compile time to check or convert the supplied arguments.
| Constructor and Description |
|---|
Procedure() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getBody() |
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) |
LocationProvider |
getLocationProvider()
Get the LocationProvider allowing location identifiers to be resolved.
|
String |
getPublicId() |
SlotManager |
getStackFrameMap() |
String |
getSystemId() |
String |
getSystemId(int locationId) |
void |
setBody(Expression body) |
void |
setExecutable(Executable executable) |
void |
setHostLanguage(int language) |
void |
setLineNumber(int lineNumber) |
void |
setStackFrameMap(SlotManager map) |
void |
setSystemId(String systemId) |
public void setBody(Expression body)
public void setHostLanguage(int language)
public int getHostLanguage()
ContainergetHostLanguage in interface ContainerConfiguration.XSLT or Configuration.XQUERYpublic final Expression getBody()
public void setStackFrameMap(SlotManager map)
public SlotManager getStackFrameMap()
public final Executable getExecutable()
ContainergetExecutable in interface Containerpublic void setExecutable(Executable executable)
public LocationProvider getLocationProvider()
getLocationProvider in interface Containerpublic void setLineNumber(int lineNumber)
public void setSystemId(String systemId)
public int getLineNumber()
getLineNumber in interface SourceLocatorpublic String getSystemId()
getSystemId in interface SourceLocatorpublic int getColumnNumber()
getColumnNumber in interface SourceLocatorpublic String getPublicId()
getPublicId in interface SourceLocatorpublic String getSystemId(int locationId)
getSystemId in interface LocationProviderpublic int getLineNumber(int locationId)
getLineNumber in interface LocationProvider