class com.sun.imageio.plugins.gif.GIFWritableImageMetadata extends com.sun.imageio.plugins.gif.GIFImageMetadata
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.imageio.plugins.gif.GIFWritableImageMetadata
super_class: com.sun.imageio.plugins.gif.GIFImageMetadata
{
static final java.lang.String NATIVE_FORMAT_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "javax_imageio_gif_image_1.0"
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
1: ldc "javax_imageio_gif_image_1.0"
2: ldc "com.sun.imageio.plugins.gif.GIFImageMetadataFormat"
3: aconst_null
aconst_null
invokespecial com.sun.imageio.plugins.gif.GIFImageMetadata.<init>:(ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
public boolean isReadOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageLeftPosition:I
1: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageTopPosition:I
2: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageWidth:I
3: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageHeight:I
4: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
5: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.sortFlag:Z
6: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
7: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.disposalMethod:I
8: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.userInputFlag:Z
9: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
10: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.delayTime:I
11: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorIndex:I
12: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.hasPlainTextExtension:Z
13: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridLeft:I
14: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridTop:I
15: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridWidth:I
16: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridHeight:I
17: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.characterCellWidth:I
18: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.characterCellHeight:I
19: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textForegroundColor:I
20: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textBackgroundColor:I
21: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.text:[B
22: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationIDs:Ljava/util/List;
23: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.authenticationCodes:Ljava/util/List;
24: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationData:Ljava/util/List;
25: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
26: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
private byte[] fromISO8859(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "ISO-8859-1"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
1: areturn
2: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
pop
3: ldc ""
invokevirtual java.lang.String.getBytes:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
0 4 1 data Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
data
protected void mergeNativeTree(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=8, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 2
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
ldc "javax_imageio_gif_image_1.0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 2
ldc "Root must be javax_imageio_gif_image_1.0"
invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
4: goto 177
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ldc "ImageDescriptor"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
7: aload 0
aload 2
8: ldc "imageLeftPosition"
9: iconst_m1
iconst_1
10: iconst_1
iconst_0
ldc 65535
11: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageLeftPosition:I
12: aload 0
aload 2
13: ldc "imageTopPosition"
14: iconst_m1
iconst_1
15: iconst_1
iconst_0
ldc 65535
16: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageTopPosition:I
17: aload 0
aload 2
18: ldc "imageWidth"
19: iconst_m1
iconst_1
20: iconst_1
iconst_1
ldc 65535
21: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageWidth:I
22: aload 0
aload 2
23: ldc "imageHeight"
24: iconst_m1
iconst_1
25: iconst_1
iconst_1
ldc 65535
26: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageHeight:I
27: aload 0
aload 2
ldc "interlaceFlag"
28: iconst_0
iconst_1
29: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getBooleanAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;ZZ)Z
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
30: goto 176
StackMap locals: java.lang.String
StackMap stack:
31: aload 3
ldc "LocalColorTable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 52
32: aload 2
ldc "sizeOfLocalColorTable"
33: iconst_1
iconst_2
sipush 256
34: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;ZII)I
35: istore 4
start local 4 36: iload 4
iconst_2
if_icmpeq 47
37: iload 4
iconst_4
if_icmpeq 47
38: iload 4
bipush 8
if_icmpeq 47
39: iload 4
bipush 16
if_icmpeq 47
40: iload 4
bipush 32
if_icmpeq 47
41: iload 4
bipush 64
if_icmpeq 47
42: iload 4
sipush 128
if_icmpeq 47
43: iload 4
sipush 256
if_icmpeq 47
44: aload 2
45: ldc "Bad value for LocalColorTable attribute sizeOfLocalColorTable!"
46: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
47: StackMap locals: int
StackMap stack:
aload 0
aload 2
ldc "sortFlag"
iconst_0
iconst_1
invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getBooleanAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;ZZ)Z
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.sortFlag:Z
48: aload 0
aload 0
aload 2
ldc "ColorTableEntry"
49: iconst_1
iload 4
50: invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getColorTable:(Lorg/w3c/dom/Node;Ljava/lang/String;ZI)[B
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
end local 4 51: goto 176
StackMap locals:
StackMap stack:
52: aload 3
ldc "GraphicControlExtension"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 81
53: aload 2
ldc "disposalMethod"
aconst_null
54: iconst_1
getstatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.disposalMethodNames:[Ljava/lang/String;
55: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getStringAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;Z[Ljava/lang/String;)Ljava/lang/String;
56: astore 4
start local 4 57: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.disposalMethod:I
58: goto 60
59: StackMap locals: java.lang.String
StackMap stack:
aload 0
dup
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.disposalMethod:I
iconst_1
iadd
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.disposalMethod:I
60: StackMap locals:
StackMap stack:
aload 4
getstatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.disposalMethodNames:[Ljava/lang/String;
aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.disposalMethod:I
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 59
61: aload 0
aload 2
ldc "userInputFlag"
62: iconst_0
iconst_1
63: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getBooleanAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;ZZ)Z
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.userInputFlag:Z
64: aload 0
65: aload 2
ldc "transparentColorFlag"
66: iconst_0
iconst_1
67: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getBooleanAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;ZZ)Z
68: putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
69: aload 0
aload 2
70: ldc "delayTime"
71: iconst_m1
iconst_1
72: iconst_1
iconst_0
ldc 65535
73: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.delayTime:I
74: aload 0
75: aload 2
ldc "transparentColorIndex"
76: iconst_m1
iconst_1
77: iconst_1
iconst_0
ldc 65535
78: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
79: putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorIndex:I
end local 4 80: goto 176
StackMap locals:
StackMap stack:
81: aload 3
ldc "PlainTextExtension"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 127
82: aload 0
iconst_1
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.hasPlainTextExtension:Z
83: aload 0
aload 2
84: ldc "textGridLeft"
85: iconst_m1
iconst_1
86: iconst_1
iconst_0
ldc 65535
87: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridLeft:I
88: aload 0
aload 2
89: ldc "textGridTop"
90: iconst_m1
iconst_1
91: iconst_1
iconst_0
ldc 65535
92: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridTop:I
93: aload 0
aload 2
94: ldc "textGridWidth"
95: iconst_m1
iconst_1
96: iconst_1
iconst_1
ldc 65535
97: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridWidth:I
98: aload 0
aload 2
99: ldc "textGridHeight"
100: iconst_m1
iconst_1
101: iconst_1
iconst_1
ldc 65535
102: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridHeight:I
103: aload 0
aload 2
104: ldc "characterCellWidth"
105: iconst_m1
iconst_1
106: iconst_1
iconst_1
sipush 255
107: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.characterCellWidth:I
108: aload 0
aload 2
109: ldc "characterCellHeight"
110: iconst_m1
iconst_1
111: iconst_1
iconst_1
sipush 255
112: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.characterCellHeight:I
113: aload 0
aload 2
114: ldc "textForegroundColor"
115: iconst_m1
iconst_1
116: iconst_1
iconst_0
sipush 255
117: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textForegroundColor:I
118: aload 0
aload 2
119: ldc "textBackgroundColor"
120: iconst_m1
iconst_1
121: iconst_1
iconst_0
sipush 255
122: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textBackgroundColor:I
123: aload 2
ldc "text"
ldc ""
iconst_0
aconst_null
invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getStringAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;Z[Ljava/lang/String;)Ljava/lang/String;
124: astore 4
start local 4 125: aload 0
aload 0
aload 4
invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fromISO8859:(Ljava/lang/String;)[B
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.text:[B
end local 4 126: goto 176
StackMap locals:
StackMap stack:
127: aload 3
ldc "ApplicationExtensions"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 157
128: aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
checkcast javax.imageio.metadata.IIOMetadataNode
129: astore 4
start local 4 130: aload 4
invokevirtual javax.imageio.metadata.IIOMetadataNode.getNodeName:()Ljava/lang/String;
ldc "ApplicationExtension"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 134
131: aload 2
132: ldc "Only a ApplicationExtension may be a child of a ApplicationExtensions!"
133: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
134: StackMap locals: javax.imageio.metadata.IIOMetadataNode
StackMap stack:
aload 4
ldc "applicationID"
135: aconst_null
iconst_1
aconst_null
136: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getStringAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;Z[Ljava/lang/String;)Ljava/lang/String;
137: astore 5
start local 5 138: aload 4
ldc "authenticationCode"
139: aconst_null
iconst_1
aconst_null
140: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getStringAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;Z[Ljava/lang/String;)Ljava/lang/String;
141: astore 6
start local 6 142: aload 4
invokevirtual javax.imageio.metadata.IIOMetadataNode.getUserObject:()Ljava/lang/Object;
143: astore 7
start local 7 144: aload 7
ifnull 146
145: aload 7
instanceof byte[]
ifne 149
146: StackMap locals: java.lang.String java.lang.String java.lang.Object
StackMap stack:
aload 4
147: ldc "Bad user object in ApplicationExtension!"
148: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
149: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationIDs:Ljava/util/List;
ifnonnull 153
150: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationIDs:Ljava/util/List;
151: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.authenticationCodes:Ljava/util/List;
152: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationData:Ljava/util/List;
153: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationIDs:Ljava/util/List;
aload 0
aload 5
invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fromISO8859:(Ljava/lang/String;)[B
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
154: aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.authenticationCodes:Ljava/util/List;
aload 0
aload 6
invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fromISO8859:(Ljava/lang/String;)[B
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
155: aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationData:Ljava/util/List;
aload 7
checkcast byte[]
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 5 end local 4 156: goto 176
StackMap locals: com.sun.imageio.plugins.gif.GIFWritableImageMetadata org.w3c.dom.Node org.w3c.dom.Node java.lang.String
StackMap stack:
157: aload 3
ldc "CommentExtensions"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 175
158: aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 159: aload 4
ifnull 176
160: goto 173
161: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
ldc "CommentExtension"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 165
162: aload 2
163: ldc "Only a CommentExtension may be a child of a CommentExtensions!"
164: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
165: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
ifnonnull 167
166: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
167: StackMap locals:
StackMap stack:
aload 4
ldc "value"
aconst_null
168: iconst_1
aconst_null
169: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getStringAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;Z[Ljava/lang/String;)Ljava/lang/String;
170: astore 5
start local 5 171: aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
aload 0
aload 5
invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fromISO8859:(Ljava/lang/String;)[B
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
172: aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
end local 5 173: StackMap locals:
StackMap stack:
aload 4
ifnonnull 161
end local 4 174: goto 176
175: StackMap locals:
StackMap stack:
aload 2
ldc "Unknown child of root node!"
invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
176: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
end local 3 177: StackMap locals:
StackMap stack:
aload 2
ifnonnull 5
178: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 179 0 this Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
0 179 1 root Lorg/w3c/dom/Node;
1 179 2 node Lorg/w3c/dom/Node;
6 177 3 name Ljava/lang/String;
36 51 4 sizeOfLocalColorTable I
57 80 4 disposalMethodName Ljava/lang/String;
125 126 4 textString Ljava/lang/String;
130 156 4 applicationExtension Ljavax/imageio/metadata/IIOMetadataNode;
138 156 5 applicationIDString Ljava/lang/String;
142 156 6 authenticationCodeString Ljava/lang/String;
144 156 7 applicationExtensionData Ljava/lang/Object;
159 174 4 commentExtension Lorg/w3c/dom/Node;
171 173 5 comment Ljava/lang/String;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
root
protected void mergeStandardTree(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=8, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 2
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
2: ldc "javax_imageio_1.0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 2
ldc "Root must be javax_imageio_1.0"
invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
4: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
5: goto 93
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 3
start local 3 7: aload 3
ldc "Chroma"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
8: aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 9: goto 18
10: StackMap locals: java.lang.String org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 5
start local 5 11: aload 5
ldc "Palette"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
12: aload 0
aload 0
aload 4
13: ldc "PaletteEntry"
14: iconst_0
iconst_m1
15: invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getColorTable:(Lorg/w3c/dom/Node;Ljava/lang/String;ZI)[B
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
16: goto 92
17: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
end local 5 18: StackMap locals:
StackMap stack:
aload 4
ifnonnull 10
end local 4 19: goto 92
StackMap locals:
StackMap stack:
20: aload 3
ldc "Compression"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
21: aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 22: goto 33
23: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 5
start local 5 24: aload 5
ldc "NumProgressiveScans"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
25: aload 4
ldc "value"
iconst_4
iconst_0
26: iconst_1
iconst_1
ldc 2147483647
27: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
28: istore 6
start local 6 29: iload 6
iconst_1
if_icmple 92
30: aload 0
iconst_1
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
31: goto 92
end local 6 32: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
end local 5 33: StackMap locals:
StackMap stack:
aload 4
ifnonnull 23
end local 4 34: goto 92
StackMap locals:
StackMap stack:
35: aload 3
ldc "Dimension"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 55
36: aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 37: goto 53
38: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 5
start local 5 39: aload 5
ldc "HorizontalPixelOffset"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
40: aload 0
aload 4
41: ldc "value"
42: iconst_m1
iconst_1
43: iconst_1
iconst_0
ldc 65535
44: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageLeftPosition:I
45: goto 52
StackMap locals: java.lang.String
StackMap stack:
46: aload 5
ldc "VerticalPixelOffset"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 52
47: aload 0
aload 4
48: ldc "value"
49: iconst_m1
iconst_1
50: iconst_1
iconst_0
ldc 65535
51: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageTopPosition:I
52: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
end local 5 53: StackMap locals:
StackMap stack:
aload 4
ifnonnull 38
end local 4 54: goto 92
StackMap locals:
StackMap stack:
55: aload 3
ldc "Text"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 78
56: aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 57: goto 76
58: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 5
start local 5 59: aload 5
ldc "TextEntry"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 75
60: aload 4
ldc "compression"
61: ldc "none"
iconst_0
62: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
63: ldc "none"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 75
64: aload 4
65: ldc "encoding"
66: ldc "ISO-8859-1"
67: iconst_0
68: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
invokestatic java.nio.charset.Charset.isSupported:(Ljava/lang/String;)Z
69: ifeq 75
70: aload 4
ldc "value"
invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 71: aload 0
aload 6
invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.fromISO8859:(Ljava/lang/String;)[B
astore 7
start local 7 72: aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
ifnonnull 74
73: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
74: StackMap locals: java.lang.String java.lang.String byte[]
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 75: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
end local 5 76: StackMap locals:
StackMap stack:
aload 4
ifnonnull 58
end local 4 77: goto 92
StackMap locals:
StackMap stack:
78: aload 3
ldc "Transparency"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 92
79: aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 80: goto 91
81: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 5
start local 5 82: aload 5
ldc "TransparentIndex"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 90
83: aload 0
aload 4
84: ldc "value"
85: iconst_m1
iconst_1
86: iconst_1
iconst_0
sipush 255
87: invokestatic com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getIntAttribute:(Lorg/w3c/dom/Node;Ljava/lang/String;IZZII)I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorIndex:I
88: aload 0
iconst_1
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
89: goto 92
90: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
end local 5 91: StackMap locals:
StackMap stack:
aload 4
ifnonnull 81
end local 4 92: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
end local 3 93: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
94: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 95 0 this Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
0 95 1 root Lorg/w3c/dom/Node;
1 95 2 node Lorg/w3c/dom/Node;
7 93 3 name Ljava/lang/String;
9 19 4 childNode Lorg/w3c/dom/Node;
11 18 5 childName Ljava/lang/String;
22 34 4 childNode Lorg/w3c/dom/Node;
24 33 5 childName Ljava/lang/String;
29 32 6 numProgressiveScans I
37 54 4 childNode Lorg/w3c/dom/Node;
39 53 5 childName Ljava/lang/String;
57 77 4 childNode Lorg/w3c/dom/Node;
59 76 5 childName Ljava/lang/String;
71 75 6 value Ljava/lang/String;
72 75 7 comment [B
80 92 4 childNode Lorg/w3c/dom/Node;
82 91 5 childName Ljava/lang/String;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
root
public void setFromTree(java.lang.String, org.w3c.dom.Node);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.reset:()V
1: aload 0
aload 1
aload 2
invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.mergeTree:(Ljava/lang/String;Lorg/w3c/dom/Node;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
0 3 1 formatName Ljava/lang/String;
0 3 2 root Lorg/w3c/dom/Node;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
formatName
root
}
SourceFile: "GIFWritableImageMetadata.java"