org.apache.xalan.templates

Class ElemFallback

public class ElemFallback extends ElemTemplateElement

Implement xsl:fallback.
 
 
 

See Also: fallback in XSLT Specification

UNKNOWN: advanced

Method Summary
voidexecute(TransformerImpl transformer)
This is the normal call when xsl:fallback is instantiated.
voidexecuteFallback(TransformerImpl transformer)
Execute the fallback elements.
StringgetNodeName()
Return the node name.
intgetXSLToken()
Get an int constant identifying the type of element.

Method Detail

execute

public void execute(TransformerImpl transformer)
This is the normal call when xsl:fallback is instantiated. In accordance with the XSLT 1.0 Recommendation, chapter 15, "Normally, instantiating an xsl:fallback element does nothing."

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

Throws: TransformerException

executeFallback

public void executeFallback(TransformerImpl transformer)
Execute the fallback elements. This must be explicitly called to instantiate the content of an xsl:fallback element. When an XSLT transformer performs fallback for an instruction element, if the instruction element has one or more xsl:fallback children, then the content of each of the xsl:fallback children must be instantiated in sequence; otherwise, an error must be signaled. The content of an xsl:fallback element is a template.

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

Throws: TransformerException

getNodeName

public String getNodeName()
Return the node name.

Returns: The Element's name

getXSLToken

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

Returns: The token ID for this element

See Also:

Copyright © 2005 Apache XML Project. All Rights Reserved.