|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.UnImplNode | +--org.apache.xalan.templates.ElemTemplateElement | +--org.apache.xalan.templates.ElemIf
**For advanced use only** Implement xsl:if.
Constructor Summary | |
ElemIf()
|
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. |
java.lang.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. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ElemIf()
Method Detail |
public void setTest(XPath v)
v
- test attribute to setpublic XPath getTest()
public void compose(StylesheetRoot sroot) throws TransformerException
sroot
- The root stylesheet.public int getXSLToken()
Constants
public java.lang.String getNodeName()
public void execute(TransformerImpl transformer) throws TransformerException
transformer
- non-null reference to the the current transform-time state.sourceNode
- non-null reference to the current source node.mode
- reference, which may be null, to the current mode.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |