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 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; |
124 |
return f; |
return f; |
125 |
} |
} |
126 |
|
|
127 |
|
public boolean references(QName var) |
128 |
|
{ |
129 |
|
for (Iterator i = args.iterator(); i.hasNext(); ) |
130 |
|
{ |
131 |
|
if (((Expr) i.next()).references(var)) |
132 |
|
{ |
133 |
|
return true; |
134 |
|
} |
135 |
|
} |
136 |
|
return false; |
137 |
|
} |
138 |
|
|
139 |
} |
} |
140 |
|
|