org.apache.xalan.templates

Class ElemMessage

public class ElemMessage extends ElemTemplateElement

Implement xsl:message.
 
 
 

See Also: message in XSLT Specification

UNKNOWN: advanced

Method Summary
voidexecute(TransformerImpl transformer)
Send a message to diagnostics.
StringgetNodeName()
Return the node name.
booleangetTerminate()
Get the "terminate" attribute.
intgetXSLToken()
Get an int constant identifying the type of element.
voidsetTerminate(boolean v)
Set the "terminate" attribute.

Method Detail

execute

public void execute(TransformerImpl transformer)
Send a message to diagnostics. The xsl:message instruction sends a message in a way that is dependent on the XSLT transformer. The content of the xsl:message instruction is a template. The xsl:message is instantiated by instantiating the content to create an XML fragment. This XML fragment is the content of the message.

Parameters: transformer non-null reference to the the current transform-time state.

Throws: TransformerException

getNodeName

public String getNodeName()
Return the node name.

Returns: name of the element

getTerminate

public boolean getTerminate()
Get the "terminate" attribute. If the terminate attribute has the value yes, then the XSLT transformer should terminate processing after sending the message. The default value is no.

Returns: value of "terminate" attribute.

getXSLToken

public int getXSLToken()
Get an int constant identifying the type of element.

Returns: The token ID for this element

See Also:

setTerminate

public void setTerminate(boolean v)
Set the "terminate" attribute. If the terminate attribute has the value yes, then the XSLT transformer should terminate processing after sending the message. The default value is no.

Parameters: v Value to set for "terminate" attribute.

Copyright B) 2005 Apache XML Project. All Rights Reserved.