public final class com.sun.xml.internal.bind.v2.util.DataSourceSource extends javax.xml.transform.stream.StreamSource
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.bind.v2.util.DataSourceSource
super_class: javax.xml.transform.stream.StreamSource
{
private final javax.activation.DataSource source;
descriptor: Ljavax/activation/DataSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String charset;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.io.Reader r;
descriptor: Ljava/io/Reader;
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream is;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.activation.DataHandler);
descriptor: (Ljavax/activation/DataHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.activation.DataHandler.getDataSource:()Ljavax/activation/DataSource;
invokespecial com.sun.xml.internal.bind.v2.util.DataSourceSource.<init>:(Ljavax/activation/DataSource;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/bind/v2/util/DataSourceSource;
0 2 1 dh Ljavax/activation/DataHandler;
Exceptions:
throws javax.activation.MimeTypeParseException
MethodParameters:
Name Flags
dh
public void <init>(javax.activation.DataSource);
descriptor: (Ljavax/activation/DataSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.xml.transform.stream.StreamSource.<init>:()V
1: aload 0
aload 1
putfield com.sun.xml.internal.bind.v2.util.DataSourceSource.source:Ljavax/activation/DataSource;
2: aload 1
invokeinterface javax.activation.DataSource.getContentType:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnonnull 6
4: aload 0
aconst_null
putfield com.sun.xml.internal.bind.v2.util.DataSourceSource.charset:Ljava/lang/String;
5: goto 8
6: StackMap locals: com.sun.xml.internal.bind.v2.util.DataSourceSource javax.activation.DataSource java.lang.String
StackMap stack:
new javax.activation.MimeType
dup
aload 2
invokespecial javax.activation.MimeType.<init>:(Ljava/lang/String;)V
astore 3
start local 3 7: aload 0
aload 3
ldc "charset"
invokevirtual javax.activation.MimeType.getParameter:(Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.xml.internal.bind.v2.util.DataSourceSource.charset:Ljava/lang/String;
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/xml/internal/bind/v2/util/DataSourceSource;
0 9 1 source Ljavax/activation/DataSource;
3 9 2 ct Ljava/lang/String;
7 8 3 mimeType Ljavax/activation/MimeType;
Exceptions:
throws javax.activation.MimeTypeParseException
MethodParameters:
Name Flags
source
public void setReader(java.io.Reader);
descriptor: (Ljava/io/Reader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/bind/v2/util/DataSourceSource;
0 1 1 reader Ljava/io/Reader;
MethodParameters:
Name Flags
reader
public void setInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/bind/v2/util/DataSourceSource;
0 1 1 inputStream Ljava/io/InputStream;
MethodParameters:
Name Flags
inputStream
public java.io.Reader getReader();
descriptor: ()Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.charset:Ljava/lang/String;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.r:Ljava/io/Reader;
ifnonnull 4
3: aload 0
new java.io.InputStreamReader
dup
aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.source:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.charset:Ljava/lang/String;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
putfield com.sun.xml.internal.bind.v2.util.DataSourceSource.r:Ljava/io/Reader;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.r:Ljava/io/Reader;
5: areturn
6: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 7: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/bind/v2/util/DataSourceSource;
7 8 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 6 Class java.io.IOException
2 5 6 Class java.io.IOException
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.charset:Ljava/lang/String;
ifnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.is:Ljava/io/InputStream;
ifnonnull 4
3: aload 0
aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.source:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
putfield com.sun.xml.internal.bind.v2.util.DataSourceSource.is:Ljava/io/InputStream;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.is:Ljava/io/InputStream;
5: areturn
6: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 7: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/bind/v2/util/DataSourceSource;
7 8 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 6 Class java.io.IOException
2 5 6 Class java.io.IOException
public javax.activation.DataSource getDataSource();
descriptor: ()Ljavax/activation/DataSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.bind.v2.util.DataSourceSource.source:Ljavax/activation/DataSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/bind/v2/util/DataSourceSource;
}
SourceFile: "DataSourceSource.java"