/** * Recompose the strip-space and preserve-space declarations. * * @param wsi A WhiteSpaceInfo element to add to the list of WhiteSpaceInfo elements. */ void recomposeWhiteSpaceInfo(WhiteSpaceInfo wsi) { if (null == m_whiteSpaceInfoList) m_whiteSpaceInfoList = new TemplateList(); m_whiteSpaceInfoList.setTemplate(wsi); }
TemplateSubPatternAssociation head = getHead(xctxt, targetNode, dtm); checkConflicts(head, xctxt, targetNode, mode);
m_keyDecls = new Vector(); m_namespaceAliasComposed = new Hashtable(); m_templateList = new TemplateList(); m_variables = new Vector(); m_templateList.compose(this);
TemplateSubPatternAssociation head = isWildCard ? m_wildCardPatterns : getHead(target); m_wildCardPatterns = association; else putHead(target, association); insertAssociationIntoList(head, association, false);
double priority = getPriorityOrScore(item); double workPriority; int importLevel = item.getImportLevel(); else workPriority = getPriorityOrScore(next); if (importLevel > next.getImportLevel()) break; workPriority = getPriorityOrScore(insertPoint); if (importLevel > insertPoint.getImportLevel()) insertBefore = true; putHead(key, item); return item; m_wildCardPatterns = item; else putHead(item.getTargetString(), item); return item;
/** * Get an "xsl:template" property. This looks in the imports as * well as this stylesheet. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param qname non-null reference to qualified name of template. * * @return reference to named template, or null if not found. */ public ElemTemplate getTemplateComposed(QName qname) { return m_templateList.getTemplate(qname); }
insertPatternInTable((StepPattern) matchExpr, template); insertPatternInTable(pats[i], template);
ElemTemplate template = tl.getTemplateFast(xctxt, child, exNodeType, mode, -1, quiet, dtm);
head = insertAssociationIntoList( head, (TemplateSubPatternAssociation) wild.clone(), true);
checkConflicts(head, xctxt, targetNode, mode);
TemplateSubPatternAssociation head = isWildCard ? m_wildCardPatterns : getHead(target); m_wildCardPatterns = association; else putHead(target, association); insertAssociationIntoList(head, association, false);
double priority = getPriorityOrScore(item); double workPriority; int importLevel = item.getImportLevel(); else workPriority = getPriorityOrScore(next); if (importLevel > next.getImportLevel()) break; workPriority = getPriorityOrScore(insertPoint); if (importLevel > insertPoint.getImportLevel()) insertBefore = true; putHead(key, item); return item; m_wildCardPatterns = item; else putHead(item.getTargetString(), item); return item;
/** * Get an "xsl:template" property. This looks in the imports as * well as this stylesheet. * @see <a href="http://www.w3.org/TR/xslt#section-Defining-Template-Rules">section-Defining-Template-Rules in XSLT Specification</a> * * @param qname non-null reference to qualified name of template. * * @return reference to named template, or null if not found. */ public ElemTemplate getTemplateComposed(QName qname) { return m_templateList.getTemplate(qname); }
insertPatternInTable((StepPattern) matchExpr, template); insertPatternInTable(pats[i], template);
ElemTemplate template = tl.getTemplateFast(xctxt, child, exNodeType, mode, -1, quiet, dtm);
head = insertAssociationIntoList( head, (TemplateSubPatternAssociation) wild.clone(), true);
checkConflicts(head, xctxt, targetNode, mode);
TemplateSubPatternAssociation head = isWildCard ? m_wildCardPatterns : getHead(target); m_wildCardPatterns = association; else putHead(target, association); insertAssociationIntoList(head, association, false);
TemplateSubPatternAssociation head = getHead(xctxt, targetNode, dtm); checkConflicts(head, xctxt, targetNode, mode);
/** * Recompose the strip-space and preserve-space declarations. * * @param wsi A WhiteSpaceInfo element to add to the list of WhiteSpaceInfo elements. */ void recomposeWhiteSpaceInfo(WhiteSpaceInfo wsi) { if (null == m_whiteSpaceInfoList) m_whiteSpaceInfoList = new TemplateList(); m_whiteSpaceInfoList.setTemplate(wsi); }