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 java.lang.Object extFunction(java.lang.String, java.lang.String, java.util.Vector, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Vector;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
invokevirtual java.util.Vector.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.Vector java.lang.Object javax.xml.namespace.QName int javax.xml.xpath.XPathFunction java.util.ArrayList int
StackMap stack:
aload 3
iload 9
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
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;
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
20: goto 26
StackMap locals: java.lang.Object
StackMap stack:
21: aload 10
instanceof com.sun.org.apache.xpath.internal.objects.XObject
ifeq 25
22: aload 10
checkcast com.sun.org.apache.xpath.internal.objects.XObject
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
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
end local 11 24: goto 26
25: StackMap locals:
StackMap stack:
aload 8
iload 9
aload 10
invokevirtual java.util.ArrayList.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.Vector 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/Vector;
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/ArrayList;
16 28 9 i I
18 26 10 argument Ljava/lang/Object;
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
MethodParameters:
Name Flags
ns
funcName
argVec
methodKey
public java.lang.Object extFunction(com.sun.org.apache.xpath.internal.functions.FuncExtFunction, java.util.Vector);
descriptor: (Lcom/sun/org/apache/xpath/internal/functions/FuncExtFunction;Ljava/util/Vector;)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 9
6: ldc "ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
invokevirtual javax.xml.namespace.QName.toString:()Ljava/lang/String;
aastore
7: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 7
start local 7 8: new javax.xml.xpath.XPathFunctionException
dup
aload 7
invokespecial javax.xml.xpath.XPathFunctionException.<init>:(Ljava/lang/String;)V
athrow
end local 7 9: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider com.sun.org.apache.xpath.internal.functions.FuncExtFunction java.util.Vector 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;
10: astore 7
start local 7 11: new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 12: iconst_0
istore 9
start local 9 13: goto 24
14: StackMap locals: javax.xml.xpath.XPathFunction java.util.ArrayList int
StackMap stack:
aload 2
iload 9
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
astore 10
start local 10 15: aload 10
instanceof com.sun.org.apache.xpath.internal.objects.XNodeSet
ifeq 18
16: 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;
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
17: goto 23
StackMap locals: java.lang.Object
StackMap stack:
18: aload 10
instanceof com.sun.org.apache.xpath.internal.objects.XObject
ifeq 22
19: aload 10
checkcast com.sun.org.apache.xpath.internal.objects.XObject
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.object:()Ljava/lang/Object;
astore 11
start local 11 20: aload 8
iload 9
aload 11
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
end local 11 21: goto 23
22: StackMap locals:
StackMap stack:
aload 8
iload 9
aload 10
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
end local 10 23: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
24: iload 9
iload 5
if_icmplt 14
end local 9 25: aload 7
aload 8
invokeinterface javax.xml.xpath.XPathFunction.evaluate:(Ljava/util/List;)Ljava/lang/Object;
26: areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 27: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider com.sun.org.apache.xpath.internal.functions.FuncExtFunction java.util.Vector
StackMap stack: javax.xml.xpath.XPathFunctionException
astore 3
start local 3 28: 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 29: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 30: 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 31 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider;
0 31 1 extFunction Lcom/sun/org/apache/xpath/internal/functions/FuncExtFunction;
0 31 2 argVec Ljava/util/Vector;
1 27 3 namespace Ljava/lang/String;
2 27 4 functionName Ljava/lang/String;
3 27 5 arity I
5 27 6 myQName Ljavax/xml/namespace/QName;
8 9 7 fmsg Ljava/lang/String;
11 27 7 xpathFunction Ljavax/xml/xpath/XPathFunction;
12 27 8 argList Ljava/util/ArrayList;
13 25 9 i I
15 23 10 argument Ljava/lang/Object;
20 21 11 passedArgument Ljava/lang/Object;
28 29 3 xfe Ljavax/xml/xpath/XPathFunctionException;
30 31 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 26 27 Class javax.xml.xpath.XPathFunctionException
0 26 29 Class java.lang.Exception
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
extFunction
argVec
}
SourceFile: "JAXPExtensionsProvider.java"
InnerClasses:
public final XmlFeature = jdk.xml.internal.JdkXmlFeatures$XmlFeature of jdk.xml.internal.JdkXmlFeatures