39 |
|
|
40 |
import java.util.ArrayList; |
import java.util.ArrayList; |
41 |
import java.util.Collections; |
import java.util.Collections; |
42 |
|
import java.util.Iterator; |
43 |
import java.util.List; |
import java.util.List; |
44 |
|
import javax.xml.namespace.QName; |
45 |
import javax.xml.xpath.XPathFunction; |
import javax.xml.xpath.XPathFunction; |
46 |
import javax.xml.xpath.XPathFunctionException; |
import javax.xml.xpath.XPathFunctionException; |
47 |
import org.w3c.dom.DocumentType; |
import org.w3c.dom.DocumentType; |
116 |
return f; |
return f; |
117 |
} |
} |
118 |
|
|
119 |
|
public boolean references(QName var) |
120 |
|
{ |
121 |
|
for (Iterator i = args.iterator(); i.hasNext(); ) |
122 |
|
{ |
123 |
|
if (((Expr) i.next()).references(var)) |
124 |
|
{ |
125 |
|
return true; |
126 |
|
} |
127 |
|
} |
128 |
|
return false; |
129 |
|
} |
130 |
|
|
131 |
} |
} |
132 |
|
|