org.apache.xalan.templates
public class ElemIf extends ElemTemplateElement
Method Summary | |
---|---|
void | compose(StylesheetRoot sroot)
This function is called after everything else has been
recomposed, and allows the template to set remaining
values that may be based on some other property that
depends on recomposition.
|
void | execute(TransformerImpl transformer)
Conditionally execute a sub-template.
|
String | getNodeName()
Return the node name.
|
XPath | getTest()
Get the "test" attribute.
|
int | getXSLToken()
Get an int constant identifying the type of element. |
void | setTest(XPath v)
Set the "test" attribute.
|
Parameters: sroot The root stylesheet.
Throws: TransformerException
Parameters: transformer non-null reference to the the current transform-time state.
Throws: TransformerException
Returns: the element's name
Returns: the "test" attribute for this element.
Returns: The token ID for this element
Parameters: v test attribute to set