public final class com.ctc.wstx.sr.CompactNsContext extends com.ctc.wstx.util.BaseNsContext
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.sr.CompactNsContext
super_class: com.ctc.wstx.util.BaseNsContext
{
final javax.xml.stream.Location mLocation;
descriptor: Ljavax/xml/stream/Location;
flags: (0x0010) ACC_FINAL
final java.lang.String[] mNamespaces;
descriptor: [Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final int mNsLength;
descriptor: I
flags: (0x0010) ACC_FINAL
final int mFirstLocalNs;
descriptor: I
flags: (0x0010) ACC_FINAL
transient java.util.ArrayList<javax.xml.stream.events.Namespace> mNsList;
descriptor: Ljava/util/ArrayList;
flags: (0x0080) ACC_TRANSIENT
Signature: Ljava/util/ArrayList<Ljavax/xml/stream/events/Namespace;>;
public void <init>(javax.xml.stream.Location, java.lang.String[], int, int);
descriptor: (Ljavax/xml/stream/Location;[Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial com.ctc.wstx.util.BaseNsContext.<init>:()V
1: aload 0
aload 1
putfield com.ctc.wstx.sr.CompactNsContext.mLocation:Ljavax/xml/stream/Location;
2: aload 0
aload 2
putfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
3: aload 0
iload 3
putfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
4: aload 0
iload 4
putfield com.ctc.wstx.sr.CompactNsContext.mFirstLocalNs:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/sr/CompactNsContext;
0 6 1 loc Ljavax/xml/stream/Location;
0 6 2 namespaces [Ljava/lang/String;
0 6 3 nsLen I
0 6 4 firstLocal I
MethodParameters:
Name Flags
loc
namespaces
nsLen
firstLocal
public java.lang.String doGetNamespaceURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
ifne 9
2: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
iconst_2
isub
istore 3
start local 3 3: goto 7
4: StackMap locals: java.lang.String[] int
StackMap stack:
aload 2
iload 3
aaload
ifnonnull 6
5: aload 2
iload 3
iconst_1
iadd
aaload
areturn
6: StackMap locals:
StackMap stack:
iinc 3 -2
StackMap locals:
StackMap stack:
7: iload 3
ifge 4
end local 3 8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
iconst_2
isub
istore 3
start local 3 10: goto 14
11: StackMap locals: int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
12: aload 2
iload 3
iconst_1
iadd
aaload
areturn
13: StackMap locals:
StackMap stack:
iinc 3 -2
StackMap locals:
StackMap stack:
14: iload 3
ifge 11
end local 3 15: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/ctc/wstx/sr/CompactNsContext;
0 16 1 prefix Ljava/lang/String;
1 16 2 ns [Ljava/lang/String;
3 8 3 i I
10 15 3 i I
MethodParameters:
Name Flags
prefix
public java.lang.String doGetPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
istore 3
start local 3 2: iload 3
iconst_1
isub
istore 4
start local 4 3: goto 17
4: StackMap locals: java.lang.String[] int int
StackMap stack:
aload 1
aload 2
iload 4
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
5: aload 2
iload 4
iconst_1
isub
aaload
astore 5
start local 5 6: iload 4
iconst_1
iadd
istore 6
start local 6 7: goto 11
8: StackMap locals: java.lang.String int
StackMap stack:
aload 2
iload 6
aaload
aload 5
if_acmpne 10
9: goto 16
10: StackMap locals:
StackMap stack:
iinc 6 2
StackMap locals:
StackMap stack:
11: iload 6
iload 3
if_icmplt 8
end local 6 12: aload 2
iload 4
iconst_1
isub
aaload
astore 6
start local 6 13: aload 6
ifnonnull 14
ldc ""
goto 15
StackMap locals: com.ctc.wstx.sr.CompactNsContext java.lang.String java.lang.String[] int int java.lang.String java.lang.String
StackMap stack:
14: aload 6
StackMap locals:
StackMap stack: java.lang.String
15: areturn
end local 6 end local 5 16: StackMap locals:
StackMap stack:
iinc 4 -2
StackMap locals:
StackMap stack:
17: iload 4
ifgt 4
end local 4 18: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/ctc/wstx/sr/CompactNsContext;
0 19 1 nsURI Ljava/lang/String;
1 19 2 ns [Ljava/lang/String;
2 19 3 len I
3 18 4 i I
6 16 5 prefix Ljava/lang/String;
7 12 6 j I
13 16 6 uri Ljava/lang/String;
MethodParameters:
Name Flags
nsURI
public java.util.Iterator<java.lang.String> doGetPrefixes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
istore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: iload 3
iconst_1
isub
istore 6
start local 6 5: goto 25
6: StackMap locals: com.ctc.wstx.sr.CompactNsContext java.lang.String java.lang.String[] int java.lang.String java.util.ArrayList int
StackMap stack:
aload 2
iload 6
aaload
astore 7
start local 7 7: aload 7
aload 1
if_acmpeq 8
aload 7
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
iload 6
iconst_1
isub
aaload
astore 8
start local 8 9: iload 6
iconst_1
iadd
istore 9
start local 9 10: goto 14
11: StackMap locals: java.lang.String int
StackMap stack:
aload 2
iload 9
aaload
aload 8
if_acmpne 13
12: goto 24
13: StackMap locals:
StackMap stack:
iinc 9 2
StackMap locals:
StackMap stack:
14: iload 9
iload 3
if_icmplt 11
end local 9 15: aload 8
ifnonnull 17
16: ldc ""
astore 8
17: StackMap locals:
StackMap stack:
aload 4
ifnonnull 20
18: aload 8
astore 4
19: goto 24
20: StackMap locals:
StackMap stack:
aload 5
ifnonnull 23
21: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
22: aload 5
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
23: StackMap locals:
StackMap stack:
aload 5
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 24: StackMap locals:
StackMap stack:
iinc 6 -2
StackMap locals:
StackMap stack:
25: iload 6
ifgt 6
end local 6 26: aload 5
ifnull 28
27: aload 5
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
areturn
28: StackMap locals:
StackMap stack:
aload 4
ifnull 30
29: aload 4
invokestatic com.ctc.wstx.util.DataUtil.singletonIterator:(Ljava/lang/Object;)Ljava/util/Iterator;
areturn
30: StackMap locals:
StackMap stack:
invokestatic com.ctc.wstx.util.DataUtil.emptyIterator:()Ljava/util/Iterator;
areturn
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 31 0 this Lcom/ctc/wstx/sr/CompactNsContext;
0 31 1 nsURI Ljava/lang/String;
1 31 2 ns [Ljava/lang/String;
2 31 3 len I
3 31 4 first Ljava/lang/String;
4 31 5 all Ljava/util/ArrayList<Ljava/lang/String;>;
5 26 6 i I
7 24 7 currNS Ljava/lang/String;
9 24 8 prefix Ljava/lang/String;
10 15 9 j I
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljava/lang/String;>;
MethodParameters:
Name Flags
nsURI
public java.util.Iterator<javax.xml.stream.events.Namespace> getNamespaces();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsList:Ljava/util/ArrayList;
ifnonnull 19
1: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mFirstLocalNs:I
istore 1
start local 1 2: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
iload 1
isub
istore 2
start local 2 3: iload 2
ifne 5
4: invokestatic com.ctc.wstx.util.DataUtil.emptyIterator:()Ljava/util/Iterator;
areturn
5: StackMap locals: int int
StackMap stack:
iload 2
iconst_2
if_icmpne 10
6: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mLocation:Ljavax/xml/stream/Location;
7: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
iload 1
aaload
8: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
iload 1
iconst_1
iadd
aaload
9: invokestatic org.codehaus.stax2.ri.evt.NamespaceEventImpl.constructNamespace:(Ljavax/xml/stream/Location;Ljava/lang/String;Ljava/lang/String;)Lorg/codehaus/stax2/ri/evt/NamespaceEventImpl;
invokestatic com.ctc.wstx.util.DataUtil.singletonIterator:(Ljava/lang/Object;)Ljava/util/Iterator;
areturn
10: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
iload 2
iconst_1
ishr
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 11: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
astore 4
start local 4 12: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
istore 2
goto 17
13: StackMap locals: java.util.ArrayList java.lang.String[]
StackMap stack:
aload 3
aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mLocation:Ljavax/xml/stream/Location;
aload 4
iload 1
aaload
14: aload 4
iload 1
iconst_1
iadd
aaload
15: invokestatic org.codehaus.stax2.ri.evt.NamespaceEventImpl.constructNamespace:(Ljavax/xml/stream/Location;Ljava/lang/String;Ljava/lang/String;)Lorg/codehaus/stax2/ri/evt/NamespaceEventImpl;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
16: iinc 1 2
17: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 13
18: aload 0
aload 3
putfield com.ctc.wstx.sr.CompactNsContext.mNsList:Ljava/util/ArrayList;
end local 4 end local 3 end local 2 end local 1 19: StackMap locals: com.ctc.wstx.sr.CompactNsContext
StackMap stack:
aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/ctc/wstx/sr/CompactNsContext;
2 19 1 firstLocal I
3 19 2 len I
11 19 3 l Ljava/util/ArrayList<Ljavax/xml/stream/events/Namespace;>;
12 19 4 ns [Ljava/lang/String;
Signature: ()Ljava/util/Iterator<Ljavax/xml/stream/events/Namespace;>;
public void outputNamespaceDeclarations(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mFirstLocalNs:I
istore 3
start local 3 2: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
istore 4
start local 4 3: goto 14
4: StackMap locals: java.lang.String[] int int
StackMap stack:
aload 1
bipush 32
invokevirtual java.io.Writer.write:(I)V
5: aload 1
ldc "xmlns"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: aload 2
iload 3
aaload
astore 5
start local 5 7: aload 5
ifnull 10
aload 5
invokevirtual java.lang.String.length:()I
ifle 10
8: aload 1
bipush 58
invokevirtual java.io.Writer.write:(I)V
9: aload 1
aload 5
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
10: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "=\""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
11: aload 1
aload 2
iload 3
iconst_1
iadd
aaload
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
12: aload 1
bipush 34
invokevirtual java.io.Writer.write:(I)V
end local 5 13: iinc 3 2
StackMap locals:
StackMap stack:
14: iload 3
iload 4
if_icmplt 4
end local 4 end local 3 15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/ctc/wstx/sr/CompactNsContext;
0 16 1 w Ljava/io/Writer;
1 16 2 ns [Ljava/lang/String;
2 15 3 i I
3 15 4 len I
7 13 5 prefix Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
w
public void outputNamespaceDeclarations(javax.xml.stream.XMLStreamWriter);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNamespaces:[Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mFirstLocalNs:I
istore 3
start local 3 2: aload 0
getfield com.ctc.wstx.sr.CompactNsContext.mNsLength:I
istore 4
start local 4 3: goto 11
4: StackMap locals: java.lang.String[] int int
StackMap stack:
aload 2
iload 3
iconst_1
iadd
aaload
astore 5
start local 5 5: aload 2
iload 3
aaload
astore 6
start local 6 6: aload 6
ifnull 9
aload 6
invokevirtual java.lang.String.length:()I
ifle 9
7: aload 1
aload 6
aload 5
invokeinterface javax.xml.stream.XMLStreamWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
8: goto 10
9: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 1
aload 5
invokeinterface javax.xml.stream.XMLStreamWriter.writeDefaultNamespace:(Ljava/lang/String;)V
end local 6 end local 5 10: StackMap locals:
StackMap stack:
iinc 3 2
StackMap locals:
StackMap stack:
11: iload 3
iload 4
if_icmplt 4
end local 4 end local 3 12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/ctc/wstx/sr/CompactNsContext;
0 13 1 w Ljavax/xml/stream/XMLStreamWriter;
1 13 2 ns [Ljava/lang/String;
2 12 3 i I
3 12 4 len I
5 10 5 nsURI Ljava/lang/String;
6 10 6 prefix Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
}
SourceFile: "CompactNsContext.java"