public class com.sun.tools.internal.ws.wsdl.parser.VersionChecker extends org.xml.sax.helpers.XMLFilterImpl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.ws.wsdl.parser.VersionChecker
super_class: org.xml.sax.helpers.XMLFilterImpl
{
private java.lang.String version;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean seenRoot;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean seenBindings;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.xml.sax.Locator locator;
descriptor: Lorg/xml/sax/Locator;
flags: (0x0002) ACC_PRIVATE
private org.xml.sax.Locator rootTagStart;
descriptor: Lorg/xml/sax/Locator;
flags: (0x0002) ACC_PRIVATE
private static final java.util.Set<java.lang.String> VERSIONS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.util.HashSet
dup
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "2.0"
aastore
dup
iconst_1
ldc "2.1"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic com.sun.tools.internal.ws.wsdl.parser.VersionChecker.VERSIONS:Ljava/util/Set;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.xml.sax.XMLReader);
descriptor: (Lorg/xml/sax/XMLReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.xml.sax.helpers.XMLFilterImpl.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
2: aload 0
iconst_0
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.seenRoot:Z
3: aload 0
iconst_0
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.seenBindings:Z
4: aload 0
aload 1
invokevirtual com.sun.tools.internal.ws.wsdl.parser.VersionChecker.setParent:(Lorg/xml/sax/XMLReader;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/ws/wsdl/parser/VersionChecker;
0 6 1 parent Lorg/xml/sax/XMLReader;
MethodParameters:
Name Flags
parent
public void <init>(org.xml.sax.ContentHandler, org.xml.sax.ErrorHandler, org.xml.sax.EntityResolver);
descriptor: (Lorg/xml/sax/ContentHandler;Lorg/xml/sax/ErrorHandler;Lorg/xml/sax/EntityResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.xml.sax.helpers.XMLFilterImpl.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
2: aload 0
iconst_0
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.seenRoot:Z
3: aload 0
iconst_0
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.seenBindings:Z
4: aload 0
aload 1
invokevirtual com.sun.tools.internal.ws.wsdl.parser.VersionChecker.setContentHandler:(Lorg/xml/sax/ContentHandler;)V
5: aload 2
ifnull 6
aload 0
aload 2
invokevirtual com.sun.tools.internal.ws.wsdl.parser.VersionChecker.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
6: StackMap locals: com.sun.tools.internal.ws.wsdl.parser.VersionChecker org.xml.sax.ContentHandler org.xml.sax.ErrorHandler org.xml.sax.EntityResolver
StackMap stack:
aload 3
ifnull 7
aload 0
aload 3
invokevirtual com.sun.tools.internal.ws.wsdl.parser.VersionChecker.setEntityResolver:(Lorg/xml/sax/EntityResolver;)V
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/internal/ws/wsdl/parser/VersionChecker;
0 8 1 handler Lorg/xml/sax/ContentHandler;
0 8 2 eh Lorg/xml/sax/ErrorHandler;
0 8 3 er Lorg/xml/sax/EntityResolver;
MethodParameters:
Name Flags
handler
eh
er
public void startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, 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
aload 3
aload 4
invokespecial org.xml.sax.helpers.XMLFilterImpl.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
1: aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.seenRoot:Z
ifne 16
2: aload 0
iconst_1
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.seenRoot:Z
3: aload 0
new org.xml.sax.helpers.LocatorImpl
dup
aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.locator:Lorg/xml/sax/Locator;
invokespecial org.xml.sax.helpers.LocatorImpl.<init>:(Lorg/xml/sax/Locator;)V
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.rootTagStart:Lorg/xml/sax/Locator;
4: aload 0
aload 4
ldc "http://java.sun.com/xml/ns/jaxws"
ldc "version"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
5: aload 1
ldc "http://java.sun.com/xml/ns/jaxws"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
6: aload 4
ldc ""
ldc "version"
invokeinterface org.xml.sax.Attributes.getValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 7: aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
ifnull 12
aload 5
ifnull 12
8: new org.xml.sax.SAXParseException
dup
9: invokestatic com.sun.tools.internal.ws.resources.WsdlMessages.INTERNALIZER_TWO_VERSION_ATTRIBUTES:()Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.locator:Lorg/xml/sax/Locator;
10: invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
astore 6
start local 6 11: aload 0
invokevirtual com.sun.tools.internal.ws.wsdl.parser.VersionChecker.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
aload 6
invokeinterface org.xml.sax.ErrorHandler.error:(Lorg/xml/sax/SAXParseException;)V
end local 6 12: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
ifnonnull 16
13: aload 0
aload 5
ifnull 14
aload 5
goto 15
StackMap locals:
StackMap stack: com.sun.tools.internal.ws.wsdl.parser.VersionChecker
14: ldc "2.0"
StackMap locals: com.sun.tools.internal.ws.wsdl.parser.VersionChecker java.lang.String java.lang.String java.lang.String org.xml.sax.Attributes java.lang.String
StackMap stack: com.sun.tools.internal.ws.wsdl.parser.VersionChecker java.lang.String
15: putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
end local 5 16: StackMap locals:
StackMap stack:
ldc "http://java.sun.com/xml/ns/jaxws"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
17: aload 0
iconst_1
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.seenBindings:Z
18: aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
ifnonnull 20
19: aload 0
ldc "2.0"
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
20: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/tools/internal/ws/wsdl/parser/VersionChecker;
0 21 1 namespaceURI Ljava/lang/String;
0 21 2 localName Ljava/lang/String;
0 21 3 qName Ljava/lang/String;
0 21 4 atts Lorg/xml/sax/Attributes;
7 16 5 version2 Ljava/lang/String;
11 12 6 e Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
localName
qName
atts
public void endDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.xml.sax.helpers.XMLFilterImpl.endDocument:()V
1: aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.seenBindings:Z
ifeq 4
aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
ifnonnull 4
2: new org.xml.sax.SAXParseException
dup
invokestatic com.sun.tools.internal.ws.resources.WsdlMessages.INTERNALIZER_VERSION_NOT_PRESENT:()Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.rootTagStart:Lorg/xml/sax/Locator;
invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
astore 1
start local 1 3: aload 0
invokevirtual com.sun.tools.internal.ws.wsdl.parser.VersionChecker.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
aload 1
invokeinterface org.xml.sax.ErrorHandler.error:(Lorg/xml/sax/SAXParseException;)V
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
ifnull 7
getstatic com.sun.tools.internal.ws.wsdl.parser.VersionChecker.VERSIONS:Ljava/util/Set;
aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.version:Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 7
5: new org.xml.sax.SAXParseException
dup
invokestatic com.sun.tools.internal.ws.resources.WsdlMessages.INTERNALIZER_INCORRECT_VERSION:()Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.rootTagStart:Lorg/xml/sax/Locator;
invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
astore 1
start local 1 6: aload 0
invokevirtual com.sun.tools.internal.ws.wsdl.parser.VersionChecker.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
aload 1
invokeinterface org.xml.sax.ErrorHandler.error:(Lorg/xml/sax/SAXParseException;)V
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/internal/ws/wsdl/parser/VersionChecker;
3 4 1 e Lorg/xml/sax/SAXParseException;
6 7 1 e Lorg/xml/sax/SAXParseException;
Exceptions:
throws org.xml.sax.SAXException
public void setDocumentLocator(org.xml.sax.Locator);
descriptor: (Lorg/xml/sax/Locator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.xml.sax.helpers.XMLFilterImpl.setDocumentLocator:(Lorg/xml/sax/Locator;)V
1: aload 0
aload 1
putfield com.sun.tools.internal.ws.wsdl.parser.VersionChecker.locator:Lorg/xml/sax/Locator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/ws/wsdl/parser/VersionChecker;
0 3 1 locator Lorg/xml/sax/Locator;
MethodParameters:
Name Flags
locator
}
SourceFile: "VersionChecker.java"