public class org.apache.tomcat.util.descriptor.web.WebXmlParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.descriptor.web.WebXmlParser
super_class: java.lang.Object
{
private final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.apache.tomcat.util.digester.Digester webDigester;
descriptor: Lorg/apache/tomcat/util/digester/Digester;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.tomcat.util.descriptor.web.WebRuleSet webRuleSet;
descriptor: Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.tomcat.util.digester.Digester webFragmentDigester;
descriptor: Lorg/apache/tomcat/util/digester/Digester;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.tomcat.util.descriptor.web.WebRuleSet webFragmentRuleSet;
descriptor: Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.tomcat.util.descriptor.web.Constants.PACKAGE_NAME:Ljava/lang/String;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
1: putstatic org.apache.tomcat.util.descriptor.web.WebXmlParser.sm:Lorg/apache/tomcat/util/res/StringManager;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(boolean, boolean, boolean);
descriptor: (ZZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc Lorg/apache/tomcat/util/descriptor/web/WebXmlParser;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putfield org.apache.tomcat.util.descriptor.web.WebXmlParser.log:Lorg/apache/juli/logging/Log;
2: aload 0
new org.apache.tomcat.util.descriptor.web.WebRuleSet
dup
iconst_0
invokespecial org.apache.tomcat.util.descriptor.web.WebRuleSet.<init>:(Z)V
putfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webRuleSet:Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
3: aload 0
iload 2
4: iload 1
aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webRuleSet:Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
iload 3
5: invokestatic org.apache.tomcat.util.descriptor.DigesterFactory.newDigester:(ZZLorg/apache/tomcat/util/digester/RuleSet;Z)Lorg/apache/tomcat/util/digester/Digester;
putfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webDigester:Lorg/apache/tomcat/util/digester/Digester;
6: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webDigester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getParser:()Ljavax/xml/parsers/SAXParser;
pop
7: aload 0
new org.apache.tomcat.util.descriptor.web.WebRuleSet
dup
iconst_1
invokespecial org.apache.tomcat.util.descriptor.web.WebRuleSet.<init>:(Z)V
putfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webFragmentRuleSet:Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
8: aload 0
iload 2
9: iload 1
aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webFragmentRuleSet:Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
iload 3
10: invokestatic org.apache.tomcat.util.descriptor.DigesterFactory.newDigester:(ZZLorg/apache/tomcat/util/digester/RuleSet;Z)Lorg/apache/tomcat/util/digester/Digester;
putfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webFragmentDigester:Lorg/apache/tomcat/util/digester/Digester;
11: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webFragmentDigester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getParser:()Ljavax/xml/parsers/SAXParser;
pop
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/tomcat/util/descriptor/web/WebXmlParser;
0 13 1 namespaceAware Z
0 13 2 validation Z
0 13 3 blockExternal Z
MethodParameters:
Name Flags
namespaceAware
validation
blockExternal
public boolean parseWebXml(java.net.URL, org.apache.tomcat.util.descriptor.web.WebXml, boolean);
descriptor: (Ljava/net/URL;Lorg/apache/tomcat/util/descriptor/web/WebXml;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
new org.xml.sax.InputSource
dup
aload 1
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
invokespecial org.xml.sax.InputSource.<init>:(Ljava/lang/String;)V
astore 4
start local 4 3: aload 4
aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
invokevirtual org.xml.sax.InputSource.setByteStream:(Ljava/io/InputStream;)V
4: aload 0
aload 4
aload 2
iload 3
invokevirtual org.apache.tomcat.util.descriptor.web.WebXmlParser.parseWebXml:(Lorg/xml/sax/InputSource;Lorg/apache/tomcat/util/descriptor/web/WebXml;Z)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/descriptor/web/WebXmlParser;
0 5 1 url Ljava/net/URL;
0 5 2 dest Lorg/apache/tomcat/util/descriptor/web/WebXml;
0 5 3 fragment Z
3 5 4 source Lorg/xml/sax/InputSource;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
dest
fragment
public boolean parseWebXml(org.xml.sax.InputSource, org.apache.tomcat.util.descriptor.web.WebXml, boolean);
descriptor: (Lorg/xml/sax/InputSource;Lorg/apache/tomcat/util/descriptor/web/WebXml;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
istore 4
start local 4 1: aload 1
ifnonnull 3
2: iload 4
ireturn
3: StackMap locals: int
StackMap stack:
new org.apache.tomcat.util.descriptor.XmlErrorHandler
dup
invokespecial org.apache.tomcat.util.descriptor.XmlErrorHandler.<init>:()V
astore 5
start local 5 4: iload 3
ifeq 8
5: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webFragmentDigester:Lorg/apache/tomcat/util/digester/Digester;
astore 6
start local 6 6: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webFragmentRuleSet:Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
astore 7
start local 7 7: goto 10
end local 7 end local 6 8: StackMap locals: org.apache.tomcat.util.descriptor.XmlErrorHandler
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webDigester:Lorg/apache/tomcat/util/digester/Digester;
astore 6
start local 6 9: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webRuleSet:Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
astore 7
start local 7 10: StackMap locals: org.apache.tomcat.util.digester.Digester org.apache.tomcat.util.descriptor.web.WebRuleSet
StackMap stack:
aload 6
aload 2
invokevirtual org.apache.tomcat.util.digester.Digester.push:(Ljava/lang/Object;)V
11: aload 6
aload 5
invokevirtual org.apache.tomcat.util.digester.Digester.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
12: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 16
13: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.descriptor.web.WebXmlParser.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webXmlParser.applicationStart"
iconst_1
anewarray java.lang.Object
dup
iconst_0
14: aload 1
invokevirtual org.xml.sax.InputSource.getSystemId:()Ljava/lang/String;
aastore
15: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
aload 6
aload 1
invokevirtual org.apache.tomcat.util.digester.Digester.parse:(Lorg/xml/sax/InputSource;)Ljava/lang/Object;
pop
17: aload 5
invokevirtual org.apache.tomcat.util.descriptor.XmlErrorHandler.getWarnings:()Ljava/util/List;
invokeinterface java.util.List.size:()I
ifgt 19
18: aload 5
invokevirtual org.apache.tomcat.util.descriptor.XmlErrorHandler.getErrors:()Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 51
19: StackMap locals:
StackMap stack:
iconst_0
istore 4
20: aload 5
aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.log:Lorg/apache/juli/logging/Log;
aload 1
invokevirtual org.xml.sax.InputSource.getSystemId:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.descriptor.XmlErrorHandler.logFindings:(Lorg/apache/juli/logging/Log;Ljava/lang/String;)V
21: goto 51
StackMap locals:
StackMap stack: org.xml.sax.SAXParseException
22: astore 8
start local 8 23: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.descriptor.web.WebXmlParser.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webXmlParser.applicationParse"
iconst_1
anewarray java.lang.Object
dup
iconst_0
24: aload 1
invokevirtual org.xml.sax.InputSource.getSystemId:()Ljava/lang/String;
aastore
25: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
26: aload 8
27: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
28: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.descriptor.web.WebXmlParser.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webXmlParser.applicationPosition"
iconst_2
anewarray java.lang.Object
dup
iconst_0
29: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 8
invokevirtual org.xml.sax.SAXParseException.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
30: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 8
invokevirtual org.xml.sax.SAXParseException.getColumnNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
31: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
32: iconst_0
istore 4
end local 8 33: aload 1
invokestatic org.apache.tomcat.util.descriptor.InputSourceUtil.close:(Lorg/xml/sax/InputSource;)V
34: aload 6
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
35: aload 7
invokevirtual org.apache.tomcat.util.descriptor.web.WebRuleSet.recycle:()V
goto 54
36: StackMap locals:
StackMap stack: java.lang.Exception
astore 8
start local 8 37: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.tomcat.util.descriptor.web.WebXmlParser.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webXmlParser.applicationParse"
iconst_1
anewarray java.lang.Object
dup
iconst_0
38: aload 1
invokevirtual org.xml.sax.InputSource.getSystemId:()Ljava/lang/String;
aastore
39: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
40: aload 8
41: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
42: iconst_0
istore 4
end local 8 43: aload 1
invokestatic org.apache.tomcat.util.descriptor.InputSourceUtil.close:(Lorg/xml/sax/InputSource;)V
44: aload 6
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
45: aload 7
invokevirtual org.apache.tomcat.util.descriptor.web.WebRuleSet.recycle:()V
goto 54
46: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
47: aload 1
invokestatic org.apache.tomcat.util.descriptor.InputSourceUtil.close:(Lorg/xml/sax/InputSource;)V
48: aload 6
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
49: aload 7
invokevirtual org.apache.tomcat.util.descriptor.web.WebRuleSet.recycle:()V
50: aload 9
athrow
51: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.tomcat.util.descriptor.InputSourceUtil.close:(Lorg/xml/sax/InputSource;)V
52: aload 6
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
53: aload 7
invokevirtual org.apache.tomcat.util.descriptor.web.WebRuleSet.recycle:()V
54: StackMap locals:
StackMap stack:
iload 4
ireturn
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 55 0 this Lorg/apache/tomcat/util/descriptor/web/WebXmlParser;
0 55 1 source Lorg/xml/sax/InputSource;
0 55 2 dest Lorg/apache/tomcat/util/descriptor/web/WebXml;
0 55 3 fragment Z
1 55 4 ok Z
4 55 5 handler Lorg/apache/tomcat/util/descriptor/XmlErrorHandler;
6 8 6 digester Lorg/apache/tomcat/util/digester/Digester;
9 55 6 digester Lorg/apache/tomcat/util/digester/Digester;
7 8 7 ruleSet Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
10 55 7 ruleSet Lorg/apache/tomcat/util/descriptor/web/WebRuleSet;
23 33 8 e Lorg/xml/sax/SAXParseException;
37 43 8 e Ljava/lang/Exception;
Exception table:
from to target type
16 21 22 Class org.xml.sax.SAXParseException
16 21 36 Class java.lang.Exception
16 33 46 any
36 43 46 any
MethodParameters:
Name Flags
source
dest
fragment
public void setClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webDigester:Lorg/apache/tomcat/util/digester/Digester;
aload 1
invokevirtual org.apache.tomcat.util.digester.Digester.setClassLoader:(Ljava/lang/ClassLoader;)V
1: aload 0
getfield org.apache.tomcat.util.descriptor.web.WebXmlParser.webFragmentDigester:Lorg/apache/tomcat/util/digester/Digester;
aload 1
invokevirtual org.apache.tomcat.util.digester.Digester.setClassLoader:(Ljava/lang/ClassLoader;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/descriptor/web/WebXmlParser;
0 3 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
}
SourceFile: "WebXmlParser.java"