40 |
import java.text.DecimalFormat; |
import java.text.DecimalFormat; |
41 |
import java.util.ArrayList; |
import java.util.ArrayList; |
42 |
import java.util.Collections; |
import java.util.Collections; |
43 |
|
import java.util.Iterator; |
44 |
import java.util.List; |
import java.util.List; |
45 |
|
import javax.xml.namespace.QName; |
46 |
import javax.xml.xpath.XPathFunction; |
import javax.xml.xpath.XPathFunction; |
47 |
import javax.xml.xpath.XPathFunctionException; |
import javax.xml.xpath.XPathFunctionException; |
48 |
import org.w3c.dom.Node; |
import org.w3c.dom.Node; |
130 |
return f; |
return f; |
131 |
} |
} |
132 |
|
|
133 |
|
public boolean references(QName var) |
134 |
|
{ |
135 |
|
for (Iterator i = args.iterator(); i.hasNext(); ) |
136 |
|
{ |
137 |
|
if (((Expr) i.next()).references(var)) |
138 |
|
{ |
139 |
|
return true; |
140 |
|
} |
141 |
|
} |
142 |
|
return false; |
143 |
|
} |
144 |
|
|
145 |
} |
} |
146 |
|
|