1 /*
2 * Copyright (c) 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 package com.sun.org.apache.xpath.internal.functions;
23
24 import com.sun.org.apache.xalan.internal.res.XSLMessages;
25 import com.sun.org.apache.xml.internal.utils.QName;
26 import com.sun.org.apache.xpath.internal.Expression;
27 import com.sun.org.apache.xpath.internal.ExpressionNode;
28 import com.sun.org.apache.xpath.internal.ExpressionOwner;
29 import com.sun.org.apache.xpath.internal.ExtensionsProvider;
30 import com.sun.org.apache.xpath.internal.XPathContext;
31 import com.sun.org.apache.xpath.internal.XPathVisitor;
32 import com.sun.org.apache.xpath.internal.objects.XNull;
33 import com.sun.org.apache.xpath.internal.objects.XObject;
34 import com.sun.org.apache.xpath.internal.res.XPATHErrorResources;
35 import com.sun.org.apache.xpath.internal.res.XPATHMessages;
36 import java.util.ArrayList;
37 import java.util.List;
38
39 /**
40 * An object of this class represents an extension call expression. When
41 * the expression executes, it calls ExtensionsTable#extFunction, and then
42 * converts the result to the appropriate XObject.
43 * @xsl.usage advanced
44 */
45 public class FuncExtFunction extends Function
46 {
47 static final long serialVersionUID = 5196115554693708718L;
48
49 /**
50 * The namespace for the extension function, which should not normally
51 * be null or empty.
52 * @serial
53 */
54 String m_namespace;
55
56 /**
57 * The local name of the extension.
58 * @serial
59 */
60 String m_extensionName;
61
62 /**
63 * Unique method key, which is passed to ExtensionsTable#extFunction in
|
1 /*
2 * Copyright (c) 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 package com.sun.org.apache.xpath.internal.functions;
22
23 import com.sun.org.apache.xalan.internal.res.XSLMessages;
24 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.ExpressionNode;
27 import com.sun.org.apache.xpath.internal.ExpressionOwner;
28 import com.sun.org.apache.xpath.internal.ExtensionsProvider;
29 import com.sun.org.apache.xpath.internal.XPathContext;
30 import com.sun.org.apache.xpath.internal.XPathVisitor;
31 import com.sun.org.apache.xpath.internal.objects.XNull;
32 import com.sun.org.apache.xpath.internal.objects.XObject;
33 import com.sun.org.apache.xpath.internal.res.XPATHErrorResources;
34 import com.sun.org.apache.xpath.internal.res.XPATHMessages;
35 import java.util.ArrayList;
36 import java.util.List;
37
38 /**
39 * An object of this class represents an extension call expression. When
40 * the expression executes, it calls ExtensionsTable#extFunction, and then
41 * converts the result to the appropriate XObject.
42 * @xsl.usage advanced
43 * @LastModified: Oct 2017
44 */
45 public class FuncExtFunction extends Function
46 {
47 static final long serialVersionUID = 5196115554693708718L;
48
49 /**
50 * The namespace for the extension function, which should not normally
51 * be null or empty.
52 * @serial
53 */
54 String m_namespace;
55
56 /**
57 * The local name of the extension.
58 * @serial
59 */
60 String m_extensionName;
61
62 /**
63 * Unique method key, which is passed to ExtensionsTable#extFunction in
|