1 /*
2 * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
3 * @LastModified: Oct 2017
4 */
5 /*
6 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * contributor license agreements. See the NOTICE file distributed with
8 * this work for additional information regarding copyright ownership.
9 * The ASF licenses this file to You under the Apache License, Version 2.0
10 * (the "License"); you may not use this file except in compliance with
11 * the License. You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 */
21 /*
22 * $Id: Stylesheet.java,v 1.5 2005/09/28 13:48:16 pvedula Exp $
23 */
49 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg;
50 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator;
51 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type;
52 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError;
53 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util;
54 import com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet;
55 import com.sun.org.apache.xml.internal.dtm.DTM;
56 import com.sun.org.apache.xml.internal.utils.SystemIDResolver;
57 import java.util.ArrayList;
58 import java.util.HashMap;
59 import java.util.Iterator;
60 import java.util.List;
61 import java.util.Map;
62 import java.util.Properties;
63 import java.util.StringTokenizer;
64
65 /**
66 * @author Jacek Ambroziak
67 * @author Santiago Pericas-Geertsen
68 * @author Morten Jorgensen
69 */
70 public final class Stylesheet extends SyntaxTreeNode {
71
72 /**
73 * XSLT version defined in the stylesheet.
74 */
75 private String _version;
76
77 /**
78 * Internal name of this stylesheet used as a key into the symbol table.
79 */
80 private QName _name;
81
82 /**
83 * A URI that represents the system ID for this stylesheet.
84 */
85 private String _systemId;
86
87 /**
88 * A reference to the parent stylesheet or null if topmost.
|
1 /*
2 * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
3 */
4 /*
5 * Licensed to the Apache Software Foundation (ASF) under one or more
6 * contributor license agreements. See the NOTICE file distributed with
7 * this work for additional information regarding copyright ownership.
8 * The ASF licenses this file to You under the Apache License, Version 2.0
9 * (the "License"); you may not use this file except in compliance with
10 * the License. You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20 /*
21 * $Id: Stylesheet.java,v 1.5 2005/09/28 13:48:16 pvedula Exp $
22 */
48 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg;
49 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator;
50 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type;
51 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError;
52 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util;
53 import com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet;
54 import com.sun.org.apache.xml.internal.dtm.DTM;
55 import com.sun.org.apache.xml.internal.utils.SystemIDResolver;
56 import java.util.ArrayList;
57 import java.util.HashMap;
58 import java.util.Iterator;
59 import java.util.List;
60 import java.util.Map;
61 import java.util.Properties;
62 import java.util.StringTokenizer;
63
64 /**
65 * @author Jacek Ambroziak
66 * @author Santiago Pericas-Geertsen
67 * @author Morten Jorgensen
68 * @LastModified: Oct 2017
69 */
70 public final class Stylesheet extends SyntaxTreeNode {
71
72 /**
73 * XSLT version defined in the stylesheet.
74 */
75 private String _version;
76
77 /**
78 * Internal name of this stylesheet used as a key into the symbol table.
79 */
80 private QName _name;
81
82 /**
83 * A URI that represents the system ID for this stylesheet.
84 */
85 private String _systemId;
86
87 /**
88 * A reference to the parent stylesheet or null if topmost.
|