src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/UnparsedEntityUriCall.java
changeset 47359 e1a6c0168741
parent 47216 71c04702a3d5
child 48409 5ab69533994b
equal deleted inserted replaced
47358:d07d5f7cab35 47359:e1a6c0168741
     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.
    19  * limitations under the License.
    19  * limitations under the License.
    20  */
    20  */
    21 
    21 
    22 package com.sun.org.apache.xalan.internal.xsltc.compiler;
    22 package com.sun.org.apache.xalan.internal.xsltc.compiler;
    23 
    23 
    24 import java.util.Vector;
       
    25 
       
    26 import com.sun.org.apache.bcel.internal.generic.ConstantPoolGen;
    24 import com.sun.org.apache.bcel.internal.generic.ConstantPoolGen;
    27 import com.sun.org.apache.bcel.internal.generic.INVOKEINTERFACE;
    25 import com.sun.org.apache.bcel.internal.generic.INVOKEINTERFACE;
    28 import com.sun.org.apache.bcel.internal.generic.InstructionList;
    26 import com.sun.org.apache.bcel.internal.generic.InstructionList;
    29 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator;
    27 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator;
    30 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator;
    28 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator;
    31 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.StringType;
    29 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.StringType;
    32 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type;
    30 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type;
    33 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError;
    31 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError;
       
    32 import java.util.List;
    34 
    33 
    35 /**
    34 /**
    36  * @author Jacek Ambroziak
    35  * @author Jacek Ambroziak
    37  * @author Santiago Pericas-Geertsen
    36  * @author Santiago Pericas-Geertsen
    38  * @author Morten Jorgensen
    37  * @author Morten Jorgensen
    39  */
    38  */
    40 final class UnparsedEntityUriCall extends FunctionCall {
    39 final class UnparsedEntityUriCall extends FunctionCall {
    41     private Expression _entity;
    40     private Expression _entity;
    42 
    41 
    43     public UnparsedEntityUriCall(QName fname, Vector arguments) {
    42     public UnparsedEntityUriCall(QName fname, List<Expression> arguments) {
    44         super(fname, arguments);
    43         super(fname, arguments);
    45         _entity = argument();
    44         _entity = argument();
    46     }
    45     }
    47 
    46 
    48     public Type typeCheck(SymbolTable stable) throws TypeCheckError {
    47     public Type typeCheck(SymbolTable stable) throws TypeCheckError {