/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param stylesheetRoot The broadest scope of where the variable * should be inserted, which must be a StylesheetRoot element in this case. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createGlobalPseudoVarDecl(QName uniquePseudoVarName, StylesheetRoot stylesheetRoot, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariable(); psuedoVar.setIsTopLevel(true); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); Vector globalVars = stylesheetRoot.getVariablesAndParamsComposed(); psuedoVar.setIndex(globalVars.size()); globalVars.addElement(psuedoVar); return psuedoVar; }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param stylesheetRoot The broadest scope of where the variable * should be inserted, which must be a StylesheetRoot element in this case. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createGlobalPseudoVarDecl(QName uniquePseudoVarName, StylesheetRoot stylesheetRoot, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariable(); psuedoVar.setIsTopLevel(true); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); Vector globalVars = stylesheetRoot.getVariablesAndParamsComposed(); psuedoVar.setIndex(globalVars.size()); globalVars.addElement(psuedoVar); return psuedoVar; }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param psuedoVarRecipient The broadest scope of where the variable * should be inserted, usually an xsl:template or xsl:for-each. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createLocalPseudoVarDecl(QName uniquePseudoVarName, ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariablePsuedo(); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); ElemVariable var = addVarDeclToElem(psuedoVarRecipient, lpi, psuedoVar); lpi.exprSetParent(var); return var; }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param psuedoVarRecipient The broadest scope of where the variable * should be inserted, usually an xsl:template or xsl:for-each. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createLocalPseudoVarDecl(QName uniquePseudoVarName, ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariablePsuedo(); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); ElemVariable var = addVarDeclToElem(psuedoVarRecipient, lpi, psuedoVar); lpi.exprSetParent(var); return var; }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Set the "select" attribute. * If the variable-binding element has a select attribute, * then the value of the attribute must be an expression and * the value of the variable is the object that results from * evaluating the expression. In this case, the content * of the variable must be empty. * * @param v Value to set for the "select" attribute. */ public void setSelect(XPath v) { super.setSelect(v); m_lazyVar = new XUnresolvedVariableSimple(this); }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param stylesheetRoot The broadest scope of where the variable * should be inserted, which must be a StylesheetRoot element in this case. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createGlobalPseudoVarDecl(QName uniquePseudoVarName, StylesheetRoot stylesheetRoot, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariable(); psuedoVar.setIsTopLevel(true); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); Vector globalVars = stylesheetRoot.getVariablesAndParamsComposed(); psuedoVar.setIndex(globalVars.size()); globalVars.addElement(psuedoVar); return psuedoVar; }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param psuedoVarRecipient The broadest scope of where the variable * should be inserted, usually an xsl:template or xsl:for-each. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createLocalPseudoVarDecl(QName uniquePseudoVarName, ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariablePsuedo(); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); ElemVariable var = addVarDeclToElem(psuedoVarRecipient, lpi, psuedoVar); lpi.exprSetParent(var); return var; }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param psuedoVarRecipient The broadest scope of where the variable * should be inserted, usually an xsl:template or xsl:for-each. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createLocalPseudoVarDecl(QName uniquePseudoVarName, ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariablePsuedo(); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); ElemVariable var = addVarDeclToElem(psuedoVarRecipient, lpi, psuedoVar); lpi.exprSetParent(var); return var; }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param psuedoVarRecipient The broadest scope of where the variable * should be inserted, usually an xsl:template or xsl:for-each. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createLocalPseudoVarDecl(QName uniquePseudoVarName, ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariablePsuedo(); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); ElemVariable var = addVarDeclToElem(psuedoVarRecipient, lpi, psuedoVar); lpi.exprSetParent(var); return var; }
/** * Create a psuedo variable reference that will represent the * shared redundent XPath, for a local reduction. * * @param uniquePseudoVarName The name of the new variable. * @param psuedoVarRecipient The broadest scope of where the variable * should be inserted, usually an xsl:template or xsl:for-each. * @param lpi The LocationPathIterator that the variable should represent. * @return null if the decl was not created, otherwise the new Pseudo var * element. */ protected ElemVariable createLocalPseudoVarDecl(QName uniquePseudoVarName, ElemTemplateElement psuedoVarRecipient, LocPathIterator lpi) throws org.w3c.dom.DOMException { ElemVariable psuedoVar = new ElemVariablePsuedo(); XPath xpath = new XPath(lpi); psuedoVar.setSelect(xpath); psuedoVar.setName(uniquePseudoVarName); ElemVariable var = addVarDeclToElem(psuedoVarRecipient, lpi, psuedoVar); lpi.exprSetParent(var); return var; }