public class com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator implements java.util.Iterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator
super_class: java.lang.Object
{
org.w3c.dom.Node context;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0000)
org.w3c.dom.NamedNodeMap attributes;
descriptor: Lorg/w3c/dom/NamedNodeMap;
flags: (0x0000)
int attributesLength;
descriptor: I
flags: (0x0000)
int attributeIndex;
descriptor: I
flags: (0x0000)
org.w3c.dom.Attr next;
descriptor: Lorg/w3c/dom/Attr;
flags: (0x0000)
org.w3c.dom.Attr last;
descriptor: Lorg/w3c/dom/Attr;
flags: (0x0000)
boolean traverseStack;
descriptor: Z
flags: (0x0000)
public void <init>(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)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 com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributes:Lorg/w3c/dom/NamedNodeMap;
2: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.next:Lorg/w3c/dom/Attr;
3: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.last:Lorg/w3c/dom/Attr;
4: aload 0
iconst_1
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.traverseStack:Z
5: aload 0
aload 1
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
6: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.findContextAttributes:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
0 8 1 context Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
context
public void <init>(org.w3c.dom.Node, boolean);
descriptor: (Lorg/w3c/dom/Node;Z)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
aload 1
invokespecial com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.<init>:(Lorg/w3c/dom/Node;)V
1: aload 0
iload 2
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.traverseStack:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
0 3 1 context Lorg/w3c/dom/Node;
0 3 2 traverseStack Z
MethodParameters:
Name Flags
context
traverseStack
protected void findContextAttributes();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: goto 8
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 1
start local 1 2: iload 1
iconst_1
if_icmpne 7
3: aload 0
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributes:Lorg/w3c/dom/NamedNodeMap;
4: aload 0
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributes:Lorg/w3c/dom/NamedNodeMap;
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributesLength:I
5: aload 0
iconst_0
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributeIndex:I
6: return
7: StackMap locals: int
StackMap stack:
aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
ifnonnull 1
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
2 8 1 type I
protected void findNext();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: goto 16
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributes:Lorg/w3c/dom/NamedNodeMap;
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributeIndex:I
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
astore 1
start local 1 2: aload 1
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ldc "xmlns"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
4: aload 2
invokevirtual java.lang.String.length:()I
iconst_5
if_icmpeq 6
5: aload 2
iconst_5
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 9
6: StackMap locals: org.w3c.dom.Node java.lang.String
StackMap stack:
aload 0
aload 1
checkcast org.w3c.dom.Attr
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.next:Lorg/w3c/dom/Attr;
7: aload 0
dup
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributeIndex:I
iconst_1
iadd
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributeIndex:I
8: return
end local 2 end local 1 9: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributeIndex:I
iconst_1
iadd
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributeIndex:I
StackMap locals:
StackMap stack:
10: aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributeIndex:I
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.attributesLength:I
if_icmplt 1
11: aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.traverseStack:Z
ifeq 15
12: aload 0
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
13: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.findContextAttributes:()V
14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.next:Lorg/w3c/dom/Attr;
ifnonnull 17
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
ifnonnull 10
17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
2 9 1 currentAttribute Lorg/w3c/dom/Node;
3 9 2 attributeName Ljava/lang/String;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.findNext:()V
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.next:Lorg/w3c/dom/Attr;
ifnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.getNext:()Lorg/w3c/dom/Attr;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
public org.w3c.dom.Attr nextNamespaceAttr();
descriptor: ()Lorg/w3c/dom/Attr;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.getNext:()Lorg/w3c/dom/Attr;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
protected org.w3c.dom.Attr getNext();
descriptor: ()Lorg/w3c/dom/Attr;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.findNext:()V
1: aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.next:Lorg/w3c/dom/Attr;
ifnonnull 3
2: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.next:Lorg/w3c/dom/Attr;
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.last:Lorg/w3c/dom/Attr;
4: aload 0
aconst_null
putfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.next:Lorg/w3c/dom/Attr;
5: aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.last:Lorg/w3c/dom/Attr;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.last:Lorg/w3c/dom/Attr;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.context:Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Element
aload 0
getfield com.sun.xml.internal.messaging.saaj.util.NamespaceContextIterator.last:Lorg/w3c/dom/Attr;
invokeinterface org.w3c.dom.Element.removeAttributeNode:(Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Attr;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/messaging/saaj/util/NamespaceContextIterator;
}
SourceFile: "NamespaceContextIterator.java"