/** * Add a child to the child list. If the select attribute * is present, an error will be raised. * * @param elem New element to append to this element's children list * * @return null if the select attribute was present, otherwise the * child just added to the child list */ public ElemTemplateElement appendChild(ElemTemplateElement elem) { // cannot have content and select if (m_selectPattern != null) { error(XSLTErrorResources.ER_CANT_HAVE_CONTENT_AND_SELECT, new Object[]{"xsl:" + this.getNodeName()}); return null; } return super.appendChild(elem); }
/** * This after the template's children have been composed. */ public void endCompose(StylesheetRoot sroot) throws TransformerException { int length = getParamElemCount(); for (int i = 0; i < length; i++) { ElemWithParam ewp = getParamElem(i); ewp.endCompose(sroot); } super.endCompose(sroot); }
if(ewp.m_index >= 0) XObject obj = ewp.getValue(transformer, currentNode);
else if (null == getFirstChildElem())
/** * Add a child to the child list. If the select attribute * is present, an error will be raised. * * @param elem New element to append to this element's children list * * @return null if the select attribute was present, otherwise the * child just added to the child list */ public ElemTemplateElement appendChild(ElemTemplateElement elem) { // cannot have content and select if (m_selectPattern != null) { error(XSLTErrorResources.ER_CANT_HAVE_CONTENT_AND_SELECT, new Object[]{"xsl:" + this.getNodeName()}); return null; } return super.appendChild(elem); }
XObject obj = ewp.getValue(transformer, currentNode); if (transformer.getDebug()) transformer.getTraceManager().fireTraceEndEvent(ewp);
"select", m_selectPattern, var); else if (null == getFirstChildElem())
/** * Add a child to the child list. If the select attribute * is present, an error will be raised. * * @param elem New element to append to this element's children list * * @return null if the select attribute was present, otherwise the * child just added to the child list */ public ElemTemplateElement appendChild(ElemTemplateElement elem) { // cannot have content and select if (m_selectPattern != null) { error(XSLTErrorResources.ER_CANT_HAVE_CONTENT_AND_SELECT, new Object[]{"xsl:" + this.getNodeName()}); return null; } return super.appendChild(elem); }
/** * Add a child to the child list. If the select attribute * is present, an error will be raised. * * @param elem New element to append to this element's children list * * @return null if the select attribute was present, otherwise the * child just added to the child list */ public ElemTemplateElement appendChild(ElemTemplateElement elem) { // cannot have content and select if (m_selectPattern != null) { error(XSLTErrorResources.ER_CANT_HAVE_CONTENT_AND_SELECT, new Object[]{"xsl:" + this.getNodeName()}); return null; } return super.appendChild(elem); }
XObject obj = ewp.getValue(transformer, sourceNode);
/** * This after the template's children have been composed. */ public void endCompose(StylesheetRoot sroot) throws TransformerException { int length = getParamElemCount(); for (int i = 0; i < length; i++) { ElemWithParam ewp = getParamElem(i); ewp.endCompose(sroot); } super.endCompose(sroot); }
else if (null == getFirstChildElem())
/** * Add a child to the child list. If the select attribute * is present, an error will be raised. * * @param elem New element to append to this element's children list * * @return null if the select attribute was present, otherwise the * child just added to the child list */ public ElemTemplateElement appendChild(ElemTemplateElement elem) { // cannot have content and select if (m_selectPattern != null) { error(XSLTErrorResources.ER_CANT_HAVE_CONTENT_AND_SELECT, new Object[]{"xsl:" + this.getNodeName()}); return null; } return super.appendChild(elem); }
if (transformer.getDebug()) transformer.getTraceManager().fireTraceEvent(ewp); XObject obj = ewp.getValue(transformer, sourceNode); if (transformer.getDebug()) transformer.getTraceManager().fireTraceEndEvent(ewp);
/** * This after the template's children have been composed. */ public void endCompose(StylesheetRoot sroot) throws TransformerException { int length = getParamElemCount(); for (int i = 0; i < length; i++) { ElemWithParam ewp = getParamElem(i); ewp.endCompose(sroot); } super.endCompose(sroot); }
else if (null == getFirstChildElem())