public class org.apache.xpath.XPath implements java.io.Serializable, org.apache.xpath.ExpressionOwner
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.XPath
super_class: java.lang.Object
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3976493477939110553
private org.apache.xpath.Expression m_mainExp;
descriptor: Lorg/apache/xpath/Expression;
flags: (0x0002) ACC_PRIVATE
private transient org.apache.xpath.compiler.FunctionTable m_funcTable;
descriptor: Lorg/apache/xpath/compiler/FunctionTable;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
java.lang.String m_patternString;
descriptor: Ljava/lang/String;
flags: (0x0000)
public static final int SELECT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int MATCH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final boolean DEBUG_MATCHES;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final double MATCH_SCORE_NONE;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -Infinity
public static final double MATCH_SCORE_QNAME;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0.0
public static final double MATCH_SCORE_NSWILD;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -0.25
public static final double MATCH_SCORE_NODETEST;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -0.5
public static final double MATCH_SCORE_OTHER;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0.5
private void initFunctionTable();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new org.apache.xpath.compiler.FunctionTable
dup
invokespecial org.apache.xpath.compiler.FunctionTable.<init>:()V
putfield org.apache.xpath.XPath.m_funcTable:Lorg/apache/xpath/compiler/FunctionTable;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/XPath;
public org.apache.xpath.Expression getExpression();
descriptor: ()Lorg/apache/xpath/Expression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/XPath;
public void fixupVariables(java.util.Vector, int);
descriptor: (Ljava/util/Vector;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
aload 1
iload 2
invokevirtual org.apache.xpath.Expression.fixupVariables:(Ljava/util/Vector;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/XPath;
0 2 1 vars Ljava/util/Vector;
0 2 2 globalsSize I
MethodParameters:
Name Flags
vars
globalsSize
public void setExpression(org.apache.xpath.Expression);
descriptor: (Lorg/apache/xpath/Expression;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
ifnull 2
1: aload 1
aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
invokevirtual org.apache.xpath.Expression.exprGetParent:()Lorg/apache/xpath/ExpressionNode;
invokevirtual org.apache.xpath.Expression.exprSetParent:(Lorg/apache/xpath/ExpressionNode;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/XPath;
0 4 1 exp Lorg/apache/xpath/Expression;
MethodParameters:
Name Flags
exp
public javax.xml.transform.SourceLocator getLocator();
descriptor: ()Ljavax/xml/transform/SourceLocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/XPath;
public java.lang.String getPatternString();
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.XPath.m_patternString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/XPath;
public void <init>(java.lang.String, javax.xml.transform.SourceLocator, org.apache.xml.utils.PrefixResolver, int, javax.xml.transform.ErrorListener);
descriptor: (Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Lorg/apache/xml/utils/PrefixResolver;ILjavax/xml/transform/ErrorListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.xpath.XPath.m_funcTable:Lorg/apache/xpath/compiler/FunctionTable;
2: aload 0
invokevirtual org.apache.xpath.XPath.initFunctionTable:()V
3: aload 5
ifnonnull 5
4: new org.apache.xml.utils.DefaultErrorHandler
dup
invokespecial org.apache.xml.utils.DefaultErrorHandler.<init>:()V
astore 5
5: StackMap locals: org.apache.xpath.XPath java.lang.String javax.xml.transform.SourceLocator org.apache.xml.utils.PrefixResolver int javax.xml.transform.ErrorListener
StackMap stack:
aload 0
aload 1
putfield org.apache.xpath.XPath.m_patternString:Ljava/lang/String;
6: new org.apache.xpath.compiler.XPathParser
dup
aload 5
aload 2
invokespecial org.apache.xpath.compiler.XPathParser.<init>:(Ljavax/xml/transform/ErrorListener;Ljavax/xml/transform/SourceLocator;)V
astore 6
start local 6 7: new org.apache.xpath.compiler.Compiler
dup
aload 5
aload 2
aload 0
getfield org.apache.xpath.XPath.m_funcTable:Lorg/apache/xpath/compiler/FunctionTable;
invokespecial org.apache.xpath.compiler.Compiler.<init>:(Ljavax/xml/transform/ErrorListener;Ljavax/xml/transform/SourceLocator;Lorg/apache/xpath/compiler/FunctionTable;)V
astore 7
start local 7 8: iload 4
ifne 10
9: aload 6
aload 7
aload 1
aload 3
invokevirtual org.apache.xpath.compiler.XPathParser.initXPath:(Lorg/apache/xpath/compiler/Compiler;Ljava/lang/String;Lorg/apache/xml/utils/PrefixResolver;)V
goto 13
10: StackMap locals: org.apache.xpath.compiler.XPathParser org.apache.xpath.compiler.Compiler
StackMap stack:
iconst_1
iload 4
if_icmpne 12
11: aload 6
aload 7
aload 1
aload 3
invokevirtual org.apache.xpath.compiler.XPathParser.initMatchPattern:(Lorg/apache/xpath/compiler/Compiler;Ljava/lang/String;Lorg/apache/xml/utils/PrefixResolver;)V
goto 13
12: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "ER_CANNOT_DEAL_XPATH_TYPE"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
aastore
invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 7
iconst_0
invokevirtual org.apache.xpath.compiler.Compiler.compile:(I)Lorg/apache/xpath/Expression;
astore 8
start local 8 14: aload 0
aload 8
invokevirtual org.apache.xpath.XPath.setExpression:(Lorg/apache/xpath/Expression;)V
15: aload 2
ifnull 17
aload 2
instanceof org.apache.xpath.ExpressionNode
ifeq 17
16: aload 8
aload 2
checkcast org.apache.xpath.ExpressionNode
invokevirtual org.apache.xpath.Expression.exprSetParent:(Lorg/apache/xpath/ExpressionNode;)V
17: StackMap locals: org.apache.xpath.Expression
StackMap stack:
return
end local 8 end local 7 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 18 0 this Lorg/apache/xpath/XPath;
0 18 1 exprString Ljava/lang/String;
0 18 2 locator Ljavax/xml/transform/SourceLocator;
0 18 3 prefixResolver Lorg/apache/xml/utils/PrefixResolver;
0 18 4 type I
0 18 5 errorListener Ljavax/xml/transform/ErrorListener;
7 18 6 parser Lorg/apache/xpath/compiler/XPathParser;
8 18 7 compiler Lorg/apache/xpath/compiler/Compiler;
14 18 8 expr Lorg/apache/xpath/Expression;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
exprString
locator
prefixResolver
type
errorListener
public void <init>(java.lang.String, javax.xml.transform.SourceLocator, org.apache.xml.utils.PrefixResolver, int, javax.xml.transform.ErrorListener, org.apache.xpath.compiler.FunctionTable);
descriptor: (Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Lorg/apache/xml/utils/PrefixResolver;ILjavax/xml/transform/ErrorListener;Lorg/apache/xpath/compiler/FunctionTable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.xpath.XPath.m_funcTable:Lorg/apache/xpath/compiler/FunctionTable;
2: aload 0
aload 6
putfield org.apache.xpath.XPath.m_funcTable:Lorg/apache/xpath/compiler/FunctionTable;
3: aload 5
ifnonnull 5
4: new org.apache.xml.utils.DefaultErrorHandler
dup
invokespecial org.apache.xml.utils.DefaultErrorHandler.<init>:()V
astore 5
5: StackMap locals: org.apache.xpath.XPath java.lang.String javax.xml.transform.SourceLocator org.apache.xml.utils.PrefixResolver int javax.xml.transform.ErrorListener org.apache.xpath.compiler.FunctionTable
StackMap stack:
aload 0
aload 1
putfield org.apache.xpath.XPath.m_patternString:Ljava/lang/String;
6: new org.apache.xpath.compiler.XPathParser
dup
aload 5
aload 2
invokespecial org.apache.xpath.compiler.XPathParser.<init>:(Ljavax/xml/transform/ErrorListener;Ljavax/xml/transform/SourceLocator;)V
astore 7
start local 7 7: new org.apache.xpath.compiler.Compiler
dup
aload 5
aload 2
aload 0
getfield org.apache.xpath.XPath.m_funcTable:Lorg/apache/xpath/compiler/FunctionTable;
invokespecial org.apache.xpath.compiler.Compiler.<init>:(Ljavax/xml/transform/ErrorListener;Ljavax/xml/transform/SourceLocator;Lorg/apache/xpath/compiler/FunctionTable;)V
astore 8
start local 8 8: iload 4
ifne 10
9: aload 7
aload 8
aload 1
aload 3
invokevirtual org.apache.xpath.compiler.XPathParser.initXPath:(Lorg/apache/xpath/compiler/Compiler;Ljava/lang/String;Lorg/apache/xml/utils/PrefixResolver;)V
goto 16
10: StackMap locals: org.apache.xpath.compiler.XPathParser org.apache.xpath.compiler.Compiler
StackMap stack:
iconst_1
iload 4
if_icmpne 12
11: aload 7
aload 8
aload 1
aload 3
invokevirtual org.apache.xpath.compiler.XPathParser.initMatchPattern:(Lorg/apache/xpath/compiler/Compiler;Ljava/lang/String;Lorg/apache/xml/utils/PrefixResolver;)V
goto 16
12: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
13: ldc "ER_CANNOT_DEAL_XPATH_TYPE"
14: iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
aastore
15: invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 8
iconst_0
invokevirtual org.apache.xpath.compiler.Compiler.compile:(I)Lorg/apache/xpath/Expression;
astore 9
start local 9 17: aload 0
aload 9
invokevirtual org.apache.xpath.XPath.setExpression:(Lorg/apache/xpath/Expression;)V
18: aload 2
ifnull 20
aload 2
instanceof org.apache.xpath.ExpressionNode
ifeq 20
19: aload 9
aload 2
checkcast org.apache.xpath.ExpressionNode
invokevirtual org.apache.xpath.Expression.exprSetParent:(Lorg/apache/xpath/ExpressionNode;)V
20: StackMap locals: org.apache.xpath.Expression
StackMap stack:
return
end local 9 end local 8 end local 7 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 21 0 this Lorg/apache/xpath/XPath;
0 21 1 exprString Ljava/lang/String;
0 21 2 locator Ljavax/xml/transform/SourceLocator;
0 21 3 prefixResolver Lorg/apache/xml/utils/PrefixResolver;
0 21 4 type I
0 21 5 errorListener Ljavax/xml/transform/ErrorListener;
0 21 6 aTable Lorg/apache/xpath/compiler/FunctionTable;
7 21 7 parser Lorg/apache/xpath/compiler/XPathParser;
8 21 8 compiler Lorg/apache/xpath/compiler/Compiler;
17 21 9 expr Lorg/apache/xpath/Expression;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
exprString
locator
prefixResolver
type
errorListener
aTable
public void <init>(java.lang.String, javax.xml.transform.SourceLocator, org.apache.xml.utils.PrefixResolver, int);
descriptor: (Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Lorg/apache/xml/utils/PrefixResolver;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
iload 4
aconst_null
invokespecial org.apache.xpath.XPath.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Lorg/apache/xml/utils/PrefixResolver;ILjavax/xml/transform/ErrorListener;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/XPath;
0 2 1 exprString Ljava/lang/String;
0 2 2 locator Ljavax/xml/transform/SourceLocator;
0 2 3 prefixResolver Lorg/apache/xml/utils/PrefixResolver;
0 2 4 type I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
exprString
locator
prefixResolver
type
public void <init>(org.apache.xpath.Expression);
descriptor: (Lorg/apache/xpath/Expression;)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
aconst_null
putfield org.apache.xpath.XPath.m_funcTable:Lorg/apache/xpath/compiler/FunctionTable;
2: aload 0
aload 1
invokevirtual org.apache.xpath.XPath.setExpression:(Lorg/apache/xpath/Expression;)V
3: aload 0
invokevirtual org.apache.xpath.XPath.initFunctionTable:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/XPath;
0 5 1 expr Lorg/apache/xpath/Expression;
MethodParameters:
Name Flags
expr
public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext, org.w3c.dom.Node, org.apache.xml.utils.PrefixResolver);
descriptor: (Lorg/apache/xpath/XPathContext;Lorg/w3c/dom/Node;Lorg/apache/xml/utils/PrefixResolver;)Lorg/apache/xpath/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
1: aload 1
aload 1
aload 2
invokevirtual org.apache.xpath.XPathContext.getDTMHandleFromNode:(Lorg/w3c/dom/Node;)I
2: aload 3
3: invokevirtual org.apache.xpath.XPath.execute:(Lorg/apache/xpath/XPathContext;ILorg/apache/xml/utils/PrefixResolver;)Lorg/apache/xpath/objects/XObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/XPath;
0 4 1 xctxt Lorg/apache/xpath/XPathContext;
0 4 2 contextNode Lorg/w3c/dom/Node;
0 4 3 namespaceContext Lorg/apache/xml/utils/PrefixResolver;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
contextNode
namespaceContext
public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext, int, org.apache.xml.utils.PrefixResolver);
descriptor: (Lorg/apache/xpath/XPathContext;ILorg/apache/xml/utils/PrefixResolver;)Lorg/apache/xpath/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 3
invokevirtual org.apache.xpath.XPathContext.pushNamespaceContext:(Lorg/apache/xml/utils/PrefixResolver;)V
1: aload 1
iload 2
iload 2
invokevirtual org.apache.xpath.XPathContext.pushCurrentNodeAndExpression:(II)V
2: aconst_null
astore 4
start local 4 3: aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
aload 1
invokevirtual org.apache.xpath.Expression.execute:(Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
astore 4
4: goto 36
5: StackMap locals: org.apache.xpath.XPath org.apache.xpath.XPathContext int org.apache.xml.utils.PrefixResolver org.apache.xpath.objects.XObject
StackMap stack: javax.xml.transform.TransformerException
astore 5
start local 5 6: aload 5
aload 0
invokevirtual org.apache.xpath.XPath.getLocator:()Ljavax/xml/transform/SourceLocator;
invokevirtual javax.xml.transform.TransformerException.setLocator:(Ljavax/xml/transform/SourceLocator;)V
7: aload 1
invokevirtual org.apache.xpath.XPathContext.getErrorListener:()Ljavax/xml/transform/ErrorListener;
astore 6
start local 6 8: aload 6
ifnull 11
9: aload 6
aload 5
invokeinterface javax.xml.transform.ErrorListener.error:(Ljavax/xml/transform/TransformerException;)V
10: goto 12
11: StackMap locals: javax.xml.transform.TransformerException javax.xml.transform.ErrorListener
StackMap stack:
aload 5
athrow
end local 6 end local 5 12: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.popNamespaceContext:()V
13: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNodeAndExpression:()V
goto 38
14: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 15: goto 17
16: StackMap locals: java.lang.Exception
StackMap stack:
aload 5
checkcast org.apache.xml.utils.WrappedRuntimeException
invokevirtual org.apache.xml.utils.WrappedRuntimeException.getException:()Ljava/lang/Exception;
astore 5
17: StackMap locals:
StackMap stack:
aload 5
instanceof org.apache.xml.utils.WrappedRuntimeException
ifne 16
18: aload 5
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
astore 6
start local 6 19: aload 6
ifnull 20
aload 6
invokevirtual java.lang.String.length:()I
ifne 22
20: StackMap locals: java.lang.String
StackMap stack:
ldc "ER_XPATH_ERROR"
aconst_null
21: invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 6
22: StackMap locals:
StackMap stack:
new javax.xml.transform.TransformerException
dup
aload 6
23: aload 0
invokevirtual org.apache.xpath.XPath.getLocator:()Ljavax/xml/transform/SourceLocator;
aload 5
24: invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Ljava/lang/Throwable;)V
astore 7
start local 7 25: aload 1
invokevirtual org.apache.xpath.XPathContext.getErrorListener:()Ljavax/xml/transform/ErrorListener;
astore 8
start local 8 26: aload 8
ifnull 29
27: aload 8
aload 7
invokeinterface javax.xml.transform.ErrorListener.fatalError:(Ljavax/xml/transform/TransformerException;)V
28: goto 30
29: StackMap locals: javax.xml.transform.TransformerException javax.xml.transform.ErrorListener
StackMap stack:
aload 7
athrow
end local 8 end local 7 end local 6 end local 5 30: StackMap locals: org.apache.xpath.XPath org.apache.xpath.XPathContext int org.apache.xml.utils.PrefixResolver org.apache.xpath.objects.XObject
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.popNamespaceContext:()V
31: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNodeAndExpression:()V
goto 38
32: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
33: aload 1
invokevirtual org.apache.xpath.XPathContext.popNamespaceContext:()V
34: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNodeAndExpression:()V
35: aload 9
athrow
36: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.popNamespaceContext:()V
37: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNodeAndExpression:()V
38: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/apache/xpath/XPath;
0 39 1 xctxt Lorg/apache/xpath/XPathContext;
0 39 2 contextNode I
0 39 3 namespaceContext Lorg/apache/xml/utils/PrefixResolver;
3 39 4 xobj Lorg/apache/xpath/objects/XObject;
6 12 5 te Ljavax/xml/transform/TransformerException;
8 12 6 el Ljavax/xml/transform/ErrorListener;
15 30 5 e Ljava/lang/Exception;
19 30 6 msg Ljava/lang/String;
25 30 7 te Ljavax/xml/transform/TransformerException;
26 30 8 el Ljavax/xml/transform/ErrorListener;
Exception table:
from to target type
3 4 5 Class javax.xml.transform.TransformerException
3 4 14 Class java.lang.Exception
3 12 32 any
14 30 32 any
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
contextNode
namespaceContext
public boolean bool(org.apache.xpath.XPathContext, int, org.apache.xml.utils.PrefixResolver);
descriptor: (Lorg/apache/xpath/XPathContext;ILorg/apache/xml/utils/PrefixResolver;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 3
invokevirtual org.apache.xpath.XPathContext.pushNamespaceContext:(Lorg/apache/xml/utils/PrefixResolver;)V
1: aload 1
iload 2
iload 2
invokevirtual org.apache.xpath.XPathContext.pushCurrentNodeAndExpression:(II)V
2: aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
aload 1
invokevirtual org.apache.xpath.Expression.bool:(Lorg/apache/xpath/XPathContext;)Z
istore 9
3: aload 1
invokevirtual org.apache.xpath.XPathContext.popNamespaceContext:()V
4: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNodeAndExpression:()V
5: iload 9
ireturn
6: StackMap locals:
StackMap stack: javax.xml.transform.TransformerException
astore 4
start local 4 7: aload 4
aload 0
invokevirtual org.apache.xpath.XPath.getLocator:()Ljavax/xml/transform/SourceLocator;
invokevirtual javax.xml.transform.TransformerException.setLocator:(Ljavax/xml/transform/SourceLocator;)V
8: aload 1
invokevirtual org.apache.xpath.XPathContext.getErrorListener:()Ljavax/xml/transform/ErrorListener;
astore 5
start local 5 9: aload 5
ifnull 12
10: aload 5
aload 4
invokeinterface javax.xml.transform.ErrorListener.error:(Ljavax/xml/transform/TransformerException;)V
11: goto 13
12: StackMap locals: javax.xml.transform.TransformerException javax.xml.transform.ErrorListener
StackMap stack:
aload 4
athrow
end local 5 end local 4 13: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.popNamespaceContext:()V
14: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNodeAndExpression:()V
goto 37
15: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 16: goto 18
17: StackMap locals: java.lang.Exception
StackMap stack:
aload 4
checkcast org.apache.xml.utils.WrappedRuntimeException
invokevirtual org.apache.xml.utils.WrappedRuntimeException.getException:()Ljava/lang/Exception;
astore 4
18: StackMap locals:
StackMap stack:
aload 4
instanceof org.apache.xml.utils.WrappedRuntimeException
ifne 17
19: aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
astore 5
start local 5 20: aload 5
ifnull 21
aload 5
invokevirtual java.lang.String.length:()I
ifne 23
21: StackMap locals: java.lang.String
StackMap stack:
ldc "ER_XPATH_ERROR"
aconst_null
22: invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
23: StackMap locals:
StackMap stack:
new javax.xml.transform.TransformerException
dup
aload 5
24: aload 0
invokevirtual org.apache.xpath.XPath.getLocator:()Ljavax/xml/transform/SourceLocator;
aload 4
25: invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Ljava/lang/Throwable;)V
astore 6
start local 6 26: aload 1
invokevirtual org.apache.xpath.XPathContext.getErrorListener:()Ljavax/xml/transform/ErrorListener;
astore 7
start local 7 27: aload 7
ifnull 30
28: aload 7
aload 6
invokeinterface javax.xml.transform.ErrorListener.fatalError:(Ljavax/xml/transform/TransformerException;)V
29: goto 31
30: StackMap locals: javax.xml.transform.TransformerException javax.xml.transform.ErrorListener
StackMap stack:
aload 6
athrow
end local 7 end local 6 end local 5 end local 4 31: StackMap locals: org.apache.xpath.XPath org.apache.xpath.XPathContext int org.apache.xml.utils.PrefixResolver
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.popNamespaceContext:()V
32: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNodeAndExpression:()V
goto 37
33: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
34: aload 1
invokevirtual org.apache.xpath.XPathContext.popNamespaceContext:()V
35: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNodeAndExpression:()V
36: aload 8
athrow
37: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/apache/xpath/XPath;
0 38 1 xctxt Lorg/apache/xpath/XPathContext;
0 38 2 contextNode I
0 38 3 namespaceContext Lorg/apache/xml/utils/PrefixResolver;
7 13 4 te Ljavax/xml/transform/TransformerException;
9 13 5 el Ljavax/xml/transform/ErrorListener;
16 31 4 e Ljava/lang/Exception;
20 31 5 msg Ljava/lang/String;
26 31 6 te Ljavax/xml/transform/TransformerException;
27 31 7 el Ljavax/xml/transform/ErrorListener;
Exception table:
from to target type
2 3 6 Class javax.xml.transform.TransformerException
2 3 15 Class java.lang.Exception
2 3 33 any
6 13 33 any
15 31 33 any
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
contextNode
namespaceContext
public double getMatchScore(org.apache.xpath.XPathContext, int);
descriptor: (Lorg/apache/xpath/XPathContext;I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
invokevirtual org.apache.xpath.XPathContext.pushCurrentNode:(I)V
1: aload 1
iload 2
invokevirtual org.apache.xpath.XPathContext.pushCurrentExpressionNode:(I)V
2: aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
aload 1
invokevirtual org.apache.xpath.Expression.execute:(Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
astore 3
start local 3 3: aload 3
invokevirtual org.apache.xpath.objects.XObject.num:()D
dstore 6
4: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
5: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentExpressionNode:()V
6: dload 6
dreturn
end local 3 7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
8: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
9: aload 1
invokevirtual org.apache.xpath.XPathContext.popCurrentExpressionNode:()V
10: aload 5
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/xpath/XPath;
0 11 1 xctxt Lorg/apache/xpath/XPathContext;
0 11 2 context I
3 7 3 score Lorg/apache/xpath/objects/XObject;
Exception table:
from to target type
2 4 7 any
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
context
public void warn(org.apache.xpath.XPathContext, int, java.lang.String, java.lang.Object[]);
descriptor: (Lorg/apache/xpath/XPathContext;ILjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
aload 4
invokestatic org.apache.xalan.res.XSLMessages.createXPATHWarning:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 1: aload 1
invokevirtual org.apache.xpath.XPathContext.getErrorListener:()Ljavax/xml/transform/ErrorListener;
astore 6
start local 6 2: aload 6
ifnull 4
3: aload 6
new javax.xml.transform.TransformerException
dup
aload 5
aload 1
invokevirtual org.apache.xpath.XPathContext.getSAXLocator:()Ljavax/xml/transform/SourceLocator;
checkcast org.apache.xml.utils.SAXSourceLocator
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)V
invokeinterface javax.xml.transform.ErrorListener.warning:(Ljavax/xml/transform/TransformerException;)V
4: StackMap locals: java.lang.String javax.xml.transform.ErrorListener
StackMap stack:
return
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 5 0 this Lorg/apache/xpath/XPath;
0 5 1 xctxt Lorg/apache/xpath/XPathContext;
0 5 2 sourceNode I
0 5 3 msg Ljava/lang/String;
0 5 4 args [Ljava/lang/Object;
1 5 5 fmsg Ljava/lang/String;
2 5 6 ehandler Ljavax/xml/transform/ErrorListener;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
sourceNode
msg
args
public void assertion(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 5
1: ldc "ER_INCORRECT_PROGRAMMER_ASSERTION"
2: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
3: invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 4: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/xpath/XPath;
0 6 1 b Z
0 6 2 msg Ljava/lang/String;
4 5 3 fMsg Ljava/lang/String;
MethodParameters:
Name Flags
b
msg
public void error(org.apache.xpath.XPathContext, int, java.lang.String, java.lang.Object[]);
descriptor: (Lorg/apache/xpath/XPathContext;ILjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
aload 4
invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 1: aload 1
invokevirtual org.apache.xpath.XPathContext.getErrorListener:()Ljavax/xml/transform/ErrorListener;
astore 6
start local 6 2: aload 6
ifnull 7
3: aload 6
new javax.xml.transform.TransformerException
dup
aload 5
4: aload 1
invokevirtual org.apache.xpath.XPathContext.getSAXLocator:()Ljavax/xml/transform/SourceLocator;
checkcast org.apache.xml.utils.SAXSourceLocator
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)V
5: invokeinterface javax.xml.transform.ErrorListener.fatalError:(Ljavax/xml/transform/TransformerException;)V
6: goto 12
7: StackMap locals: java.lang.String javax.xml.transform.ErrorListener
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.getSAXLocator:()Ljavax/xml/transform/SourceLocator;
astore 7
start local 7 8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "; file "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokeinterface javax.xml.transform.SourceLocator.getSystemId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc "; line "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokeinterface javax.xml.transform.SourceLocator.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "; column "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 7
invokeinterface javax.xml.transform.SourceLocator.getColumnNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 12: StackMap locals:
StackMap stack:
return
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 13 0 this Lorg/apache/xpath/XPath;
0 13 1 xctxt Lorg/apache/xpath/XPathContext;
0 13 2 sourceNode I
0 13 3 msg Ljava/lang/String;
0 13 4 args [Ljava/lang/Object;
1 13 5 fmsg Ljava/lang/String;
2 13 6 ehandler Ljavax/xml/transform/ErrorListener;
8 12 7 slocator Ljavax/xml/transform/SourceLocator;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
sourceNode
msg
args
public void callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor);
descriptor: (Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/XPathVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.xpath.XPath.m_mainExp:Lorg/apache/xpath/Expression;
aload 0
aload 2
invokevirtual org.apache.xpath.Expression.callVisitors:(Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/XPathVisitor;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/XPath;
0 2 1 owner Lorg/apache/xpath/ExpressionOwner;
0 2 2 visitor Lorg/apache/xpath/XPathVisitor;
MethodParameters:
Name Flags
owner
visitor
}
SourceFile: "XPath.java"