final class com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl implements com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl
super_class: java.lang.Object
{
private java.util.Iterator<? extends com.sun.xml.internal.ws.api.server.SDDocumentSource> origMetadata;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<+Lcom/sun/xml/internal/ws/api/server/SDDocumentSource;>;
private java.util.Map<java.lang.String, com.sun.xml.internal.ws.api.server.SDDocumentSource> metadata;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/xml/internal/ws/api/server/SDDocumentSource;>;
private org.xml.sax.EntityResolver resolver;
descriptor: Lorg/xml/sax/EntityResolver;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.Collection<? extends com.sun.xml.internal.ws.api.server.SDDocumentSource>, org.xml.sax.EntityResolver);
descriptor: (Ljava/util/Collection;Lorg/xml/sax/EntityResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl this
start local 1 // java.util.Collection metadata
start local 2 // org.xml.sax.EntityResolver resolver
0: .line 851
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 848
aload 0 /* this */
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.metadata:Ljava/util/Map;
2: .line 852
aload 0 /* this */
aload 1 /* metadata */
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
putfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.origMetadata:Ljava/util/Iterator;
3: .line 853
aload 0 /* this */
aload 2 /* resolver */
putfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.resolver:Lorg/xml/sax/EntityResolver;
4: .line 854
return
end local 2 // org.xml.sax.EntityResolver resolver
end local 1 // java.util.Collection metadata
end local 0 // com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/ws/server/EndpointFactory$EntityResolverImpl;
0 5 1 metadata Ljava/util/Collection<+Lcom/sun/xml/internal/ws/api/server/SDDocumentSource;>;
0 5 2 resolver Lorg/xml/sax/EntityResolver;
Signature: (Ljava/util/Collection<+Lcom/sun/xml/internal/ws/api/server/SDDocumentSource;>;Lorg/xml/sax/EntityResolver;)V
MethodParameters:
Name Flags
metadata
resolver
public com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser resolveEntity(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lcom/sun/xml/internal/ws/api/wsdl/parser/XMLEntityResolver$Parser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 // com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl this
start local 1 // java.lang.String publicId
start local 2 // java.lang.String systemId
0: .line 857
aload 2 /* systemId */
ifnull 17
1: .line 858
aload 0 /* this */
getfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.metadata:Ljava/util/Map;
aload 2 /* systemId */
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.xml.internal.ws.api.server.SDDocumentSource
astore 3 /* doc */
start local 3 // com.sun.xml.internal.ws.api.server.SDDocumentSource doc
2: .line 859
aload 3 /* doc */
ifnull 4
3: .line 860
new com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser
dup
aload 3 /* doc */
invokespecial com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser.<init>:(Lcom/sun/xml/internal/ws/api/server/SDDocumentSource;)V
areturn
4: .line 861
StackMap locals: com.sun.xml.internal.ws.api.server.SDDocumentSource
StackMap stack:
aload 0 /* this */
dup
astore 4
monitorenter
5: .line 862
goto 12
6: .line 863
StackMap locals: com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl
StackMap stack:
aload 0 /* this */
getfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.origMetadata:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.xml.internal.ws.api.server.SDDocumentSource
astore 3 /* doc */
7: .line 864
aload 3 /* doc */
invokevirtual com.sun.xml.internal.ws.api.server.SDDocumentSource.getSystemId:()Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
astore 5 /* extForm */
start local 5 // java.lang.String extForm
8: .line 865
aload 0 /* this */
getfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.metadata:Ljava/util/Map;
aload 5 /* extForm */
aload 3 /* doc */
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: .line 866
aload 2 /* systemId */
aload 5 /* extForm */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: .line 867
new com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser
dup
aload 3 /* doc */
invokespecial com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser.<init>:(Lcom/sun/xml/internal/ws/api/server/SDDocumentSource;)V
aload 4
monitorexit
11: areturn
end local 5 // java.lang.String extForm
12: .line 862
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.origMetadata:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
13: .line 861
aload 4
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 4
monitorexit
16: athrow
end local 3 // com.sun.xml.internal.ws.api.server.SDDocumentSource doc
17: .line 871
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.resolver:Lorg/xml/sax/EntityResolver;
ifnull 25
18: .line 873
aload 0 /* this */
getfield com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl.resolver:Lorg/xml/sax/EntityResolver;
aload 1 /* publicId */
aload 2 /* systemId */
invokeinterface org.xml.sax.EntityResolver.resolveEntity:(Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;
astore 3 /* source */
start local 3 // org.xml.sax.InputSource source
19: .line 874
aload 3 /* source */
ifnull 25
20: .line 875
new com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser
dup
aconst_null
aload 3 /* source */
iconst_1
invokestatic com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory.create:(Lorg/xml/sax/InputSource;Z)Ljavax/xml/stream/XMLStreamReader;
invokespecial com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser.<init>:(Ljava/net/URL;Ljavax/xml/stream/XMLStreamReader;)V
astore 4 /* p */
start local 4 // com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser p
21: .line 876
aload 4 /* p */
22: areturn
end local 4 // com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser p
end local 3 // org.xml.sax.InputSource source
23: .line 878
StackMap locals:
StackMap stack: org.xml.sax.SAXException
astore 3 /* e */
start local 3 // org.xml.sax.SAXException e
24: .line 879
new javax.xml.stream.XMLStreamException
dup
aload 3 /* e */
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 // org.xml.sax.SAXException e
25: .line 882
StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 // java.lang.String systemId
end local 1 // java.lang.String publicId
end local 0 // com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl this
LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/xml/internal/ws/server/EndpointFactory$EntityResolverImpl;
0 26 1 publicId Ljava/lang/String;
0 26 2 systemId Ljava/lang/String;
2 17 3 doc Lcom/sun/xml/internal/ws/api/server/SDDocumentSource;
8 12 5 extForm Ljava/lang/String;
19 23 3 source Lorg/xml/sax/InputSource;
21 23 4 p Lcom/sun/xml/internal/ws/api/wsdl/parser/XMLEntityResolver$Parser;
24 25 3 e Lorg/xml/sax/SAXException;
Exception table:
from to target type
5 11 15 any
12 14 15 any
15 16 15 any
18 22 23 Class org.xml.sax.SAXException
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
publicId
systemId
}
SourceFile: "EndpointFactory.java"
NestHost: com.sun.xml.internal.ws.server.EndpointFactory
InnerClasses:
public final Parser = com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver$Parser of com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver
private final EntityResolverImpl = com.sun.xml.internal.ws.server.EndpointFactory$EntityResolverImpl of com.sun.xml.internal.ws.server.EndpointFactory