public final class com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper implements com.sun.xml.internal.org.jvnet.staxex.NamespaceContextEx
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper
super_class: java.lang.Object
{
private static int DEFAULT_SIZE;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.String[] prefixes;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] namespaceURIs;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int namespacePosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] contexts;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int contextPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 8
putstatic com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.DEFAULT_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.DEFAULT_SIZE:I
anewarray java.lang.String
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
2: aload 0
getstatic com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.DEFAULT_SIZE:I
anewarray java.lang.String
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
3: aload 0
getstatic com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.DEFAULT_SIZE:I
newarray 10
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contexts:[I
4: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iconst_0
ldc "xml"
aastore
5: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
iconst_0
ldc "http://www.w3.org/XML/1998/namespace"
aastore
6: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iconst_1
ldc "xmlns"
aastore
7: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
iconst_1
ldc "http://www.w3.org/2000/xmlns/"
aastore
8: aload 0
iconst_2
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
public java.lang.String getNamespaceURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 1
2: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
iconst_1
isub
istore 2
start local 2 3: goto 8
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iload 2
aaload
astore 3
start local 3 5: aload 3
aload 1
if_acmpne 7
6: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
iload 2
aaload
areturn
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
8: iload 2
ifge 4
end local 2 9: ldc ""
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
0 10 1 prefix Ljava/lang/String;
3 9 2 i I
5 7 3 declaredPrefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public java.lang.String getPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
iconst_1
isub
istore 2
start local 2 2: goto 13
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
iload 2
aaload
astore 3
start local 3 4: aload 3
aload 1
if_acmpeq 5
aload 3
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iload 2
aaload
astore 4
start local 4 6: iinc 2 1
goto 10
7: StackMap locals: java.lang.String
StackMap stack:
aload 4
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iload 2
aaload
if_acmpne 9
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
if_icmplt 7
11: aload 4
areturn
end local 4 end local 3 12: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
13: iload 2
ifge 3
end local 2 14: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
0 15 1 namespaceURI Ljava/lang/String;
2 14 2 i I
4 12 3 declaredNamespaceURI Ljava/lang/String;
6 12 4 declaredPrefix Ljava/lang/String;
MethodParameters:
Name Flags
namespaceURI
public java.util.Iterator getPrefixes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
iconst_1
isub
istore 3
start local 3 3: goto 15
4: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
iload 3
aaload
astore 4
start local 4 5: aload 4
aload 1
if_acmpeq 6
aload 4
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iload 3
aaload
astore 5
start local 5 7: iload 3
iconst_1
iadd
istore 6
start local 6 8: goto 12
9: StackMap locals: java.lang.String int
StackMap stack:
aload 5
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iload 6
aaload
if_acmpne 11
10: goto 14
11: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
if_icmplt 9
end local 6 13: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 14: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
15: iload 3
ifge 4
end local 3 16: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
0 17 1 namespaceURI Ljava/lang/String;
2 17 2 l Ljava/util/List<Ljava/lang/String;>;
3 16 3 i I
5 14 4 declaredNamespaceURI Ljava/lang/String;
7 14 5 declaredPrefix Ljava/lang/String;
8 13 6 j I
MethodParameters:
Name Flags
namespaceURI
public java.util.Iterator<com.sun.xml.internal.org.jvnet.staxex.NamespaceContextEx$Binding> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
iconst_2
if_icmpne 2
1: getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
invokespecial java.util.ArrayList.<init>:(I)V
3: astore 1
start local 1 4: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
iconst_1
isub
istore 2
start local 2 5: goto 15
6: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iload 2
aaload
astore 3
start local 3 7: iload 2
iconst_1
iadd
istore 4
start local 4 8: goto 13
9: StackMap locals: java.lang.String int
StackMap stack:
aload 3
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iload 4
aaload
if_acmpne 11
10: goto 14
11: StackMap locals:
StackMap stack:
aload 1
new com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper$NamespaceBindingImpl
dup
aload 0
iload 2
invokespecial com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper$NamespaceBindingImpl.<init>:(Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;I)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
if_icmplt 9
end local 4 end local 3 14: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
15: iload 2
iconst_2
if_icmpge 6
end local 2 16: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
4 17 1 namespaces Ljava/util/List<Lcom/sun/xml/internal/org/jvnet/staxex/NamespaceContextEx$Binding;>;
5 16 2 i I
7 14 3 declaredPrefix Ljava/lang/String;
8 14 4 j I
Signature: ()Ljava/util/Iterator<Lcom/sun/xml/internal/org/jvnet/staxex/NamespaceContextEx$Binding;>;
public void declareDefaultNamespace(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc ""
aload 1
invokevirtual com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.declareNamespace:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
0 2 1 namespaceURI Ljava/lang/String;
MethodParameters:
Name Flags
namespaceURI
public void declareNamespace(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 1
2: aload 1
ldc "xml"
if_acmpeq 3
aload 1
ldc "xmlns"
if_acmpne 4
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 2
ifnull 6
5: aload 2
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 2
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
arraylength
if_icmpne 8
7: aload 0
invokevirtual com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.resizeNamespaces:()V
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
aload 1
aastore
9: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
aload 0
dup
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
dup_x1
iconst_1
iadd
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
aload 2
aastore
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
0 11 1 prefix Ljava/lang/String;
0 11 2 namespaceURI Ljava/lang/String;
MethodParameters:
Name Flags
prefix
namespaceURI
private void resizeNamespaces();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
arraylength
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
istore 1
start local 1 1: iload 1
anewarray java.lang.String
astore 2
start local 2 2: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
iconst_0
aload 2
iconst_0
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 2
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.prefixes:[Ljava/lang/String;
4: iload 1
anewarray java.lang.String
astore 3
start local 3 5: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
iconst_0
aload 3
iconst_0
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
aload 3
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespaceURIs:[Ljava/lang/String;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
1 8 1 newLength I
2 8 2 newPrefixes [Ljava/lang/String;
5 8 3 newNamespaceURIs [Ljava/lang/String;
public void pushContext();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contextPosition:I
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contexts:[I
arraylength
if_icmpne 2
1: aload 0
invokevirtual com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.resizeContexts:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contexts:[I
aload 0
dup
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contextPosition:I
dup_x1
iconst_1
iadd
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contextPosition:I
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
iastore
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
private void resizeContexts();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contexts:[I
arraylength
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
newarray 10
astore 1
start local 1 1: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contexts:[I
iconst_0
aload 1
iconst_0
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contexts:[I
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
aload 1
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contexts:[I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
1 4 1 newContexts [I
public void popContext();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contextPosition:I
ifle 2
1: aload 0
aload 0
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contexts:[I
aload 0
dup
getfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contextPosition:I
iconst_1
isub
dup_x1
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.contextPosition:I
iaload
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
public void resetContexts();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
putfield com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper.namespacePosition:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper;
}
SourceFile: "NamespaceContexHelper.java"
NestMembers:
com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper$NamespaceBindingImpl
InnerClasses:
public abstract Binding = com.sun.xml.internal.org.jvnet.staxex.NamespaceContextEx$Binding of com.sun.xml.internal.org.jvnet.staxex.NamespaceContextEx
private final NamespaceBindingImpl = com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper$NamespaceBindingImpl of com.sun.xml.internal.stream.buffer.stax.NamespaceContexHelper