public class com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider implements com.sun.org.apache.xpath.internal.ExtensionsProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider
super_class: java.lang.Object
{
private final javax.xml.xpath.XPathFunctionResolver resolver;
descriptor: Ljavax/xml/xpath/XPathFunctionResolver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean extensionInvocationDisabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.xml.xpath.XPathFunctionResolver);
descriptor: (Ljavax/xml/xpath/XPathFunctionResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.extensionInvocationDisabled:Z
2: aload 0
aload 1
putfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.resolver:Ljavax/xml/xpath/XPathFunctionResolver;
3: aload 0
iconst_0
putfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.extensionInvocationDisabled:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider;
0 5 1 resolver Ljavax/xml/xpath/XPathFunctionResolver;
MethodParameters:
Name Flags
resolver
public void <init>(javax.xml.xpath.XPathFunctionResolver, boolean, jdk.xml.internal.JdkXmlFeatures);
descriptor: (Ljavax/xml/xpath/XPathFunctionResolver;ZLjdk/xml/internal/JdkXmlFeatures;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.extensionInvocationDisabled:Z
2: aload 0
aload 1
putfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.resolver:Ljavax/xml/xpath/XPathFunctionResolver;
3: iload 2
ifeq 6
4: aload 3
getstatic jdk.xml.internal.JdkXmlFeatures$XmlFeature.ENABLE_EXTENSION_FUNCTION:Ljdk/xml/internal/JdkXmlFeatures$XmlFeature;
invokevirtual jdk.xml.internal.JdkXmlFeatures.getFeature:(Ljdk/xml/internal/JdkXmlFeatures$XmlFeature;)Z
ifne 6
5: aload 0
iconst_1
putfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.extensionInvocationDisabled:Z
6: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider javax.xml.xpath.XPathFunctionResolver int jdk.xml.internal.JdkXmlFeatures
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider;
0 7 1 resolver Ljavax/xml/xpath/XPathFunctionResolver;
0 7 2 featureSecureProcessing Z
0 7 3 featureManager Ljdk/xml/internal/JdkXmlFeatures;
MethodParameters:
Name Flags
resolver
featureSecureProcessing
featureManager
public boolean functionAvailable(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 5
1: ldc "ER_ARG_CANNOT_BE_NULL"
2: iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "Function Name"
aastore
3: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 4: new java.lang.NullPointerException
dup
aload 3
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 3 5: StackMap locals:
StackMap stack:
new javax.xml.namespace.QName
dup
aload 1
aload 2
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 6: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.resolver:Ljavax/xml/xpath/XPathFunctionResolver;
aload 3
iconst_0
invokeinterface javax.xml.xpath.XPathFunctionResolver.resolveFunction:(Ljavax/xml/namespace/QName;I)Ljavax/xml/xpath/XPathFunction;
7: astore 4
start local 4 8: aload 4
ifnonnull 10
9: iconst_0
ireturn
10: StackMap locals: javax.xml.namespace.QName javax.xml.xpath.XPathFunction
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 11: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider java.lang.String java.lang.String
StackMap stack: java.lang.Exception
pop
12: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider;
0 13 1 ns Ljava/lang/String;
0 13 2 funcName Ljava/lang/String;
4 5 3 fmsg Ljava/lang/String;
6 11 3 myQName Ljavax/xml/namespace/QName;
8 11 4 xpathFunction Ljavax/xml/xpath/XPathFunction;
Exception table:
from to target type
0 9 11 Class java.lang.Exception
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
ns
funcName
public boolean elementAvailable(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider;
0 1 1 ns Ljava/lang/String;
0 1 2 elemName Ljava/lang/String;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
ns
elemName
public extFunction(java.lang.String, java.lang.String, java.util.List<com.sun.org.apache.xpath.internal.objects.XObject>, );
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ifnonnull 5
1: ldc "ER_ARG_CANNOT_BE_NULL"
2: iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "Function Name"
aastore
3: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 4: new java.lang.NullPointerException
dup
aload 5
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 5 5: StackMap locals:
StackMap stack:
new javax.xml.namespace.QName
dup
aload 1
aload 2
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 6: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.extensionInvocationDisabled:Z
ifeq 11
7: ldc "ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED"
8: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
invokevirtual javax.xml.namespace.QName.toString:()Ljava/lang/String;
aastore
9: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 10: new javax.xml.xpath.XPathFunctionException
dup
aload 6
invokespecial javax.xml.xpath.XPathFunctionException.<init>:(Ljava/lang/String;)V
athrow
end local 6 11: StackMap locals: javax.xml.namespace.QName
StackMap stack:
aload 3
invokeinterface java.util.List.size:()I
istore 6
start local 6 12: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.resolver:Ljavax/xml/xpath/XPathFunctionResolver;
aload 5
iload 6
invokeinterface javax.xml.xpath.XPathFunctionResolver.resolveFunction:(Ljavax/xml/namespace/QName;I)Ljavax/xml/xpath/XPathFunction;
13: astore 7
start local 7 14: new java.util.ArrayList
dup
iload 6
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 15: iconst_0
istore 9
start local 9 16: goto 27
17: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider java.lang.String java.lang.String java.util.List java.lang.Object javax.xml.namespace.QName int javax.xml.xpath.XPathFunction java.util.List int
StackMap stack:
aload 3
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.org.apache.xpath.internal.objects.XObject
astore 10
start local 10 18: aload 10
instanceof com.sun.org.apache.xpath.internal.objects.XNodeSet
ifeq 21
19: aload 8
iload 9
aload 10
checkcast com.sun.org.apache.xpath.internal.objects.XNodeSet
invokevirtual com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist:()Lorg/w3c/dom/NodeList;
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
20: goto 26
StackMap locals: com.sun.org.apache.xpath.internal.objects.XObject
StackMap stack:
21: aload 10
instanceof com.sun.org.apache.xpath.internal.objects.XObject
ifeq 25
22: aload 10
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.object:()Ljava/lang/Object;
astore 11
start local 11 23: aload 8
iload 9
aload 11
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
end local 11 24: goto 26
25: StackMap locals:
StackMap stack:
aload 8
iload 9
aload 10
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
end local 10 26: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
27: iload 9
iload 6
if_icmplt 17
end local 9 28: aload 7
aload 8
invokeinterface javax.xml.xpath.XPathFunction.evaluate:(Ljava/util/List;)Ljava/lang/Object;
29: areturn
end local 8 end local 7 end local 6 end local 5 30: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider java.lang.String java.lang.String java.util.List java.lang.Object
StackMap stack: javax.xml.xpath.XPathFunctionException
astore 5
start local 5 31: new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException
dup
aload 5
invokespecial com.sun.org.apache.xml.internal.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 5 32: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 33: new javax.xml.transform.TransformerException
dup
aload 5
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider;
0 34 1 ns Ljava/lang/String;
0 34 2 funcName Ljava/lang/String;
0 34 3 argVec Ljava/util/List<Lcom/sun/org/apache/xpath/internal/objects/XObject;>;
0 34 4 methodKey Ljava/lang/Object;
4 5 5 fmsg Ljava/lang/String;
6 30 5 myQName Ljavax/xml/namespace/QName;
10 11 6 fmsg Ljava/lang/String;
12 30 6 arity I
14 30 7 xpathFunction Ljavax/xml/xpath/XPathFunction;
15 30 8 argList Ljava/util/List<Ljava/lang/Object;>;
16 28 9 i I
18 26 10 argument Lcom/sun/org/apache/xpath/internal/objects/XObject;
23 24 11 passedArgument Ljava/lang/Object;
31 32 5 xfe Ljavax/xml/xpath/XPathFunctionException;
33 34 5 e Ljava/lang/Exception;
Exception table:
from to target type
0 29 30 Class javax.xml.xpath.XPathFunctionException
0 29 32 Class java.lang.Exception
Exceptions:
throws javax.xml.transform.TransformerException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/util/List<Lcom/sun/org/apache/xpath/internal/objects/XObject;>;Ljava/lang/Object;)Ljava/lang/Object;
MethodParameters:
Name Flags
ns
funcName
argVec
methodKey
public extFunction(com.sun.org.apache.xpath.internal.functions.FuncExtFunction, java.util.List<com.sun.org.apache.xpath.internal.objects.XObject>);
descriptor: (Lcom/sun/org/apache/xpath/internal/functions/FuncExtFunction;Ljava/util/List;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncExtFunction.getNamespace:()Ljava/lang/String;
astore 3
start local 3 1: aload 1
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncExtFunction.getFunctionName:()Ljava/lang/String;
astore 4
start local 4 2: aload 1
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncExtFunction.getArgCount:()I
istore 5
start local 5 3: new javax.xml.namespace.QName
dup
aload 3
aload 4
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
4: astore 6
start local 6 5: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.extensionInvocationDisabled:Z
ifeq 10
6: ldc "ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED"
7: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
invokevirtual javax.xml.namespace.QName.toString:()Ljava/lang/String;
aastore
8: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 7
start local 7 9: new javax.xml.xpath.XPathFunctionException
dup
aload 7
invokespecial javax.xml.xpath.XPathFunctionException.<init>:(Ljava/lang/String;)V
athrow
end local 7 10: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider com.sun.org.apache.xpath.internal.functions.FuncExtFunction java.util.List java.lang.String java.lang.String int javax.xml.namespace.QName
StackMap stack:
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.resolver:Ljavax/xml/xpath/XPathFunctionResolver;
aload 6
iload 5
invokeinterface javax.xml.xpath.XPathFunctionResolver.resolveFunction:(Ljavax/xml/namespace/QName;I)Ljavax/xml/xpath/XPathFunction;
11: astore 7
start local 7 12: new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 13: iconst_0
istore 9
start local 9 14: goto 25
15: StackMap locals: javax.xml.xpath.XPathFunction java.util.List int
StackMap stack:
aload 2
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.org.apache.xpath.internal.objects.XObject
astore 10
start local 10 16: aload 10
instanceof com.sun.org.apache.xpath.internal.objects.XNodeSet
ifeq 19
17: aload 8
iload 9
aload 10
checkcast com.sun.org.apache.xpath.internal.objects.XNodeSet
invokevirtual com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist:()Lorg/w3c/dom/NodeList;
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
18: goto 24
StackMap locals: com.sun.org.apache.xpath.internal.objects.XObject
StackMap stack:
19: aload 10
instanceof com.sun.org.apache.xpath.internal.objects.XObject
ifeq 23
20: aload 10
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.object:()Ljava/lang/Object;
astore 11
start local 11 21: aload 8
iload 9
aload 11
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
end local 11 22: goto 24
23: StackMap locals:
StackMap stack:
aload 8
iload 9
aload 10
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
end local 10 24: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
25: iload 9
iload 5
if_icmplt 15
end local 9 26: aload 7
aload 8
invokeinterface javax.xml.xpath.XPathFunction.evaluate:(Ljava/util/List;)Ljava/lang/Object;
27: areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 28: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider com.sun.org.apache.xpath.internal.functions.FuncExtFunction java.util.List
StackMap stack: javax.xml.xpath.XPathFunctionException
astore 3
start local 3 29: new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException
dup
aload 3
invokespecial com.sun.org.apache.xml.internal.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 30: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 31: new javax.xml.transform.TransformerException
dup
aload 3
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider;
0 32 1 extFunction Lcom/sun/org/apache/xpath/internal/functions/FuncExtFunction;
0 32 2 argVec Ljava/util/List<Lcom/sun/org/apache/xpath/internal/objects/XObject;>;
1 28 3 namespace Ljava/lang/String;
2 28 4 functionName Ljava/lang/String;
3 28 5 arity I
5 28 6 myQName Ljavax/xml/namespace/QName;
9 10 7 fmsg Ljava/lang/String;
12 28 7 xpathFunction Ljavax/xml/xpath/XPathFunction;
13 28 8 argList Ljava/util/List<Ljava/lang/Object;>;
14 26 9 i I
16 24 10 argument Lcom/sun/org/apache/xpath/internal/objects/XObject;
21 22 11 passedArgument Ljava/lang/Object;
29 30 3 xfe Ljavax/xml/xpath/XPathFunctionException;
31 32 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 27 28 Class javax.xml.xpath.XPathFunctionException
0 27 30 Class java.lang.Exception
Exceptions:
throws javax.xml.transform.TransformerException
Signature: (Lcom/sun/org/apache/xpath/internal/functions/FuncExtFunction;Ljava/util/List<Lcom/sun/org/apache/xpath/internal/objects/XObject;>;)Ljava/lang/Object;
MethodParameters:
Name Flags
extFunction
argVec
}
SourceFile: "JAXPExtensionsProvider.java"
InnerClasses:
public final XmlFeature = jdk.xml.internal.JdkXmlFeatures$XmlFeature of jdk.xml.internal.JdkXmlFeatures