src/java.xml/share/classes/com/sun/org/apache/xpath/internal/ExtensionsProvider.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. |
19 * limitations under the License. |
19 * limitations under the License. |
20 */ |
20 */ |
21 |
21 |
22 package com.sun.org.apache.xpath.internal; |
22 package com.sun.org.apache.xpath.internal; |
23 |
23 |
24 import java.util.Vector; |
|
25 |
|
26 import com.sun.org.apache.xpath.internal.functions.FuncExtFunction; |
24 import com.sun.org.apache.xpath.internal.functions.FuncExtFunction; |
|
25 import com.sun.org.apache.xpath.internal.objects.XObject; |
|
26 import java.util.List; |
27 |
27 |
28 /** |
28 /** |
29 * Interface that XPath objects can call to obtain access to an |
29 * Interface that XPath objects can call to obtain access to an |
30 * ExtensionsTable. |
30 * ExtensionsTable. |
31 * |
31 * |
46 throws javax.xml.transform.TransformerException; |
46 throws javax.xml.transform.TransformerException; |
47 |
47 |
48 /** |
48 /** |
49 * Execute the extension function. |
49 * Execute the extension function. |
50 */ |
50 */ |
51 public Object extFunction(String ns, String funcName, |
51 public Object extFunction(String ns, String funcName, List<XObject> argVec, |
52 Vector argVec, Object methodKey) |
52 Object methodKey) |
53 throws javax.xml.transform.TransformerException; |
53 throws javax.xml.transform.TransformerException; |
54 |
54 |
55 /** |
55 /** |
56 * Execute the extension function. |
56 * Execute the extension function. |
57 */ |
57 */ |
58 public Object extFunction(FuncExtFunction extFunction, |
58 public Object extFunction(FuncExtFunction extFunction, List<XObject> argVec) |
59 Vector argVec) |
|
60 throws javax.xml.transform.TransformerException; |
59 throws javax.xml.transform.TransformerException; |
61 } |
60 } |