40 |
import java.util.ArrayList; |
import java.util.ArrayList; |
41 |
import java.util.Collection; |
import java.util.Collection; |
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 java.util.TreeSet; |
import java.util.TreeSet; |
46 |
|
import javax.xml.namespace.QName; |
47 |
import javax.xml.namespace.NamespaceContext; |
import javax.xml.namespace.NamespaceContext; |
48 |
import javax.xml.xpath.XPathFunction; |
import javax.xml.xpath.XPathFunction; |
49 |
import javax.xml.xpath.XPathFunctionException; |
import javax.xml.xpath.XPathFunctionException; |
167 |
return f; |
return f; |
168 |
} |
} |
169 |
|
|
170 |
|
public boolean references(QName var) |
171 |
|
{ |
172 |
|
for (Iterator i = args.iterator(); i.hasNext(); ) |
173 |
|
{ |
174 |
|
if (((Expr) i.next()).references(var)) |
175 |
|
{ |
176 |
|
return true; |
177 |
|
} |
178 |
|
} |
179 |
|
return false; |
180 |
|
} |
181 |
|
|
182 |
} |
} |
183 |
|
|