public final class com.ctc.wstx.io.DefaultInputResolver
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.io.DefaultInputResolver
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/io/DefaultInputResolver;
public static com.ctc.wstx.io.WstxInputSource resolveEntity(com.ctc.wstx.io.WstxInputSource, java.net.URL, java.lang.String, java.lang.String, java.lang.String, javax.xml.stream.XMLResolver, com.ctc.wstx.api.ReaderConfig, int);
descriptor: (Lcom/ctc/wstx/io/WstxInputSource;Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/xml/stream/XMLResolver;Lcom/ctc/wstx/api/ReaderConfig;I)Lcom/ctc/wstx/io/WstxInputSource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 1
ifnonnull 4
1: aload 0
invokevirtual com.ctc.wstx.io.WstxInputSource.getSource:()Ljava/net/URL;
astore 1
2: aload 1
ifnonnull 4
3: invokestatic com.ctc.wstx.util.URLUtil.urlFromCurrentDir:()Ljava/net/URL;
astore 1
4: StackMap locals:
StackMap stack:
aload 5
ifnull 8
5: aload 5
aload 3
aload 4
aload 1
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
aload 2
invokeinterface javax.xml.stream.XMLResolver.resolveEntity:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
astore 8
start local 8 6: aload 8
ifnull 8
7: aload 0
aload 6
aload 2
iload 7
aload 8
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFrom:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/lang/Object;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
end local 8 8: StackMap locals:
StackMap stack:
aload 4
ifnonnull 15
9: new javax.xml.stream.XMLStreamException
dup
new java.lang.StringBuilder
dup
ldc "Can not resolve "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 2
ifnonnull 11
ldc "[External DTD subset]"
goto 12
StackMap locals: com.ctc.wstx.io.WstxInputSource java.net.URL java.lang.String java.lang.String java.lang.String javax.xml.stream.XMLResolver com.ctc.wstx.api.ReaderConfig int
StackMap stack: new 9 new 9 java.lang.StringBuilder
11: new java.lang.StringBuilder
dup
ldc "entity '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.ctc.wstx.io.WstxInputSource java.net.URL java.lang.String java.lang.String java.lang.String javax.xml.stream.XMLResolver com.ctc.wstx.api.ReaderConfig int
StackMap stack: new 9 new 9 java.lang.StringBuilder java.lang.String
12: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " without a system id (public id '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "')"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 4
aload 1
invokestatic com.ctc.wstx.util.URLUtil.urlFromSystemId:(Ljava/lang/String;Ljava/net/URL;)Ljava/net/URL;
astore 8
start local 8 16: aload 0
aload 6
aload 2
iload 7
aload 8
aload 3
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFromURL:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/net/URL;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
end local 8 end local 7 end local 6 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 17 0 parent Lcom/ctc/wstx/io/WstxInputSource;
0 17 1 pathCtxt Ljava/net/URL;
0 17 2 entityName Ljava/lang/String;
0 17 3 publicId Ljava/lang/String;
0 17 4 systemId Ljava/lang/String;
0 17 5 customResolver Ljavax/xml/stream/XMLResolver;
0 17 6 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 17 7 xmlVersion I
6 8 8 source Ljava/lang/Object;
16 17 8 url Ljava/net/URL;
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
parent
pathCtxt
entityName
publicId
systemId
customResolver
cfg
xmlVersion
public static com.ctc.wstx.io.WstxInputSource resolveEntityUsing(com.ctc.wstx.io.WstxInputSource, java.lang.String, java.lang.String, java.lang.String, javax.xml.stream.XMLResolver, com.ctc.wstx.api.ReaderConfig, int);
descriptor: (Lcom/ctc/wstx/io/WstxInputSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/xml/stream/XMLResolver;Lcom/ctc/wstx/api/ReaderConfig;I)Lcom/ctc/wstx/io/WstxInputSource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual com.ctc.wstx.io.WstxInputSource.getSource:()Ljava/net/URL;
StackMap locals:
StackMap stack: java.net.URL
2: astore 7
start local 7 3: aload 7
ifnonnull 5
4: invokestatic com.ctc.wstx.util.URLUtil.urlFromCurrentDir:()Ljava/net/URL;
astore 7
5: StackMap locals: java.net.URL
StackMap stack:
aload 4
aload 2
aload 3
aload 7
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
aload 1
invokeinterface javax.xml.stream.XMLResolver.resolveEntity:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
astore 8
start local 8 6: aload 8
ifnonnull 7
aconst_null
goto 8
StackMap locals: java.lang.Object
StackMap stack:
7: aload 0
aload 5
aload 1
iload 6
aload 8
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFrom:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/lang/Object;)Lcom/ctc/wstx/io/WstxInputSource;
StackMap locals:
StackMap stack: com.ctc.wstx.io.WstxInputSource
8: areturn
end local 8 end local 7 end local 6 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 9 0 refCtxt Lcom/ctc/wstx/io/WstxInputSource;
0 9 1 entityName Ljava/lang/String;
0 9 2 publicId Ljava/lang/String;
0 9 3 systemId Ljava/lang/String;
0 9 4 resolver Ljavax/xml/stream/XMLResolver;
0 9 5 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 9 6 xmlVersion I
3 9 7 ctxt Ljava/net/URL;
6 9 8 source Ljava/lang/Object;
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
refCtxt
entityName
publicId
systemId
resolver
cfg
xmlVersion
protected static com.ctc.wstx.io.WstxInputSource sourceFrom(com.ctc.wstx.io.WstxInputSource, com.ctc.wstx.api.ReaderConfig, java.lang.String, int, java.lang.Object);
descriptor: (Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/lang/Object;)Lcom/ctc/wstx/io/WstxInputSource;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
instanceof javax.xml.transform.Source
ifeq 4
1: aload 4
instanceof javax.xml.transform.stream.StreamSource
ifeq 3
2: aload 0
aload 1
aload 2
iload 3
aload 4
checkcast javax.xml.transform.stream.StreamSource
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFromSS:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjavax/xml/transform/stream/StreamSource;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Can not use other Source objects than StreamSource: got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 4
instanceof java.net.URL
ifeq 6
5: aload 0
aload 1
aload 2
iload 3
aload 4
checkcast java.net.URL
aconst_null
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFromURL:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/net/URL;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
6: StackMap locals:
StackMap stack:
aload 4
instanceof java.io.InputStream
ifeq 8
7: aload 0
aload 1
aload 2
iload 3
aload 4
checkcast java.io.InputStream
aconst_null
aconst_null
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFromIS:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
8: StackMap locals:
StackMap stack:
aload 4
instanceof java.io.Reader
ifeq 10
9: aload 0
aload 1
aload 2
iload 3
aload 4
checkcast java.io.Reader
aconst_null
aconst_null
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFromR:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/io/Reader;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
10: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.String
ifeq 12
11: aload 0
aload 1
aload 2
iload 3
aload 4
checkcast java.lang.String
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFromString:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
12: StackMap locals:
StackMap stack:
aload 4
instanceof java.io.File
ifeq 15
13: aload 4
checkcast java.io.File
invokestatic com.ctc.wstx.util.URLUtil.toURL:(Ljava/io/File;)Ljava/net/URL;
astore 5
start local 5 14: aload 0
aload 1
aload 2
iload 3
aload 5
aconst_null
invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFromURL:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/net/URL;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
end local 5 15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized input argument type for sourceFrom(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 parent Lcom/ctc/wstx/io/WstxInputSource;
0 16 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 16 2 refName Ljava/lang/String;
0 16 3 xmlVersion I
0 16 4 o Ljava/lang/Object;
14 15 5 u Ljava/net/URL;
Exceptions:
throws java.lang.IllegalArgumentException, java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
parent
cfg
refName
xmlVersion
o
public static java.io.Reader constructOptimizedReader(com.ctc.wstx.api.ReaderConfig, java.io.InputStream, boolean, java.lang.String);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;ZLjava/lang/String;)Ljava/io/Reader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.ctc.wstx.api.ReaderConfig.getInputBufferLength:()I
istore 4
start local 4 1: aload 3
invokestatic com.ctc.wstx.io.CharsetNames.normalize:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 2: iconst_1
istore 7
start local 7 3: aload 5
ldc "UTF-8"
if_acmpne 6
4: new com.ctc.wstx.io.UTF8Reader
dup
aload 0
aload 1
aload 0
iload 4
invokevirtual com.ctc.wstx.api.ReaderConfig.allocFullBBuffer:(I)[B
iconst_0
iconst_0
iload 7
invokespecial com.ctc.wstx.io.UTF8Reader.<init>:(Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZ)V
astore 6
start local 6 5: goto 22
end local 6 StackMap locals: com.ctc.wstx.api.ReaderConfig java.io.InputStream int java.lang.String int java.lang.String top int
StackMap stack:
6: aload 5
ldc "ISO-8859-1"
if_acmpne 9
7: new com.ctc.wstx.io.ISOLatinReader
dup
aload 0
aload 1
aload 0
iload 4
invokevirtual com.ctc.wstx.api.ReaderConfig.allocFullBBuffer:(I)[B
iconst_0
iconst_0
iload 7
invokespecial com.ctc.wstx.io.ISOLatinReader.<init>:(Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZ)V
astore 6
start local 6 8: goto 22
end local 6 StackMap locals:
StackMap stack:
9: aload 5
ldc "US-ASCII"
if_acmpne 12
10: new com.ctc.wstx.io.AsciiReader
dup
aload 0
aload 1
aload 0
iload 4
invokevirtual com.ctc.wstx.api.ReaderConfig.allocFullBBuffer:(I)[B
iconst_0
iconst_0
iload 7
invokespecial com.ctc.wstx.io.AsciiReader.<init>:(Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZ)V
astore 6
start local 6 11: goto 22
end local 6 StackMap locals:
StackMap stack:
12: aload 5
ldc "UTF-32"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 18
13: aload 5
ldc "UTF-32BE"
if_acmpne 14
iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 8
start local 8 16: new com.ctc.wstx.io.UTF32Reader
dup
aload 0
aload 1
aload 0
iload 4
invokevirtual com.ctc.wstx.api.ReaderConfig.allocFullBBuffer:(I)[B
iconst_0
iconst_0
iload 7
iload 8
invokespecial com.ctc.wstx.io.UTF32Reader.<init>:(Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZZ)V
astore 6
end local 8 start local 6 17: goto 22
end local 6 18: StackMap locals:
StackMap stack:
new java.io.InputStreamReader
dup
aload 1
aload 3
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
19: areturn
20: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 8
start local 8 21: new javax.xml.stream.XMLStreamException
dup
new java.lang.StringBuilder
dup
ldc "[unsupported encoding]: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
end local 8 start local 6 22: StackMap locals: com.ctc.wstx.api.ReaderConfig java.io.InputStream int java.lang.String int java.lang.String com.ctc.wstx.io.BaseReader int
StackMap stack:
iload 2
ifeq 24
23: aload 6
sipush 272
invokevirtual com.ctc.wstx.io.BaseReader.setXmlCompliancy:(I)V
24: StackMap locals:
StackMap stack:
aload 6
areturn
end local 7 end local 6 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 25 0 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 25 1 in Ljava/io/InputStream;
0 25 2 isXml11 Z
0 25 3 encoding Ljava/lang/String;
1 25 4 inputBufLen I
2 25 5 normEnc Ljava/lang/String;
5 6 6 r Lcom/ctc/wstx/io/BaseReader;
8 9 6 r Lcom/ctc/wstx/io/BaseReader;
11 12 6 r Lcom/ctc/wstx/io/BaseReader;
17 18 6 r Lcom/ctc/wstx/io/BaseReader;
22 25 6 r Lcom/ctc/wstx/io/BaseReader;
3 25 7 recycleBuffer Z
16 17 8 isBE Z
21 22 8 ex Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
18 19 20 Class java.io.UnsupportedEncodingException
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
cfg
in
isXml11
encoding
private static com.ctc.wstx.io.WstxInputSource sourceFromSS(com.ctc.wstx.io.WstxInputSource, com.ctc.wstx.api.ReaderConfig, java.lang.String, int, javax.xml.transform.stream.StreamSource);
descriptor: (Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjavax/xml/transform/stream/StreamSource;)Lcom/ctc/wstx/io/WstxInputSource;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokevirtual javax.xml.transform.stream.StreamSource.getReader:()Ljava/io/Reader;
astore 6
start local 6 1: aload 4
invokevirtual javax.xml.transform.stream.StreamSource.getPublicId:()Ljava/lang/String;
astore 7
start local 7 2: aload 4
invokevirtual javax.xml.transform.stream.StreamSource.getSystemId:()Ljava/lang/String;
astore 8
start local 8 3: aload 0
ifnonnull 4
aconst_null
goto 5
StackMap locals: com.ctc.wstx.io.WstxInputSource com.ctc.wstx.api.ReaderConfig java.lang.String int javax.xml.transform.stream.StreamSource top java.io.Reader java.lang.String java.lang.String
StackMap stack:
4: aload 0
invokevirtual com.ctc.wstx.io.WstxInputSource.getSource:()Ljava/net/URL;
StackMap locals:
StackMap stack: java.net.URL
5: astore 9
start local 9 6: aload 8
ifnull 7
aload 8
invokevirtual java.lang.String.length:()I
ifne 8
StackMap locals: java.net.URL
StackMap stack:
7: aconst_null
goto 9
8: StackMap locals:
StackMap stack:
aload 8
aload 9
invokestatic com.ctc.wstx.util.URLUtil.urlFromSystemId:(Ljava/lang/String;Ljava/net/URL;)Ljava/net/URL;
9: StackMap locals:
StackMap stack: java.net.URL
astore 10
start local 10 10: aload 8
aload 10
ifnonnull 11
aload 9
goto 12
StackMap locals: com.ctc.wstx.io.WstxInputSource com.ctc.wstx.api.ReaderConfig java.lang.String int javax.xml.transform.stream.StreamSource top java.io.Reader java.lang.String java.lang.String java.net.URL java.net.URL
StackMap stack: java.lang.String
11: aload 10
StackMap locals: com.ctc.wstx.io.WstxInputSource com.ctc.wstx.api.ReaderConfig java.lang.String int javax.xml.transform.stream.StreamSource top java.io.Reader java.lang.String java.lang.String java.net.URL java.net.URL
StackMap stack: java.lang.String java.net.URL
12: invokestatic com.ctc.wstx.io.SystemId.construct:(Ljava/lang/String;Ljava/net/URL;)Lcom/ctc/wstx/io/SystemId;
astore 11
start local 11 13: aload 6
ifnonnull 21
14: aload 4
invokevirtual javax.xml.transform.stream.StreamSource.getInputStream:()Ljava/io/InputStream;
astore 12
start local 12 15: aload 12
ifnonnull 19
16: aload 10
ifnonnull 18
17: new java.lang.IllegalArgumentException
dup
ldc "Can not create Stax reader for a StreamSource -- neither reader, input stream nor system id was set."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: com.ctc.wstx.io.SystemId java.io.InputStream
StackMap stack:
aload 10
invokestatic com.ctc.wstx.util.URLUtil.inputStreamFromURL:(Ljava/net/URL;)Ljava/io/InputStream;
astore 12
19: StackMap locals:
StackMap stack:
aload 7
aload 11
aload 12
invokestatic com.ctc.wstx.io.StreamBootstrapper.getInstance:(Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;Ljava/io/InputStream;)Lcom/ctc/wstx/io/StreamBootstrapper;
astore 5
end local 12 start local 5 20: goto 22
end local 5 21: StackMap locals:
StackMap stack:
aload 7
aload 11
aload 6
aconst_null
invokestatic com.ctc.wstx.io.ReaderBootstrapper.getInstance:(Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;Ljava/io/Reader;Ljava/lang/String;)Lcom/ctc/wstx/io/ReaderBootstrapper;
astore 5
start local 5 22: StackMap locals: com.ctc.wstx.io.WstxInputSource com.ctc.wstx.api.ReaderConfig java.lang.String int javax.xml.transform.stream.StreamSource com.ctc.wstx.io.InputBootstrapper java.io.Reader java.lang.String java.lang.String java.net.URL java.net.URL com.ctc.wstx.io.SystemId
StackMap stack:
aload 5
aload 1
iconst_0
iload 3
invokevirtual com.ctc.wstx.io.InputBootstrapper.bootstrapInput:(Lcom/ctc/wstx/api/ReaderConfig;ZI)Ljava/io/Reader;
astore 12
start local 12 23: aload 1
aload 0
aload 2
aload 5
aload 7
aload 11
iload 3
aload 12
24: invokestatic com.ctc.wstx.io.InputSourceFactory.constructEntitySource:(Lcom/ctc/wstx/api/ReaderConfig;Lcom/ctc/wstx/io/WstxInputSource;Ljava/lang/String;Lcom/ctc/wstx/io/InputBootstrapper;Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;ILjava/io/Reader;)Lcom/ctc/wstx/io/ReaderSource;
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 25 0 parent Lcom/ctc/wstx/io/WstxInputSource;
0 25 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 25 2 refName Ljava/lang/String;
0 25 3 xmlVersion I
0 25 4 ssrc Ljavax/xml/transform/stream/StreamSource;
20 21 5 bs Lcom/ctc/wstx/io/InputBootstrapper;
22 25 5 bs Lcom/ctc/wstx/io/InputBootstrapper;
1 25 6 r Ljava/io/Reader;
2 25 7 pubId Ljava/lang/String;
3 25 8 sysId0 Ljava/lang/String;
6 25 9 ctxt Ljava/net/URL;
10 25 10 url Ljava/net/URL;
13 25 11 systemId Lcom/ctc/wstx/io/SystemId;
15 20 12 in Ljava/io/InputStream;
23 25 12 r2 Ljava/io/Reader;
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
parent
cfg
refName
xmlVersion
ssrc
private static com.ctc.wstx.io.WstxInputSource sourceFromURL(com.ctc.wstx.io.WstxInputSource, com.ctc.wstx.api.ReaderConfig, java.lang.String, int, java.net.URL, java.lang.String);
descriptor: (Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/net/URL;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
invokestatic com.ctc.wstx.util.URLUtil.inputStreamFromURL:(Ljava/net/URL;)Ljava/io/InputStream;
astore 6
start local 6 1: aload 4
invokestatic com.ctc.wstx.io.SystemId.construct:(Ljava/net/URL;)Lcom/ctc/wstx/io/SystemId;
astore 7
start local 7 2: aload 5
aload 7
aload 6
invokestatic com.ctc.wstx.io.StreamBootstrapper.getInstance:(Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;Ljava/io/InputStream;)Lcom/ctc/wstx/io/StreamBootstrapper;
astore 8
start local 8 3: aload 8
aload 1
iconst_0
iload 3
invokevirtual com.ctc.wstx.io.StreamBootstrapper.bootstrapInput:(Lcom/ctc/wstx/api/ReaderConfig;ZI)Ljava/io/Reader;
astore 9
start local 9 4: aload 1
aload 0
aload 2
aload 8
aload 5
aload 7
iload 3
aload 9
5: invokestatic com.ctc.wstx.io.InputSourceFactory.constructEntitySource:(Lcom/ctc/wstx/api/ReaderConfig;Lcom/ctc/wstx/io/WstxInputSource;Ljava/lang/String;Lcom/ctc/wstx/io/InputBootstrapper;Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;ILjava/io/Reader;)Lcom/ctc/wstx/io/ReaderSource;
areturn
end local 9 end local 8 end local 7 end local 6 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 6 0 parent Lcom/ctc/wstx/io/WstxInputSource;
0 6 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 6 2 refName Ljava/lang/String;
0 6 3 xmlVersion I
0 6 4 url Ljava/net/URL;
0 6 5 pubId Ljava/lang/String;
1 6 6 in Ljava/io/InputStream;
2 6 7 sysId Lcom/ctc/wstx/io/SystemId;
3 6 8 bs Lcom/ctc/wstx/io/StreamBootstrapper;
4 6 9 r Ljava/io/Reader;
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
parent
cfg
refName
xmlVersion
url
pubId
public static com.ctc.wstx.io.WstxInputSource sourceFromString(com.ctc.wstx.io.WstxInputSource, com.ctc.wstx.api.ReaderConfig, java.lang.String, int, java.lang.String);
descriptor: (Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
1: new java.io.StringReader
dup
aload 4
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
aconst_null
aload 2
2: invokestatic com.ctc.wstx.io.DefaultInputResolver.sourceFromR:(Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/io/Reader;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 parent Lcom/ctc/wstx/io/WstxInputSource;
0 3 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 3 2 refName Ljava/lang/String;
0 3 3 xmlVersion I
0 3 4 refContent Ljava/lang/String;
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
parent
cfg
refName
xmlVersion
refContent
private static com.ctc.wstx.io.WstxInputSource sourceFromIS(com.ctc.wstx.io.WstxInputSource, com.ctc.wstx.api.ReaderConfig, java.lang.String, int, java.io.InputStream, java.lang.String, java.lang.String);
descriptor: (Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 5
aload 6
invokestatic com.ctc.wstx.io.SystemId.construct:(Ljava/lang/String;)Lcom/ctc/wstx/io/SystemId;
aload 4
invokestatic com.ctc.wstx.io.StreamBootstrapper.getInstance:(Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;Ljava/io/InputStream;)Lcom/ctc/wstx/io/StreamBootstrapper;
astore 7
start local 7 1: aload 7
aload 1
iconst_0
iload 3
invokevirtual com.ctc.wstx.io.StreamBootstrapper.bootstrapInput:(Lcom/ctc/wstx/api/ReaderConfig;ZI)Ljava/io/Reader;
astore 8
start local 8 2: aload 0
invokevirtual com.ctc.wstx.io.WstxInputSource.getSource:()Ljava/net/URL;
astore 9
start local 9 3: aload 6
ifnull 5
aload 6
invokevirtual java.lang.String.length:()I
ifle 5
4: aload 6
aload 9
invokestatic com.ctc.wstx.util.URLUtil.urlFromSystemId:(Ljava/lang/String;Ljava/net/URL;)Ljava/net/URL;
astore 9
5: StackMap locals: com.ctc.wstx.io.StreamBootstrapper java.io.Reader java.net.URL
StackMap stack:
aload 1
aload 0
aload 2
aload 7
aload 5
aload 6
aload 9
invokestatic com.ctc.wstx.io.SystemId.construct:(Ljava/lang/String;Ljava/net/URL;)Lcom/ctc/wstx/io/SystemId;
6: iload 3
aload 8
7: invokestatic com.ctc.wstx.io.InputSourceFactory.constructEntitySource:(Lcom/ctc/wstx/api/ReaderConfig;Lcom/ctc/wstx/io/WstxInputSource;Ljava/lang/String;Lcom/ctc/wstx/io/InputBootstrapper;Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;ILjava/io/Reader;)Lcom/ctc/wstx/io/ReaderSource;
areturn
end local 9 end local 8 end local 7 end local 6 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 8 0 parent Lcom/ctc/wstx/io/WstxInputSource;
0 8 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 8 2 refName Ljava/lang/String;
0 8 3 xmlVersion I
0 8 4 is Ljava/io/InputStream;
0 8 5 pubId Ljava/lang/String;
0 8 6 sysId Ljava/lang/String;
1 8 7 bs Lcom/ctc/wstx/io/StreamBootstrapper;
2 8 8 r Ljava/io/Reader;
3 8 9 ctxt Ljava/net/URL;
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
parent
cfg
refName
xmlVersion
is
pubId
sysId
private static com.ctc.wstx.io.WstxInputSource sourceFromR(com.ctc.wstx.io.WstxInputSource, com.ctc.wstx.api.ReaderConfig, java.lang.String, int, java.io.Reader, java.lang.String, java.lang.String);
descriptor: (Lcom/ctc/wstx/io/WstxInputSource;Lcom/ctc/wstx/api/ReaderConfig;Ljava/lang/String;ILjava/io/Reader;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/io/WstxInputSource;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 5
aload 6
invokestatic com.ctc.wstx.io.SystemId.construct:(Ljava/lang/String;)Lcom/ctc/wstx/io/SystemId;
aload 4
aconst_null
invokestatic com.ctc.wstx.io.ReaderBootstrapper.getInstance:(Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;Ljava/io/Reader;Ljava/lang/String;)Lcom/ctc/wstx/io/ReaderBootstrapper;
astore 7
start local 7 1: aload 7
aload 1
iconst_0
iload 3
invokevirtual com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput:(Lcom/ctc/wstx/api/ReaderConfig;ZI)Ljava/io/Reader;
astore 8
start local 8 2: aload 0
ifnonnull 3
aconst_null
goto 4
StackMap locals: com.ctc.wstx.io.ReaderBootstrapper java.io.Reader
StackMap stack:
3: aload 0
invokevirtual com.ctc.wstx.io.WstxInputSource.getSource:()Ljava/net/URL;
StackMap locals:
StackMap stack: java.net.URL
4: astore 9
start local 9 5: aload 6
ifnull 7
aload 6
invokevirtual java.lang.String.length:()I
ifle 7
6: aload 6
aload 9
invokestatic com.ctc.wstx.util.URLUtil.urlFromSystemId:(Ljava/lang/String;Ljava/net/URL;)Ljava/net/URL;
astore 9
7: StackMap locals: java.net.URL
StackMap stack:
aload 1
aload 0
aload 2
aload 7
aload 5
aload 6
aload 9
invokestatic com.ctc.wstx.io.SystemId.construct:(Ljava/lang/String;Ljava/net/URL;)Lcom/ctc/wstx/io/SystemId;
iload 3
aload 8
8: invokestatic com.ctc.wstx.io.InputSourceFactory.constructEntitySource:(Lcom/ctc/wstx/api/ReaderConfig;Lcom/ctc/wstx/io/WstxInputSource;Ljava/lang/String;Lcom/ctc/wstx/io/InputBootstrapper;Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;ILjava/io/Reader;)Lcom/ctc/wstx/io/ReaderSource;
areturn
end local 9 end local 8 end local 7 end local 6 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 9 0 parent Lcom/ctc/wstx/io/WstxInputSource;
0 9 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 9 2 refName Ljava/lang/String;
0 9 3 xmlVersion I
0 9 4 r Ljava/io/Reader;
0 9 5 pubId Ljava/lang/String;
0 9 6 sysId Ljava/lang/String;
1 9 7 rbs Lcom/ctc/wstx/io/ReaderBootstrapper;
2 9 8 r2 Ljava/io/Reader;
5 9 9 ctxt Ljava/net/URL;
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
parent
cfg
refName
xmlVersion
r
pubId
sysId
}
SourceFile: "DefaultInputResolver.java"