/** * Notify all references to this function of the data type. * * @throws XPathException */ public void fixupReferences() throws XPathException { // for (UserFunctionReference reference : references) { // if (reference instanceof UserFunctionCall) { // ((UserFunctionCall) reference).setStaticType(resultType); // } // } super.fixupReferences(); }
@Override public void fixupReferences() throws XPathException { sourceBinding.fixupReferences(compiledVariable); super.fixupReferences(); }
/** * Notify all references to this function of the data type. * @throws XPathException */ public void fixupReferences() throws XPathException { Iterator iter = references.iterator(); while (iter.hasNext()) { ((UserFunctionCall)iter.next()).setStaticType(resultType); } super.fixupReferences(); }
@Override public void fixupReferences() throws XPathException { sourceBinding.fixupReferences(compiledVariable); super.fixupReferences(); }
/** * Notify all references to this function of the data type. * @throws XPathException */ public void fixupReferences() throws XPathException { Iterator iter = references.iterator(); while (iter.hasNext()) { ((UserFunctionCall)iter.next()).setStaticType(resultType); } super.fixupReferences(); }
/** * Fix up references from XPath expressions. Overridden for function declarations * and variable declarations * * @throws net.sf.saxon.trans.XPathException if any references cannot be fixed up. */ public void fixupReferences() throws XPathException { iterateAxis(AxisInfo.CHILD).forEachOrFail(child -> { if (child instanceof StyleElement) { ((StyleElement) child).fixupReferences(); } }); }
/** * Fix up references from XPath expressions. Overridden for function declarations * and variable declarations * * @throws net.sf.saxon.trans.XPathException if any references cannot be fixed up. */ public void fixupReferences() throws XPathException { iterateAxis(AxisInfo.CHILD).forEachOrFail(child -> { if (child instanceof StyleElement) { ((StyleElement) child).fixupReferences(); } }); }
/** * Fix up references from XPath expressions. Overridden for function declarations * and variable declarations */ public void fixupReferences() throws XPathException { AxisIterator kids = iterateAxis(Axis.CHILD); while (true) { NodeInfo child = (NodeInfo)kids.next(); if (child == null) { return; } if (child instanceof StyleElement) { ((StyleElement)child).fixupReferences(); } } }
/** * Fix up references from XPath expressions. Overridden for function declarations * and variable declarations */ public void fixupReferences() throws XPathException { AxisIterator kids = iterateAxis(Axis.CHILD); while (true) { NodeInfo child = (NodeInfo)kids.next(); if (child == null) { return; } if (child instanceof StyleElement) { ((StyleElement)child).fixupReferences(); } } }
Object node = topLevel.get(i); if (node instanceof StyleElement) { ((StyleElement) node).fixupReferences();
Object node = topLevel.get(i); if (node instanceof StyleElement) { ((StyleElement) node).fixupReferences();
Object node = topLevel.get(i); if (node instanceof StyleElement) { ((StyleElement) node).fixupReferences();
if (!inst.isActionCompleted(StyleElement.ACTION_FIXUP)) { inst.setActionCompleted(StyleElement.ACTION_FIXUP); inst.fixupReferences();
if (!inst.isActionCompleted(StyleElement.ACTION_FIXUP)) { inst.setActionCompleted(StyleElement.ACTION_FIXUP); inst.fixupReferences();