public class org.apache.batik.dom.AbstractDocument$XPathExpr implements org.w3c.dom.xpath.XPathExpression
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.dom.AbstractDocument$XPathExpr
super_class: java.lang.Object
{
protected org.apache.xpath.XPath xpath;
descriptor: Lorg/apache/xpath/XPath;
flags: (0x0004) ACC_PROTECTED
protected org.w3c.dom.xpath.XPathNSResolver resolver;
descriptor: Lorg/w3c/dom/xpath/XPathNSResolver;
flags: (0x0004) ACC_PROTECTED
protected org.apache.batik.dom.AbstractDocument$XPathExpr$NSPrefixResolver prefixResolver;
descriptor: Lorg/apache/batik/dom/AbstractDocument$XPathExpr$NSPrefixResolver;
flags: (0x0004) ACC_PROTECTED
protected org.apache.xpath.XPathContext context;
descriptor: Lorg/apache/xpath/XPathContext;
flags: (0x0004) ACC_PROTECTED
final org.apache.batik.dom.AbstractDocument this$0;
descriptor: Lorg/apache/batik/dom/AbstractDocument;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.apache.batik.dom.AbstractDocument, java.lang.String, org.w3c.dom.xpath.XPathNSResolver);
descriptor: (Lorg/apache/batik/dom/AbstractDocument;Ljava/lang/String;Lorg/w3c/dom/xpath/XPathNSResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 3
putfield org.apache.batik.dom.AbstractDocument$XPathExpr.resolver:Lorg/w3c/dom/xpath/XPathNSResolver;
3: aload 0
new org.apache.batik.dom.AbstractDocument$XPathExpr$NSPrefixResolver
dup
aload 0
invokespecial org.apache.batik.dom.AbstractDocument$XPathExpr$NSPrefixResolver.<init>:(Lorg/apache/batik/dom/AbstractDocument$XPathExpr;)V
putfield org.apache.batik.dom.AbstractDocument$XPathExpr.prefixResolver:Lorg/apache/batik/dom/AbstractDocument$XPathExpr$NSPrefixResolver;
4: aload 0
new org.apache.xpath.XPath
dup
aload 2
aconst_null
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.prefixResolver:Lorg/apache/batik/dom/AbstractDocument$XPathExpr$NSPrefixResolver;
iconst_0
invokespecial org.apache.xpath.XPath.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Lorg/apache/xml/utils/PrefixResolver;I)V
putfield org.apache.batik.dom.AbstractDocument$XPathExpr.xpath:Lorg/apache/xpath/XPath;
5: aload 0
new org.apache.xpath.XPathContext
dup
invokespecial org.apache.xpath.XPathContext.<init>:()V
putfield org.apache.batik.dom.AbstractDocument$XPathExpr.context:Lorg/apache/xpath/XPathContext;
6: goto 13
StackMap locals: org.apache.batik.dom.AbstractDocument$XPathExpr org.apache.batik.dom.AbstractDocument java.lang.String org.w3c.dom.xpath.XPathNSResolver
StackMap stack: javax.xml.transform.TransformerException
7: astore 4
start local 4 8: aload 1
9: iconst_1
10: ldc "xpath.invalid.expression"
11: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 4
invokevirtual javax.xml.transform.TransformerException.getMessage:()Ljava/lang/String;
aastore
12: invokevirtual org.apache.batik.dom.AbstractDocument.createXPathException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/xpath/XPathException;
athrow
end local 4 13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/batik/dom/AbstractDocument$XPathExpr;
0 14 2 expr Ljava/lang/String;
0 14 3 res Lorg/w3c/dom/xpath/XPathNSResolver;
8 13 4 te Ljavax/xml/transform/TransformerException;
Exception table:
from to target type
4 6 7 Class javax.xml.transform.TransformerException
Exceptions:
throws org.w3c.dom.DOMException, org.w3c.dom.xpath.XPathException
MethodParameters:
Name Flags
this$0 final
expr
res
public java.lang.Object evaluate(org.w3c.dom.Node, short, java.lang.Object);
descriptor: (Lorg/w3c/dom/Node;SLjava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
bipush 9
if_icmpeq 2
1: aload 1
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
if_acmpne 4
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
bipush 9
if_icmpne 10
3: aload 1
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
if_acmpeq 10
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
5: iconst_4
6: ldc "node.from.wrong.document"
7: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
8: aload 1
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
aastore
9: invokevirtual org.apache.batik.dom.AbstractDocument.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
10: StackMap locals:
StackMap stack:
iload 2
iflt 11
iload 2
bipush 9
if_icmple 15
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
bipush 9
12: ldc "xpath.invalid.result.type"
13: iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
14: invokevirtual org.apache.batik.dom.AbstractDocument.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
15: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
tableswitch { // 5 - 12
5: 16
6: 16
7: 22
8: 22
9: 22
10: 16
11: 16
12: 16
default: 22
}
16: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
17: bipush 9
18: ldc "xpath.invalid.context.node"
19: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
20: aload 1
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
aastore
21: invokevirtual org.apache.batik.dom.AbstractDocument.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
22: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.context:Lorg/apache/xpath/XPathContext;
invokevirtual org.apache.xpath.XPathContext.reset:()V
23: aconst_null
astore 4
start local 4 24: aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.xpath:Lorg/apache/xpath/XPath;
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.context:Lorg/apache/xpath/XPathContext;
aload 1
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.prefixResolver:Lorg/apache/batik/dom/AbstractDocument$XPathExpr$NSPrefixResolver;
invokevirtual org.apache.xpath.XPath.execute:(Lorg/apache/xpath/XPathContext;Lorg/w3c/dom/Node;Lorg/apache/xml/utils/PrefixResolver;)Lorg/apache/xpath/objects/XObject;
astore 4
25: goto 33
StackMap locals: org.apache.batik.dom.AbstractDocument$XPathExpr org.w3c.dom.Node int java.lang.Object org.apache.xpath.objects.XObject
StackMap stack: javax.xml.transform.TransformerException
26: astore 5
start local 5 27: aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
28: iconst_1
29: ldc "xpath.error"
30: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.xpath:Lorg/apache/xpath/XPath;
invokevirtual org.apache.xpath.XPath.getPatternString:()Ljava/lang/String;
aastore
dup
iconst_1
31: aload 5
invokevirtual javax.xml.transform.TransformerException.getMessage:()Ljava/lang/String;
aastore
32: invokevirtual org.apache.batik.dom.AbstractDocument.createXPathException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/xpath/XPathException;
athrow
end local 5 33: StackMap locals:
StackMap stack:
iload 2
tableswitch { // 0 - 9
0: 44
1: 38
2: 42
3: 36
4: 40
5: 40
6: 40
7: 40
8: 34
9: 34
default: 56
}
34: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 2
invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertSingleNode:(Lorg/apache/xpath/objects/XObject;S)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
35: areturn
36: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertBoolean:(Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
37: areturn
38: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertNumber:(Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
39: areturn
40: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 2
invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertNodeIterator:(Lorg/apache/xpath/objects/XObject;S)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
41: areturn
42: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertString:(Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
43: areturn
44: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.apache.xpath.objects.XObject.getType:()I
tableswitch { // 1 - 4
1: 45
2: 47
3: 49
4: 51
default: 56
}
45: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertBoolean:(Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
46: areturn
47: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertNumber:(Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
48: areturn
49: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertString:(Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
50: areturn
51: StackMap locals:
StackMap stack:
aload 0
52: aload 4
53: iconst_4
54: invokevirtual org.apache.batik.dom.AbstractDocument$XPathExpr.convertNodeIterator:(Lorg/apache/xpath/objects/XObject;S)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
55: areturn
56: StackMap locals:
StackMap stack:
goto 64
StackMap locals:
StackMap stack: javax.xml.transform.TransformerException
57: astore 5
start local 5 58: aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
59: iconst_2
60: ldc "xpath.cannot.convert.result"
61: iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
62: aload 5
invokevirtual javax.xml.transform.TransformerException.getMessage:()Ljava/lang/String;
aastore
63: invokevirtual org.apache.batik.dom.AbstractDocument.createXPathException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/xpath/XPathException;
athrow
end local 5 64: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 65 0 this Lorg/apache/batik/dom/AbstractDocument$XPathExpr;
0 65 1 contextNode Lorg/w3c/dom/Node;
0 65 2 type S
0 65 3 res Ljava/lang/Object;
24 65 4 result Lorg/apache/xpath/objects/XObject;
27 33 5 te Ljavax/xml/transform/TransformerException;
58 64 5 te Ljavax/xml/transform/TransformerException;
Exception table:
from to target type
24 25 26 Class javax.xml.transform.TransformerException
33 35 57 Class javax.xml.transform.TransformerException
36 37 57 Class javax.xml.transform.TransformerException
38 39 57 Class javax.xml.transform.TransformerException
40 41 57 Class javax.xml.transform.TransformerException
42 43 57 Class javax.xml.transform.TransformerException
44 46 57 Class javax.xml.transform.TransformerException
47 48 57 Class javax.xml.transform.TransformerException
49 50 57 Class javax.xml.transform.TransformerException
51 55 57 Class javax.xml.transform.TransformerException
Exceptions:
throws org.w3c.dom.xpath.XPathException, org.w3c.dom.DOMException
MethodParameters:
Name Flags
contextNode
type
res
protected org.apache.batik.dom.AbstractDocument$XPathExpr$Result convertSingleNode(org.apache.xpath.objects.XObject, short);
descriptor: (Lorg/apache/xpath/objects/XObject;S)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.batik.dom.AbstractDocument$XPathExpr$Result
dup
aload 0
aload 1
invokevirtual org.apache.xpath.objects.XObject.nodelist:()Lorg/w3c/dom/NodeList;
iconst_0
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
iload 2
invokespecial org.apache.batik.dom.AbstractDocument$XPathExpr$Result.<init>:(Lorg/apache/batik/dom/AbstractDocument$XPathExpr;Lorg/w3c/dom/Node;S)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/AbstractDocument$XPathExpr;
0 1 1 xo Lorg/apache/xpath/objects/XObject;
0 1 2 type S
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xo
type
protected org.apache.batik.dom.AbstractDocument$XPathExpr$Result convertBoolean(org.apache.xpath.objects.XObject);
descriptor: (Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.batik.dom.AbstractDocument$XPathExpr$Result
dup
aload 0
aload 1
invokevirtual org.apache.xpath.objects.XObject.bool:()Z
invokespecial org.apache.batik.dom.AbstractDocument$XPathExpr$Result.<init>:(Lorg/apache/batik/dom/AbstractDocument$XPathExpr;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/AbstractDocument$XPathExpr;
0 1 1 xo Lorg/apache/xpath/objects/XObject;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xo
protected org.apache.batik.dom.AbstractDocument$XPathExpr$Result convertNumber(org.apache.xpath.objects.XObject);
descriptor: (Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.batik.dom.AbstractDocument$XPathExpr$Result
dup
aload 0
aload 1
invokevirtual org.apache.xpath.objects.XObject.num:()D
invokespecial org.apache.batik.dom.AbstractDocument$XPathExpr$Result.<init>:(Lorg/apache/batik/dom/AbstractDocument$XPathExpr;D)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/AbstractDocument$XPathExpr;
0 1 1 xo Lorg/apache/xpath/objects/XObject;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xo
protected org.apache.batik.dom.AbstractDocument$XPathExpr$Result convertString(org.apache.xpath.objects.XObject);
descriptor: (Lorg/apache/xpath/objects/XObject;)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.batik.dom.AbstractDocument$XPathExpr$Result
dup
aload 0
aload 1
invokevirtual org.apache.xpath.objects.XObject.str:()Ljava/lang/String;
invokespecial org.apache.batik.dom.AbstractDocument$XPathExpr$Result.<init>:(Lorg/apache/batik/dom/AbstractDocument$XPathExpr;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/AbstractDocument$XPathExpr;
0 1 1 xo Lorg/apache/xpath/objects/XObject;
MethodParameters:
Name Flags
xo
protected org.apache.batik.dom.AbstractDocument$XPathExpr$Result convertNodeIterator(org.apache.xpath.objects.XObject, short);
descriptor: (Lorg/apache/xpath/objects/XObject;S)Lorg/apache/batik/dom/AbstractDocument$XPathExpr$Result;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.batik.dom.AbstractDocument$XPathExpr$Result
dup
aload 0
aload 1
invokevirtual org.apache.xpath.objects.XObject.nodelist:()Lorg/w3c/dom/NodeList;
iload 2
invokespecial org.apache.batik.dom.AbstractDocument$XPathExpr$Result.<init>:(Lorg/apache/batik/dom/AbstractDocument$XPathExpr;Lorg/w3c/dom/NodeList;S)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/AbstractDocument$XPathExpr;
0 1 1 xo Lorg/apache/xpath/objects/XObject;
0 1 2 type S
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xo
type
static org.apache.batik.dom.AbstractDocument access$0(org.apache.batik.dom.AbstractDocument$XPathExpr);
descriptor: (Lorg/apache/batik/dom/AbstractDocument$XPathExpr;)Lorg/apache/batik/dom/AbstractDocument;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield org.apache.batik.dom.AbstractDocument$XPathExpr.this$0:Lorg/apache/batik/dom/AbstractDocument;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AbstractDocument.java"
NestHost: org.apache.batik.dom.AbstractDocument
InnerClasses:
protected XPathExpr = org.apache.batik.dom.AbstractDocument$XPathExpr of org.apache.batik.dom.AbstractDocument
protected NSPrefixResolver = org.apache.batik.dom.AbstractDocument$XPathExpr$NSPrefixResolver of org.apache.batik.dom.AbstractDocument$XPathExpr
public Result = org.apache.batik.dom.AbstractDocument$XPathExpr$Result of org.apache.batik.dom.AbstractDocument$XPathExpr