public class com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext implements javax.xml.namespace.NamespaceContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext
super_class: java.lang.Object
{
private java.util.Map<java.lang.String, java.lang.String> namespaceMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public void <init>(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.namespaceMap:Ljava/util/Map;
2: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.addNamespaces:(Lorg/w3c/dom/Node;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/security/utils/DOMNamespaceContext;
0 4 1 contextNode Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
contextNode
public java.lang.String getNamespaceURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.namespaceMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/DOMNamespaceContext;
0 1 1 arg0 Ljava/lang/String;
MethodParameters:
Name Flags
arg0
public java.lang.String getPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.namespaceMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.namespaceMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 3: aload 4
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
areturn
end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xml/internal/security/utils/DOMNamespaceContext;
0 7 1 arg0 Ljava/lang/String;
2 5 2 key Ljava/lang/String;
3 5 4 value Ljava/lang/String;
MethodParameters:
Name Flags
arg0
public java.util.Iterator<java.lang.String> getPrefixes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.namespaceMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/DOMNamespaceContext;
0 1 1 arg0 Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljava/lang/String;>;
MethodParameters:
Name Flags
arg0
private void addNamespaces(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
ifnull 2
1: aload 0
aload 1
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
invokevirtual com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.addNamespaces:(Lorg/w3c/dom/Node;)V
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.w3c.dom.Element
ifeq 12
3: aload 1
checkcast org.w3c.dom.Element
astore 2
start local 2 4: aload 2
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 11
7: StackMap locals: org.w3c.dom.Element org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 3
iload 4
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 5
start local 5 8: ldc "xmlns"
aload 5
invokeinterface org.w3c.dom.Attr.getPrefix:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.namespaceMap:Ljava/util/Map;
aload 5
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
aload 5
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 3
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 7
end local 4 end local 3 end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xml/internal/security/utils/DOMNamespaceContext;
0 13 1 element Lorg/w3c/dom/Node;
4 12 2 el Lorg/w3c/dom/Element;
5 12 3 map Lorg/w3c/dom/NamedNodeMap;
6 12 4 x I
8 10 5 attr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
element
}
SourceFile: "DOMNamespaceContext.java"