final class org.apache.batik.dom.util.DOMUtilities$NSMap
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.batik.dom.util.DOMUtilities$NSMap
super_class: java.lang.Object
{
private java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ns;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.apache.batik.dom.util.DOMUtilities$NSMap next;
descriptor: Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
flags: (0x0002) ACC_PRIVATE
private int nextPrefixNumber;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public static org.apache.batik.dom.util.DOMUtilities$NSMap create();
descriptor: ()Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.apache.batik.dom.util.DOMUtilities$NSMap
dup
invokespecial org.apache.batik.dom.util.DOMUtilities$NSMap.<init>:()V
ldc "xml"
1: ldc "http://www.w3.org/XML/1998/namespace"
2: invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.declare:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
3: ldc "xmlns"
4: ldc "http://www.w3.org/2000/xmlns/"
5: invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.declare:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
6: areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
public org.apache.batik.dom.util.DOMUtilities$NSMap declare(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.batik.dom.util.DOMUtilities$NSMap
dup
invokespecial org.apache.batik.dom.util.DOMUtilities$NSMap.<init>:()V
astore 3
start local 3 1: aload 3
aload 1
putfield org.apache.batik.dom.util.DOMUtilities$NSMap.prefix:Ljava/lang/String;
2: aload 3
aload 2
putfield org.apache.batik.dom.util.DOMUtilities$NSMap.ns:Ljava/lang/String;
3: aload 3
aload 0
putfield org.apache.batik.dom.util.DOMUtilities$NSMap.next:Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
4: aload 3
aload 0
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.nextPrefixNumber:I
putfield org.apache.batik.dom.util.DOMUtilities$NSMap.nextPrefixNumber:I
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
0 6 1 prefix Ljava/lang/String;
0 6 2 ns Ljava/lang/String;
1 6 3 m Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
MethodParameters:
Name Flags
prefix
ns
public java.lang.String getNewPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "a"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
dup
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.nextPrefixNumber:I
dup_x1
iconst_1
iadd
putfield org.apache.batik.dom.util.DOMUtilities$NSMap.nextPrefixNumber:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.getNamespace:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 0
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
1 3 1 prefix Ljava/lang/String;
public java.lang.String getNamespace(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: goto 5
2: StackMap locals: org.apache.batik.dom.util.DOMUtilities$NSMap
StackMap stack:
aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.prefix:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.ns:Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.next:Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 2
StackMap locals:
StackMap stack:
5: aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.next:Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
ifnonnull 2
end local 2 6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
0 7 1 prefix Ljava/lang/String;
1 6 2 m Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
MethodParameters:
Name Flags
prefix
public java.lang.String getPrefixForElement(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: goto 5
2: StackMap locals: org.apache.batik.dom.util.DOMUtilities$NSMap
StackMap stack:
aload 1
aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.ns:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.prefix:Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.next:Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 2
StackMap locals:
StackMap stack:
5: aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.next:Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
ifnonnull 2
end local 2 6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
0 7 1 ns Ljava/lang/String;
1 6 2 m Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
MethodParameters:
Name Flags
ns
public java.lang.String getPrefixForAttr(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: goto 5
2: StackMap locals: org.apache.batik.dom.util.DOMUtilities$NSMap
StackMap stack:
aload 1
aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.ns:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.prefix:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.prefix:Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.next:Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 2
StackMap locals:
StackMap stack:
5: aload 2
getfield org.apache.batik.dom.util.DOMUtilities$NSMap.next:Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
ifnonnull 2
end local 2 6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
0 7 1 ns Ljava/lang/String;
1 6 2 m Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
MethodParameters:
Name Flags
ns
}
SourceFile: "DOMUtilities.java"
NestHost: org.apache.batik.dom.util.DOMUtilities
InnerClasses:
private final NSMap = org.apache.batik.dom.util.DOMUtilities$NSMap of org.apache.batik.dom.util.DOMUtilities