public class org.apache.batik.dom.traversal.DOMNodeIterator implements org.w3c.dom.traversal.NodeIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.dom.traversal.DOMNodeIterator
super_class: java.lang.Object
{
protected static final short INITIAL;
descriptor: S
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
protected static final short INVALID;
descriptor: S
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final short FORWARD;
descriptor: S
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final short BACKWARD;
descriptor: S
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
protected org.apache.batik.dom.AbstractDocument document;
descriptor: Lorg/apache/batik/dom/AbstractDocument;
flags: (0x0004) ACC_PROTECTED
protected org.w3c.dom.Node root;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0004) ACC_PROTECTED
protected int whatToShow;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected org.w3c.dom.traversal.NodeFilter filter;
descriptor: Lorg/w3c/dom/traversal/NodeFilter;
flags: (0x0004) ACC_PROTECTED
protected boolean expandEntityReferences;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected short state;
descriptor: S
flags: (0x0004) ACC_PROTECTED
protected org.w3c.dom.Node referenceNode;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0004) ACC_PROTECTED
public void <init>(org.apache.batik.dom.AbstractDocument, org.w3c.dom.Node, int, org.w3c.dom.traversal.NodeFilter, boolean);
descriptor: (Lorg/apache/batik/dom/AbstractDocument;Lorg/w3c/dom/Node;ILorg/w3c/dom/traversal/NodeFilter;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, 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
aload 1
putfield org.apache.batik.dom.traversal.DOMNodeIterator.document:Lorg/apache/batik/dom/AbstractDocument;
2: aload 0
aload 2
putfield org.apache.batik.dom.traversal.DOMNodeIterator.root:Lorg/w3c/dom/Node;
3: aload 0
iload 3
putfield org.apache.batik.dom.traversal.DOMNodeIterator.whatToShow:I
4: aload 0
aload 4
putfield org.apache.batik.dom.traversal.DOMNodeIterator.filter:Lorg/w3c/dom/traversal/NodeFilter;
5: aload 0
iload 5
putfield org.apache.batik.dom.traversal.DOMNodeIterator.expandEntityReferences:Z
6: aload 0
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.root:Lorg/w3c/dom/Node;
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
7: return
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 8 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
0 8 1 doc Lorg/apache/batik/dom/AbstractDocument;
0 8 2 n Lorg/w3c/dom/Node;
0 8 3 what I
0 8 4 nf Lorg/w3c/dom/traversal/NodeFilter;
0 8 5 exp Z
MethodParameters:
Name Flags
doc
n
what
nf
exp
public org.w3c.dom.Node getRoot();
descriptor: ()Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.root:Lorg/w3c/dom/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
public int getWhatToShow();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.whatToShow:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
public org.w3c.dom.traversal.NodeFilter getFilter();
descriptor: ()Lorg/w3c/dom/traversal/NodeFilter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.filter:Lorg/w3c/dom/traversal/NodeFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
public boolean getExpandEntityReferences();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.expandEntityReferences:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
public org.w3c.dom.Node nextNode();
descriptor: ()Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.state:S
tableswitch { // 0 - 3
0: 5
1: 1
2: 7
3: 5
default: 7
}
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.document:Lorg/apache/batik/dom/AbstractDocument;
2: bipush 11
3: ldc "detached.iterator"
aconst_null
4: invokevirtual org.apache.batik.dom.AbstractDocument.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
5: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield org.apache.batik.dom.traversal.DOMNodeIterator.state:S
6: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.batik.dom.traversal.DOMNodeIterator.unfilteredNextNode:()V
8: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
ifnonnull 10
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.whatToShow:I
iconst_1
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
isub
ishl
iand
ifeq 7
11: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.filter:Lorg/w3c/dom/traversal/NodeFilter;
ifnull 13
12: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.filter:Lorg/w3c/dom/traversal/NodeFilter;
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.traversal.NodeFilter.acceptNode:(Lorg/w3c/dom/Node;)S
iconst_1
if_icmpne 7
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
public org.w3c.dom.Node previousNode();
descriptor: ()Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.state:S
tableswitch { // 0 - 3
0: 5
1: 1
2: 5
3: 7
default: 7
}
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.document:Lorg/apache/batik/dom/AbstractDocument;
2: bipush 11
3: ldc "detached.iterator"
aconst_null
4: invokevirtual org.apache.batik.dom.AbstractDocument.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
5: StackMap locals:
StackMap stack:
aload 0
iconst_3
putfield org.apache.batik.dom.traversal.DOMNodeIterator.state:S
6: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.batik.dom.traversal.DOMNodeIterator.unfilteredPreviousNode:()V
8: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
ifnonnull 10
9: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
areturn
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.whatToShow:I
iconst_1
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
isub
ishl
iand
ifeq 7
11: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.filter:Lorg/w3c/dom/traversal/NodeFilter;
ifnull 13
12: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.filter:Lorg/w3c/dom/traversal/NodeFilter;
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.traversal.NodeFilter.acceptNode:(Lorg/w3c/dom/Node;)S
iconst_1
if_icmpne 7
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
public void detach();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.batik.dom.traversal.DOMNodeIterator.state:S
1: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.document:Lorg/apache/batik/dom/AbstractDocument;
aload 0
invokevirtual org.apache.batik.dom.AbstractDocument.detachNodeIterator:(Lorg/w3c/dom/traversal/NodeIterator;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
public void nodeToBeRemoved(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.state:S
iconst_1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
astore 2
start local 2 3: goto 7
4: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
aload 1
if_acmpne 6
5: goto 8
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 2
7: StackMap locals:
StackMap stack:
aload 2
ifnull 8
aload 2
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.root:Lorg/w3c/dom/Node;
if_acmpne 4
8: StackMap locals:
StackMap stack:
aload 2
ifnull 9
aload 2
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.root:Lorg/w3c/dom/Node;
if_acmpne 10
9: StackMap locals:
StackMap stack:
return
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.state:S
iconst_3
if_icmpne 30
11: aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_5
if_icmpne 13
12: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.expandEntityReferences:Z
ifeq 17
13: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 3
start local 3 14: aload 3
ifnull 17
15: aload 0
aload 3
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
16: return
end local 3 17: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 3
start local 3 18: aload 3
ifnull 21
19: aload 0
aload 3
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
20: return
21: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
astore 3
22: goto 27
23: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
start local 4 24: aload 4
ifnull 27
25: aload 0
aload 4
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
26: return
end local 4 27: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
dup
astore 3
ifnull 28
aload 3
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.root:Lorg/w3c/dom/Node;
if_acmpne 23
28: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
end local 3 29: goto 41
30: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getPreviousSibling:()Lorg/w3c/dom/Node;
astore 3
start local 3 31: aload 3
ifnonnull 34
32: aload 0
aload 2
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
33: return
34: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_5
if_icmpne 38
35: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.expandEntityReferences:Z
ifeq 40
36: goto 38
start local 4 37: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 4
astore 3
end local 4 38: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getLastChild:()Lorg/w3c/dom/Node;
dup
astore 4
start local 4 39: ifnonnull 37
end local 4 40: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
end local 3 41: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
0 42 1 removedNode Lorg/w3c/dom/Node;
3 42 2 node Lorg/w3c/dom/Node;
14 17 3 n Lorg/w3c/dom/Node;
18 29 3 n Lorg/w3c/dom/Node;
24 27 4 t Lorg/w3c/dom/Node;
31 41 3 n Lorg/w3c/dom/Node;
37 38 4 t Lorg/w3c/dom/Node;
39 40 4 t Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
removedNode
protected void unfilteredNextNode();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_5
if_icmpne 4
3: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.expandEntityReferences:Z
ifeq 8
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 1
start local 1 5: aload 1
ifnull 8
6: aload 0
aload 1
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
7: return
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 1
start local 1 9: aload 1
ifnull 12
10: aload 0
aload 1
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
11: return
12: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
astore 1
13: goto 18
14: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
start local 2 15: aload 2
ifnull 18
16: aload 0
aload 2
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
17: return
end local 2 18: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
dup
astore 1
ifnull 19
aload 1
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.root:Lorg/w3c/dom/Node;
if_acmpne 14
19: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
20: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
5 8 1 n Lorg/w3c/dom/Node;
9 21 1 n Lorg/w3c/dom/Node;
15 18 2 t Lorg/w3c/dom/Node;
protected void unfilteredPreviousNode();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.root:Lorg/w3c/dom/Node;
if_acmpne 5
3: aload 0
aconst_null
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getPreviousSibling:()Lorg/w3c/dom/Node;
astore 1
start local 1 6: aload 1
ifnonnull 9
7: aload 0
aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
8: return
9: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_5
if_icmpne 13
10: aload 0
getfield org.apache.batik.dom.traversal.DOMNodeIterator.expandEntityReferences:Z
ifeq 15
11: goto 13
start local 2 12: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
astore 1
end local 2 13: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getLastChild:()Lorg/w3c/dom/Node;
dup
astore 2
start local 2 14: ifnonnull 12
end local 2 15: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.batik.dom.traversal.DOMNodeIterator.referenceNode:Lorg/w3c/dom/Node;
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/batik/dom/traversal/DOMNodeIterator;
6 17 1 n Lorg/w3c/dom/Node;
12 13 2 t Lorg/w3c/dom/Node;
14 15 2 t Lorg/w3c/dom/Node;
}
SourceFile: "DOMNodeIterator.java"