src/java.xml/share/classes/com/sun/org/apache/xpath/internal/axes/FilterExprIterator.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * reserved comment block |
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT REMOVE OR ALTER! |
3 * @LastModified: Oct 2017 |
4 */ |
4 */ |
5 /* |
5 /* |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
7 * contributor license agreements. See the NOTICE file distributed with |
7 * contributor license agreements. See the NOTICE file distributed with |
8 * this work for additional information regarding copyright ownership. |
8 * this work for additional information regarding copyright ownership. |
20 */ |
20 */ |
21 |
21 |
22 package com.sun.org.apache.xpath.internal.axes; |
22 package com.sun.org.apache.xpath.internal.axes; |
23 |
23 |
24 import com.sun.org.apache.xml.internal.dtm.DTM; |
24 import com.sun.org.apache.xml.internal.dtm.DTM; |
|
25 import com.sun.org.apache.xml.internal.utils.QName; |
25 import com.sun.org.apache.xpath.internal.Expression; |
26 import com.sun.org.apache.xpath.internal.Expression; |
26 import com.sun.org.apache.xpath.internal.ExpressionOwner; |
27 import com.sun.org.apache.xpath.internal.ExpressionOwner; |
27 import com.sun.org.apache.xpath.internal.XPathVisitor; |
28 import com.sun.org.apache.xpath.internal.XPathVisitor; |
28 import com.sun.org.apache.xpath.internal.objects.XNodeSet; |
29 import com.sun.org.apache.xpath.internal.objects.XNodeSet; |
|
30 import java.util.List; |
29 |
31 |
30 public class FilterExprIterator extends BasicTestIterator |
32 public class FilterExprIterator extends BasicTestIterator |
31 { |
33 { |
32 static final long serialVersionUID = 2552176105165737614L; |
34 static final long serialVersionUID = 2552176105165737614L; |
33 /** The contained expression. Should be non-null. |
35 /** The contained expression. Should be non-null. |
112 * corresponds to the variable reference qname. The position of the |
114 * corresponds to the variable reference qname. The position of the |
113 * QName in the vector from the start of the vector will be its position |
115 * QName in the vector from the start of the vector will be its position |
114 * in the stack frame (but variables above the globalsTop value will need |
116 * in the stack frame (but variables above the globalsTop value will need |
115 * to be offset to the current stack frame). |
117 * to be offset to the current stack frame). |
116 */ |
118 */ |
117 public void fixupVariables(java.util.Vector vars, int globalsSize) |
119 public void fixupVariables(List<QName> vars, int globalsSize) |
118 { |
120 { |
119 super.fixupVariables(vars, globalsSize); |
121 super.fixupVariables(vars, globalsSize); |
120 m_expr.fixupVariables(vars, globalsSize); |
122 m_expr.fixupVariables(vars, globalsSize); |
121 } |
123 } |
122 |
124 |