public class org.apache.xpath.objects.XObjectFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.objects.XObjectFactory
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XObjectFactory;
public static org.apache.xpath.objects.XObject create(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/apache/xpath/objects/XObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
instanceof org.apache.xpath.objects.XObject
ifeq 3
1: aload 0
checkcast org.apache.xpath.objects.XObject
astore 1
start local 1 2: goto 13
end local 1 3: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.String
ifeq 6
4: new org.apache.xpath.objects.XString
dup
aload 0
checkcast java.lang.String
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
astore 1
start local 1 5: goto 13
end local 1 6: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Boolean
ifeq 9
7: new org.apache.xpath.objects.XBoolean
dup
aload 0
checkcast java.lang.Boolean
invokespecial org.apache.xpath.objects.XBoolean.<init>:(Ljava/lang/Boolean;)V
astore 1
start local 1 8: goto 13
end local 1 9: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Double
ifeq 12
10: new org.apache.xpath.objects.XNumber
dup
aload 0
checkcast java.lang.Double
invokespecial org.apache.xpath.objects.XNumber.<init>:(Ljava/lang/Number;)V
astore 1
start local 1 11: goto 13
end local 1 12: StackMap locals:
StackMap stack:
new org.apache.xpath.objects.XObject
dup
aload 0
invokespecial org.apache.xpath.objects.XObject.<init>:(Ljava/lang/Object;)V
astore 1
start local 1 13: StackMap locals: org.apache.xpath.objects.XObject
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 val Ljava/lang/Object;
2 3 1 result Lorg/apache/xpath/objects/XObject;
5 6 1 result Lorg/apache/xpath/objects/XObject;
8 9 1 result Lorg/apache/xpath/objects/XObject;
11 12 1 result Lorg/apache/xpath/objects/XObject;
13 14 1 result Lorg/apache/xpath/objects/XObject;
MethodParameters:
Name Flags
val
public static org.apache.xpath.objects.XObject create(java.lang.Object, org.apache.xpath.XPathContext);
descriptor: (Ljava/lang/Object;Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.apache.xpath.objects.XObject
ifeq 3
1: aload 0
checkcast org.apache.xpath.objects.XObject
astore 2
start local 2 2: goto 44
end local 2 3: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.String
ifeq 6
4: new org.apache.xpath.objects.XString
dup
aload 0
checkcast java.lang.String
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
astore 2
start local 2 5: goto 44
end local 2 6: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Boolean
ifeq 9
7: new org.apache.xpath.objects.XBoolean
dup
aload 0
checkcast java.lang.Boolean
invokespecial org.apache.xpath.objects.XBoolean.<init>:(Ljava/lang/Boolean;)V
astore 2
start local 2 8: goto 44
end local 2 9: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Number
ifeq 12
10: new org.apache.xpath.objects.XNumber
dup
aload 0
checkcast java.lang.Number
invokespecial org.apache.xpath.objects.XNumber.<init>:(Ljava/lang/Number;)V
astore 2
start local 2 11: goto 44
end local 2 12: StackMap locals:
StackMap stack:
aload 0
instanceof org.apache.xml.dtm.DTM
ifeq 23
13: aload 0
checkcast org.apache.xml.dtm.DTM
astore 3
start local 3 14: aload 3
invokeinterface org.apache.xml.dtm.DTM.getDocument:()I
istore 4
start local 4 15: aload 3
bipush 13
invokeinterface org.apache.xml.dtm.DTM.getAxisIterator:(I)Lorg/apache/xml/dtm/DTMAxisIterator;
astore 5
start local 5 16: aload 5
iload 4
invokeinterface org.apache.xml.dtm.DTMAxisIterator.setStartNode:(I)Lorg/apache/xml/dtm/DTMAxisIterator;
pop
17: new org.apache.xpath.axes.OneStepIterator
dup
aload 5
bipush 13
invokespecial org.apache.xpath.axes.OneStepIterator.<init>:(Lorg/apache/xml/dtm/DTMAxisIterator;I)V
astore 6
start local 6 18: aload 6
iload 4
aload 1
invokeinterface org.apache.xml.dtm.DTMIterator.setRoot:(ILjava/lang/Object;)V
19: new org.apache.xpath.objects.XNodeSet
dup
aload 6
invokespecial org.apache.xpath.objects.XNodeSet.<init>:(Lorg/apache/xml/dtm/DTMIterator;)V
astore 2
end local 6 end local 5 end local 4 start local 2 20: goto 44
end local 2 21: StackMap locals: java.lang.Object org.apache.xpath.XPathContext top org.apache.xml.dtm.DTM
StackMap stack: java.lang.Exception
astore 4
start local 4 22: new org.apache.xml.utils.WrappedRuntimeException
dup
aload 4
invokespecial org.apache.xml.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 end local 3 23: StackMap locals: java.lang.Object org.apache.xpath.XPathContext
StackMap stack:
aload 0
instanceof org.apache.xml.dtm.DTMAxisIterator
ifeq 31
24: aload 0
checkcast org.apache.xml.dtm.DTMAxisIterator
astore 3
start local 3 25: new org.apache.xpath.axes.OneStepIterator
dup
aload 3
bipush 13
invokespecial org.apache.xpath.axes.OneStepIterator.<init>:(Lorg/apache/xml/dtm/DTMAxisIterator;I)V
astore 4
start local 4 26: aload 4
aload 3
invokeinterface org.apache.xml.dtm.DTMAxisIterator.getStartNode:()I
aload 1
invokeinterface org.apache.xml.dtm.DTMIterator.setRoot:(ILjava/lang/Object;)V
27: new org.apache.xpath.objects.XNodeSet
dup
aload 4
invokespecial org.apache.xpath.objects.XNodeSet.<init>:(Lorg/apache/xml/dtm/DTMIterator;)V
astore 2
end local 4 start local 2 28: goto 44
end local 2 29: StackMap locals: java.lang.Object org.apache.xpath.XPathContext top org.apache.xml.dtm.DTMAxisIterator
StackMap stack: java.lang.Exception
astore 4
start local 4 30: new org.apache.xml.utils.WrappedRuntimeException
dup
aload 4
invokespecial org.apache.xml.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 end local 3 31: StackMap locals: java.lang.Object org.apache.xpath.XPathContext
StackMap stack:
aload 0
instanceof org.apache.xml.dtm.DTMIterator
ifeq 34
32: new org.apache.xpath.objects.XNodeSet
dup
aload 0
checkcast org.apache.xml.dtm.DTMIterator
invokespecial org.apache.xpath.objects.XNodeSet.<init>:(Lorg/apache/xml/dtm/DTMIterator;)V
astore 2
start local 2 33: goto 44
end local 2 34: StackMap locals:
StackMap stack:
aload 0
instanceof org.w3c.dom.Node
ifeq 37
35: new org.apache.xpath.objects.XNodeSetForDOM
dup
aload 0
checkcast org.w3c.dom.Node
aload 1
invokespecial org.apache.xpath.objects.XNodeSetForDOM.<init>:(Lorg/w3c/dom/Node;Lorg/apache/xml/dtm/DTMManager;)V
astore 2
start local 2 36: goto 44
end local 2 37: StackMap locals:
StackMap stack:
aload 0
instanceof org.w3c.dom.NodeList
ifeq 40
38: new org.apache.xpath.objects.XNodeSetForDOM
dup
aload 0
checkcast org.w3c.dom.NodeList
aload 1
invokespecial org.apache.xpath.objects.XNodeSetForDOM.<init>:(Lorg/w3c/dom/NodeList;Lorg/apache/xpath/XPathContext;)V
astore 2
start local 2 39: goto 44
end local 2 40: StackMap locals:
StackMap stack:
aload 0
instanceof org.w3c.dom.traversal.NodeIterator
ifeq 43
41: new org.apache.xpath.objects.XNodeSetForDOM
dup
aload 0
checkcast org.w3c.dom.traversal.NodeIterator
aload 1
invokespecial org.apache.xpath.objects.XNodeSetForDOM.<init>:(Lorg/w3c/dom/traversal/NodeIterator;Lorg/apache/xpath/XPathContext;)V
astore 2
start local 2 42: goto 44
end local 2 43: StackMap locals:
StackMap stack:
new org.apache.xpath.objects.XObject
dup
aload 0
invokespecial org.apache.xpath.objects.XObject.<init>:(Ljava/lang/Object;)V
astore 2
start local 2 44: StackMap locals: org.apache.xpath.objects.XObject
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 val Ljava/lang/Object;
0 45 1 xctxt Lorg/apache/xpath/XPathContext;
2 3 2 result Lorg/apache/xpath/objects/XObject;
5 6 2 result Lorg/apache/xpath/objects/XObject;
8 9 2 result Lorg/apache/xpath/objects/XObject;
11 12 2 result Lorg/apache/xpath/objects/XObject;
20 21 2 result Lorg/apache/xpath/objects/XObject;
28 29 2 result Lorg/apache/xpath/objects/XObject;
33 34 2 result Lorg/apache/xpath/objects/XObject;
36 37 2 result Lorg/apache/xpath/objects/XObject;
39 40 2 result Lorg/apache/xpath/objects/XObject;
42 43 2 result Lorg/apache/xpath/objects/XObject;
44 45 2 result Lorg/apache/xpath/objects/XObject;
14 23 3 dtm Lorg/apache/xml/dtm/DTM;
15 20 4 dtmRoot I
16 20 5 iter Lorg/apache/xml/dtm/DTMAxisIterator;
18 20 6 iterator Lorg/apache/xml/dtm/DTMIterator;
22 23 4 ex Ljava/lang/Exception;
25 31 3 iter Lorg/apache/xml/dtm/DTMAxisIterator;
26 28 4 iterator Lorg/apache/xml/dtm/DTMIterator;
30 31 4 ex Ljava/lang/Exception;
Exception table:
from to target type
14 20 21 Class java.lang.Exception
25 28 29 Class java.lang.Exception
MethodParameters:
Name Flags
val
xctxt
}
SourceFile: "XObjectFactory.java"