public class org.apache.xpath.functions.FuncExtFunction extends org.apache.xpath.functions.Function
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.functions.FuncExtFunction
super_class: org.apache.xpath.functions.Function
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 5196115554693708718
java.lang.String m_namespace;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String m_extensionName;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.Object m_methodKey;
descriptor: Ljava/lang/Object;
flags: (0x0000)
java.util.Vector m_argVec;
descriptor: Ljava/util/Vector;
flags: (0x0000)
public void fixupVariables(java.util.Vector, int);
descriptor: (Ljava/util/Vector;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
ifnull 8
1: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 7
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xpath.Expression
astore 5
start local 5 5: aload 5
aload 1
iload 2
invokevirtual org.apache.xpath.Expression.fixupVariables:(Ljava/util/Vector;I)V
end local 5 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 3
if_icmplt 4
end local 4 end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/xpath/functions/FuncExtFunction;
0 9 1 vars Ljava/util/Vector;
0 9 2 globalsSize I
2 8 3 nArgs I
3 8 4 i I
5 6 5 arg Lorg/apache/xpath/Expression;
MethodParameters:
Name Flags
vars
globalsSize
public java.lang.String getNamespace();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_namespace:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/functions/FuncExtFunction;
public java.lang.String getFunctionName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_extensionName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/functions/FuncExtFunction;
public java.lang.Object getMethodKey();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_methodKey:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/functions/FuncExtFunction;
public org.apache.xpath.Expression getArg(int);
descriptor: (I)Lorg/apache/xpath/Expression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 2
iload 1
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmpge 2
1: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xpath.Expression
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/functions/FuncExtFunction;
0 3 1 n I
MethodParameters:
Name Flags
n
public int getArgCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/functions/FuncExtFunction;
public void <init>(java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.apache.xpath.functions.Function.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
2: aload 0
aload 1
putfield org.apache.xpath.functions.FuncExtFunction.m_namespace:Ljava/lang/String;
3: aload 0
aload 2
putfield org.apache.xpath.functions.FuncExtFunction.m_extensionName:Ljava/lang/String;
4: aload 0
aload 3
putfield org.apache.xpath.functions.FuncExtFunction.m_methodKey:Ljava/lang/Object;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/xpath/functions/FuncExtFunction;
0 6 1 namespace Ljava/lang/String;
0 6 2 extensionName Ljava/lang/String;
0 6 3 methodKey Ljava/lang/Object;
MethodParameters:
Name Flags
namespace
extensionName
methodKey
public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext);
descriptor: (Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.xpath.XPathContext.isSecureProcessing:()Z
ifeq 6
1: new javax.xml.transform.TransformerException
dup
2: ldc "ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED"
3: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.xpath.functions.FuncExtFunction.toString:()Ljava/lang/String;
aastore
4: invokestatic org.apache.xpath.res.XPATHMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 3
start local 3 7: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 4
start local 4 8: iconst_0
istore 5
start local 5 9: goto 15
10: StackMap locals: org.apache.xpath.functions.FuncExtFunction org.apache.xpath.XPathContext top java.util.Vector int int
StackMap stack:
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
iload 5
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xpath.Expression
astore 6
start local 6 11: aload 6
aload 1
invokevirtual org.apache.xpath.Expression.execute:(Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
astore 7
start local 7 12: aload 7
iconst_0
invokevirtual org.apache.xpath.objects.XObject.allowDetachToRelease:(Z)V
13: aload 3
aload 7
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 7 end local 6 14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 4
if_icmplt 10
end local 5 16: aload 1
invokevirtual org.apache.xpath.XPathContext.getOwnerObject:()Ljava/lang/Object;
checkcast org.apache.xpath.ExtensionsProvider
astore 5
start local 5 17: aload 5
aload 0
aload 3
invokeinterface org.apache.xpath.ExtensionsProvider.extFunction:(Lorg/apache/xpath/functions/FuncExtFunction;Ljava/util/Vector;)Ljava/lang/Object;
astore 6
start local 6 18: aload 6
ifnull 21
19: aload 6
aload 1
invokestatic org.apache.xpath.objects.XObject.create:(Ljava/lang/Object;Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
astore 2
start local 2 20: goto 22
end local 2 21: StackMap locals: org.apache.xpath.functions.FuncExtFunction org.apache.xpath.XPathContext top java.util.Vector int org.apache.xpath.ExtensionsProvider java.lang.Object
StackMap stack:
new org.apache.xpath.objects.XNull
dup
invokespecial org.apache.xpath.objects.XNull.<init>:()V
astore 2
start local 2 22: StackMap locals: org.apache.xpath.functions.FuncExtFunction org.apache.xpath.XPathContext org.apache.xpath.objects.XObject java.util.Vector int org.apache.xpath.ExtensionsProvider java.lang.Object
StackMap stack:
aload 2
areturn
end local 6 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 23 0 this Lorg/apache/xpath/functions/FuncExtFunction;
0 23 1 xctxt Lorg/apache/xpath/XPathContext;
20 21 2 result Lorg/apache/xpath/objects/XObject;
22 23 2 result Lorg/apache/xpath/objects/XObject;
7 23 3 argVec Ljava/util/Vector;
8 23 4 nArgs I
9 16 5 i I
11 14 6 arg Lorg/apache/xpath/Expression;
12 14 7 xobj Lorg/apache/xpath/objects/XObject;
17 23 5 extProvider Lorg/apache/xpath/ExtensionsProvider;
18 23 6 val Ljava/lang/Object;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
public void setArg(org.apache.xpath.Expression, int);
descriptor: (Lorg/apache/xpath/Expression;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
1: aload 1
aload 0
invokevirtual org.apache.xpath.Expression.exprSetParent:(Lorg/apache/xpath/ExpressionNode;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/functions/FuncExtFunction;
0 3 1 arg Lorg/apache/xpath/Expression;
0 3 2 argNum I
Exceptions:
throws org.apache.xpath.functions.WrongNumberArgsException
MethodParameters:
Name Flags
arg
argNum
public void checkNumberArgs(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/functions/FuncExtFunction;
0 1 1 argNum I
Exceptions:
throws org.apache.xpath.functions.WrongNumberArgsException
MethodParameters:
Name Flags
argNum
public void callArgVisitors(org.apache.xpath.XPathVisitor);
descriptor: (Lorg/apache/xpath/XPathVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xpath.Expression
astore 3
start local 3 3: aload 3
new org.apache.xpath.functions.FuncExtFunction$ArgExtOwner
dup
aload 0
aload 3
invokespecial org.apache.xpath.functions.FuncExtFunction$ArgExtOwner.<init>:(Lorg/apache/xpath/functions/FuncExtFunction;Lorg/apache/xpath/Expression;)V
aload 1
invokevirtual org.apache.xpath.Expression.callVisitors:(Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/XPathVisitor;)V
end local 3 4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 2
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/xpath/functions/FuncExtFunction;
0 7 1 visitor Lorg/apache/xpath/XPathVisitor;
1 6 2 i I
3 4 3 exp Lorg/apache/xpath/Expression;
MethodParameters:
Name Flags
visitor
public void exprSetParent(org.apache.xpath.ExpressionNode);
descriptor: (Lorg/apache/xpath/ExpressionNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.xpath.functions.Function.exprSetParent:(Lorg/apache/xpath/ExpressionNode;)V
1: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_argVec:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xpath.Expression
astore 4
start local 4 5: aload 4
aload 1
invokevirtual org.apache.xpath.Expression.exprSetParent:(Lorg/apache/xpath/ExpressionNode;)V
end local 4 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 4
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/xpath/functions/FuncExtFunction;
0 9 1 n Lorg/apache/xpath/ExpressionNode;
2 9 2 nArgs I
3 8 3 i I
5 6 4 arg Lorg/apache/xpath/Expression;
MethodParameters:
Name Flags
n
protected void reportWrongNumberArgs();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: ldc "ER_INCORRECT_PROGRAMMER_ASSERTION"
1: iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "Programmer's assertion: the method FunctionMultiArgs.reportWrongNumberArgs() should never be called."
aastore
2: invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/functions/FuncExtFunction;
3 4 1 fMsg Ljava/lang/String;
Exceptions:
throws org.apache.xpath.functions.WrongNumberArgsException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_namespace:Ljava/lang/String;
ifnull 2
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_namespace:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 2
1: new java.lang.StringBuilder
dup
ldc "{"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_namespace:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_extensionName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.functions.FuncExtFunction.m_extensionName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/functions/FuncExtFunction;
}
SourceFile: "FuncExtFunction.java"
NestMembers:
org.apache.xpath.functions.FuncExtFunction$ArgExtOwner
InnerClasses:
ArgExtOwner = org.apache.xpath.functions.FuncExtFunction$ArgExtOwner of org.apache.xpath.functions.FuncExtFunction