src/java.xml/share/classes/com/sun/org/apache/xpath/internal/objects/XRTreeFragSelectWrapper.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. |
21 |
21 |
22 package com.sun.org.apache.xpath.internal.objects; |
22 package com.sun.org.apache.xpath.internal.objects; |
23 |
23 |
24 import com.sun.org.apache.xalan.internal.res.XSLMessages; |
24 import com.sun.org.apache.xalan.internal.res.XSLMessages; |
25 import com.sun.org.apache.xml.internal.dtm.DTMIterator; |
25 import com.sun.org.apache.xml.internal.dtm.DTMIterator; |
|
26 import com.sun.org.apache.xml.internal.utils.QName; |
26 import com.sun.org.apache.xml.internal.utils.XMLString; |
27 import com.sun.org.apache.xml.internal.utils.XMLString; |
27 import com.sun.org.apache.xpath.internal.Expression; |
28 import com.sun.org.apache.xpath.internal.Expression; |
28 import com.sun.org.apache.xpath.internal.XPathContext; |
29 import com.sun.org.apache.xpath.internal.XPathContext; |
29 import com.sun.org.apache.xpath.internal.res.XPATHErrorResources; |
30 import com.sun.org.apache.xpath.internal.res.XPATHErrorResources; |
|
31 import java.util.List; |
30 |
32 |
31 /** |
33 /** |
32 * This class makes an select statement act like an result tree fragment. |
34 * This class makes an select statement act like an result tree fragment. |
33 */ |
35 */ |
34 public class XRTreeFragSelectWrapper extends XRTreeFrag implements Cloneable |
36 public class XRTreeFragSelectWrapper extends XRTreeFrag implements Cloneable |
47 * corresponds to the variable reference qname. The position of the |
49 * corresponds to the variable reference qname. The position of the |
48 * QName in the vector from the start of the vector will be its position |
50 * QName in the vector from the start of the vector will be its position |
49 * in the stack frame (but variables above the globalsTop value will need |
51 * in the stack frame (but variables above the globalsTop value will need |
50 * to be offset to the current stack frame). |
52 * to be offset to the current stack frame). |
51 */ |
53 */ |
52 public void fixupVariables(java.util.Vector vars, int globalsSize) |
54 public void fixupVariables(List<QName> vars, int globalsSize) |
53 { |
55 { |
54 ((Expression)m_obj).fixupVariables(vars, globalsSize); |
56 ((Expression)m_obj).fixupVariables(vars, globalsSize); |
55 } |
57 } |
56 |
58 |
57 /** |
59 /** |