public class MessageTemplate extends Object implements MessageBuilder
| Constructor and Description |
|---|
MessageTemplate(Generator ga,
String messageTemplate,
int param0)
Create a message template with a single parameter
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateErrorMessage()
Generate code to construct the error message and leave it on the run-time stack
|
public MessageTemplate(Generator ga, String messageTemplate, int param0)
ga - the GeneratormessageTemplate - a message with a placeholder for the dynamic insertion in the form "{$1}"param0 - the slot number on the bytecode stack of the variable whose value is to be inserted
into the message; or -1 to indicate that it is to be taken from the top of the bytecode stackpublic void generateErrorMessage()
MessageBuildergenerateErrorMessage in interface MessageBuilderCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.