class com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10 extends com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$PcdataImpl<java.awt.Image>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10
super_class: com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$PcdataImpl
{
void <init>(java.lang.Class, javax.xml.namespace.QName[]);
descriptor: (Ljava/lang/Class;[Ljavax/xml/namespace/QName;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$PcdataImpl.<init>:(Ljava/lang/Class;[Ljavax/xml/namespace/QName;)V
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl$10;
0 1 1 $anonymous0 Ljava/lang/Class;
0 1 2 $anonymous1 [Ljavax/xml/namespace/QName;
MethodParameters:
Name Flags
$anonymous0
$anonymous1
public java.awt.Image parse(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data
ifeq 3
1: aload 1
checkcast com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data
invokevirtual com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data.getInputStream:()Ljava/io/InputStream;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 1
invokestatic com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.decodeBase64:(Ljava/lang/CharSequence;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 2
start local 2 4: StackMap locals: java.io.InputStream
StackMap stack:
aload 2
invokestatic javax.imageio.ImageIO.read:(Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;
astore 4
5: aload 2
invokevirtual java.io.InputStream.close:()V
6: aload 4
areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
8: aload 2
invokevirtual java.io.InputStream.close:()V
9: aload 3
athrow
end local 2 10: StackMap locals: com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10 java.lang.CharSequence
StackMap stack: java.io.IOException
astore 2
start local 2 11: invokestatic com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.getInstance:()Lcom/sun/xml/internal/bind/v2/runtime/unmarshaller/UnmarshallingContext;
aload 2
invokevirtual com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError:(Ljava/lang/Exception;)V
12: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl$10;
0 13 1 text Ljava/lang/CharSequence;
2 3 2 is Ljava/io/InputStream;
4 10 2 is Ljava/io/InputStream;
11 13 2 e Ljava/io/IOException;
Exception table:
from to target type
4 5 7 any
0 6 10 Class java.io.IOException
7 10 10 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
text
private java.awt.image.BufferedImage convertToBufferedImage(java.awt.Image);
descriptor: (Ljava/awt/Image;)Ljava/awt/image/BufferedImage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.image.BufferedImage
ifeq 2
1: aload 1
checkcast java.awt.image.BufferedImage
areturn
2: StackMap locals:
StackMap stack:
new java.awt.MediaTracker
dup
new com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10$1
dup
aload 0
invokespecial com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10$1.<init>:(Lcom/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl$10;)V
invokespecial java.awt.MediaTracker.<init>:(Ljava/awt/Component;)V
astore 2
start local 2 3: aload 2
aload 1
iconst_0
invokevirtual java.awt.MediaTracker.addImage:(Ljava/awt/Image;I)V
4: aload 2
invokevirtual java.awt.MediaTracker.waitForAll:()V
5: goto 8
StackMap locals: com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10 java.awt.Image java.awt.MediaTracker
StackMap stack: java.lang.InterruptedException
6: astore 3
start local 3 7: new java.io.IOException
dup
aload 3
invokevirtual java.lang.InterruptedException.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 3 8: StackMap locals:
StackMap stack:
new java.awt.image.BufferedImage
dup
9: aload 1
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
10: aload 1
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
11: iconst_2
12: invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 3
start local 3 13: aload 3
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 4
start local 4 14: aload 4
aload 1
iconst_0
iconst_0
aconst_null
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
pop
15: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl$10;
0 16 1 image Ljava/awt/Image;
3 16 2 tracker Ljava/awt/MediaTracker;
7 8 3 e Ljava/lang/InterruptedException;
13 16 3 bufImage Ljava/awt/image/BufferedImage;
14 16 4 g Ljava/awt/Graphics;
Exception table:
from to target type
4 5 6 Class java.lang.InterruptedException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
image
public com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data print(java.awt.Image);
descriptor: (Ljava/awt/Image;)Lcom/sun/xml/internal/bind/v2/runtime/unmarshaller/Base64Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=2
start local 0 start local 1 0: new com.sun.xml.internal.bind.v2.util.ByteArrayOutputStreamEx
dup
invokespecial com.sun.xml.internal.bind.v2.util.ByteArrayOutputStreamEx.<init>:()V
astore 2
start local 2 1: invokestatic com.sun.xml.internal.bind.v2.runtime.XMLSerializer.getInstance:()Lcom/sun/xml/internal/bind/v2/runtime/XMLSerializer;
astore 3
start local 3 2: aload 3
invokevirtual com.sun.xml.internal.bind.v2.runtime.XMLSerializer.getXMIMEContentType:()Ljava/lang/String;
astore 4
start local 4 3: aload 4
ifnull 4
aload 4
ldc "image/*"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
4: StackMap locals: com.sun.xml.internal.bind.v2.util.ByteArrayOutputStreamEx com.sun.xml.internal.bind.v2.runtime.XMLSerializer java.lang.String
StackMap stack:
ldc "image/png"
astore 4
5: StackMap locals:
StackMap stack:
aload 4
invokestatic javax.imageio.ImageIO.getImageWritersByMIMEType:(Ljava/lang/String;)Ljava/util/Iterator;
astore 5
start local 5 6: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 14
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.ImageWriter
astore 6
start local 6 8: aload 2
invokestatic javax.imageio.ImageIO.createImageOutputStream:(Ljava/lang/Object;)Ljavax/imageio/stream/ImageOutputStream;
astore 7
start local 7 9: aload 6
aload 7
invokevirtual javax.imageio.ImageWriter.setOutput:(Ljava/lang/Object;)V
10: aload 6
aload 0
aload 1
invokevirtual com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10.convertToBufferedImage:(Ljava/awt/Image;)Ljava/awt/image/BufferedImage;
invokevirtual javax.imageio.ImageWriter.write:(Ljava/awt/image/RenderedImage;)V
11: aload 7
invokeinterface javax.imageio.stream.ImageOutputStream.close:()V
12: aload 6
invokevirtual javax.imageio.ImageWriter.dispose:()V
end local 7 end local 6 13: goto 23
14: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
new javax.xml.bind.helpers.ValidationEventImpl
dup
15: iconst_1
16: getstatic com.sun.xml.internal.bind.v2.model.impl.Messages.NO_IMAGE_WRITER:Lcom/sun/xml/internal/bind/v2/model/impl/Messages;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual com.sun.xml.internal.bind.v2.model.impl.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
17: aload 3
aconst_null
invokevirtual com.sun.xml.internal.bind.v2.runtime.XMLSerializer.getCurrentLocation:(Ljava/lang/String;)Ljavax/xml/bind/ValidationEventLocator;
invokespecial javax.xml.bind.helpers.ValidationEventImpl.<init>:(ILjava/lang/String;Ljavax/xml/bind/ValidationEventLocator;)V
18: invokevirtual com.sun.xml.internal.bind.v2.runtime.XMLSerializer.handleEvent:(Ljavax/xml/bind/ValidationEvent;)Z
pop
19: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "no encoder for MIME type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 5 20: StackMap locals: com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10 java.awt.Image com.sun.xml.internal.bind.v2.util.ByteArrayOutputStreamEx com.sun.xml.internal.bind.v2.runtime.XMLSerializer java.lang.String
StackMap stack: java.io.IOException
astore 5
start local 5 21: aload 3
aload 5
invokevirtual com.sun.xml.internal.bind.v2.runtime.XMLSerializer.handleError:(Ljava/lang/Exception;)Z
pop
22: new java.lang.RuntimeException
dup
aload 5
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 23: StackMap locals:
StackMap stack:
new com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data
dup
invokespecial com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data.<init>:()V
astore 5
start local 5 24: aload 2
aload 5
aload 4
invokevirtual com.sun.xml.internal.bind.v2.util.ByteArrayOutputStreamEx.set:(Lcom/sun/xml/internal/bind/v2/runtime/unmarshaller/Base64Data;Ljava/lang/String;)V
25: aload 5
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 26 0 this Lcom/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl$10;
0 26 1 v Ljava/awt/Image;
1 26 2 imageData Lcom/sun/xml/internal/bind/v2/util/ByteArrayOutputStreamEx;
2 26 3 xs Lcom/sun/xml/internal/bind/v2/runtime/XMLSerializer;
3 26 4 mimeType Ljava/lang/String;
6 20 5 itr Ljava/util/Iterator<Ljavax/imageio/ImageWriter;>;
8 13 6 w Ljavax/imageio/ImageWriter;
9 13 7 os Ljavax/imageio/stream/ImageOutputStream;
21 23 5 e Ljava/io/IOException;
24 26 5 bd Lcom/sun/xml/internal/bind/v2/runtime/unmarshaller/Base64Data;
Exception table:
from to target type
5 20 20 Class java.io.IOException
MethodParameters:
Name Flags
v
public java.lang.Object parse(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10.parse:(Ljava/lang/CharSequence;)Ljava/awt/Image;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws com.sun.xml.internal.bind.api.AccessorException, org.xml.sax.SAXException
public com.sun.xml.internal.bind.v2.runtime.output.Pcdata print(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/sun/xml/internal/bind/v2/runtime/output/Pcdata;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.awt.Image
invokevirtual com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10.print:(Ljava/awt/Image;)Lcom/sun/xml/internal/bind/v2/runtime/unmarshaller/Base64Data;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws com.sun.xml.internal.bind.api.AccessorException
public java.lang.CharSequence print(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/CharSequence;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.awt.Image
invokevirtual com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10.print:(Ljava/awt/Image;)Lcom/sun/xml/internal/bind/v2/runtime/unmarshaller/Base64Data;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws com.sun.xml.internal.bind.api.AccessorException
}
Signature: Lcom/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl$PcdataImpl<Ljava/awt/Image;>;
SourceFile: "RuntimeBuiltinLeafInfoImpl.java"
EnclosingMethod: com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl
NestHost: com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl
InnerClasses:
com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10
com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$10$1
private abstract PcdataImpl = com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$PcdataImpl of com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl