/** * Conditionally execute a sub-template. * The expression is evaluated and the resulting object is converted * to a boolean as if by a call to the boolean function. If the result * is true, then the content template is instantiated; otherwise, nothing * is created. * * @param transformer non-null reference to the the current transform-time state. * * @throws TransformerException */ public void execute(TransformerImpl transformer) throws TransformerException { XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); if (m_test.bool(xctxt, sourceNode, this)) { transformer.executeChildTemplates(this, true); } }
if (when.getTest().bool(xctxt, sourceNode, when)) { transformer.executeChildTemplates(when, true);
else if (m_test.bool(xctxt, sourceNode, this))
else if (when.getTest().bool(xctxt, sourceNode, when))
@Override protected boolean condition() throws JspTagException { XPathContext context = XalanUtil.getContext(this, pageContext); try { return select.bool(context, context.getCurrentNode(), null); } catch (TransformerException e) { throw new JspTagException(e); } }
@Override protected boolean condition() throws JspTagException { XPathContext context = XalanUtil.getContext(this, pageContext); try { return select.bool(context, context.getCurrentNode(), null); } catch (TransformerException e) { throw new JspTagException(e); } }
@Override protected boolean condition() throws JspTagException { XPathContext context = XalanUtil.getContext(this, pageContext); try { return select.bool(context, context.getCurrentNode(), null); } catch (TransformerException e) { throw new JspTagException(e); } }
@Override protected boolean condition() throws JspTagException { XPathContext context = XalanUtil.getContext(this, pageContext); try { return select.bool(context, context.getCurrentNode(), null); } catch (TransformerException e) { throw new JspTagException(e); } }
/** * Conditionally execute a sub-template. * The expression is evaluated and the resulting object is converted * to a boolean as if by a call to the boolean function. If the result * is true, then the content template is instantiated; otherwise, nothing * is created. * * @param transformer non-null reference to the the current transform-time state. * * @throws TransformerException */ public void execute(TransformerImpl transformer) throws TransformerException { XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); if (m_test.bool(xctxt, sourceNode, this)) { transformer.executeChildTemplates(this, true); } }
/** * Conditionally execute a sub-template. * The expression is evaluated and the resulting object is converted * to a boolean as if by a call to the boolean function. If the result * is true, then the content template is instantiated; otherwise, nothing * is created. * * @param transformer non-null reference to the the current transform-time state. * * @throws TransformerException */ public void execute(TransformerImpl transformer) throws TransformerException { XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); if (m_test.bool(xctxt, sourceNode, this)) { transformer.executeChildTemplates(this, true); } }
/** * Conditionally execute a sub-template. * The expression is evaluated and the resulting object is converted * to a boolean as if by a call to the boolean function. If the result * is true, then the content template is instantiated; otherwise, nothing * is created. * * @param transformer non-null reference to the the current transform-time state. * * @throws TransformerException */ public void execute(TransformerImpl transformer) throws TransformerException { XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); if (m_test.bool(xctxt, sourceNode, this)) { transformer.executeChildTemplates(this, true); } }
/** * Conditionally execute a sub-template. * The expression is evaluated and the resulting object is converted * to a boolean as if by a call to the boolean function. If the result * is true, then the content template is instantiated; otherwise, nothing * is created. * * @param transformer non-null reference to the the current transform-time state. * * @throws TransformerException */ public void execute(TransformerImpl transformer) throws TransformerException { XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); if (m_test.bool(xctxt, sourceNode, this)) { transformer.executeChildTemplates(this, true); } }
/** * Conditionally execute a sub-template. * The expression is evaluated and the resulting object is converted * to a boolean as if by a call to the boolean function. If the result * is true, then the content template is instantiated; otherwise, nothing * is created. * * @param transformer non-null reference to the the current transform-time state. * * @throws TransformerException */ public void execute(TransformerImpl transformer) throws TransformerException { XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); if (m_test.bool(xctxt, sourceNode, this)) { transformer.executeChildTemplates(this, true); } }
/** * Conditionally execute a sub-template. * The expression is evaluated and the resulting object is converted * to a boolean as if by a call to the boolean function. If the result * is true, then the content template is instantiated; otherwise, nothing * is created. * * @param transformer non-null reference to the the current transform-time state. * * @throws TransformerException */ public void execute(TransformerImpl transformer) throws TransformerException { XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); if (m_test.bool(xctxt, sourceNode, this)) { transformer.executeChildTemplates(this, true); } }
if (when.getTest().bool(xctxt, sourceNode, when)) { transformer.executeChildTemplates(when, true);
if (when.getTest().bool(xctxt, sourceNode, when)) { transformer.executeChildTemplates(when, true);
if (when.getTest().bool(xctxt, sourceNode, when)) { transformer.executeChildTemplates(when, true);
if (when.getTest().bool(xctxt, sourceNode, when)) { transformer.executeChildTemplates(when, true);
else if (m_test.bool(xctxt, sourceNode, this))
else if (m_test.bool(xctxt, sourceNode, this))