public class org.apache.catalina.startup.SetContextPropertiesRule extends org.apache.tomcat.util.digester.Rule
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.startup.SetContextPropertiesRule
super_class: org.apache.tomcat.util.digester.Rule
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.catalina.startup.SetContextPropertiesRule this
0: .line 31
aload 0 /* this */
invokespecial org.apache.tomcat.util.digester.Rule.<init>:()V
return
end local 0 // org.apache.catalina.startup.SetContextPropertiesRule this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/SetContextPropertiesRule;
public void begin(java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 // org.apache.catalina.startup.SetContextPropertiesRule this
start local 1 // java.lang.String namespace
start local 2 // java.lang.String nameX
start local 3 // org.xml.sax.Attributes attributes
0: .line 54
iconst_0
istore 4 /* i */
start local 4 // int i
1: goto 16
2: .line 55
StackMap locals: int
StackMap stack:
aload 3 /* attributes */
iload 4 /* i */
invokeinterface org.xml.sax.Attributes.getLocalName:(I)Ljava/lang/String;
astore 5 /* name */
start local 5 // java.lang.String name
3: .line 56
ldc ""
aload 5 /* name */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: .line 57
aload 3 /* attributes */
iload 4 /* i */
invokeinterface org.xml.sax.Attributes.getQName:(I)Ljava/lang/String;
astore 5 /* name */
5: .line 59
StackMap locals: java.lang.String
StackMap stack:
ldc "path"
aload 5 /* name */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
ldc "docBase"
aload 5 /* name */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: .line 60
goto 15
7: .line 62
StackMap locals:
StackMap stack:
aload 3 /* attributes */
iload 4 /* i */
invokeinterface org.xml.sax.Attributes.getValue:(I)Ljava/lang/String;
astore 6 /* value */
start local 6 // java.lang.String value
8: .line 63
aload 0 /* this */
getfield org.apache.catalina.startup.SetContextPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 0 /* this */
getfield org.apache.catalina.startup.SetContextPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.peek:()Ljava/lang/Object;
aload 5 /* name */
invokevirtual org.apache.tomcat.util.digester.Digester.isFakeAttribute:(Ljava/lang/Object;Ljava/lang/String;)Z
ifne 15
9: .line 64
aload 0 /* this */
getfield org.apache.catalina.startup.SetContextPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.peek:()Ljava/lang/Object;
aload 5 /* name */
aload 6 /* value */
invokestatic org.apache.tomcat.util.IntrospectionUtils.setProperty:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Z
ifne 15
10: .line 65
aload 0 /* this */
getfield org.apache.catalina.startup.SetContextPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getRulesValidation:()Z
ifeq 15
11: .line 66
aload 0 /* this */
getfield org.apache.catalina.startup.SetContextPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getLogger:()Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "[SetContextPropertiesRule]{"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield org.apache.catalina.startup.SetContextPropertiesRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getMatch:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: .line 67
ldc "} Setting property '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5 /* name */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' to '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: .line 68
aload 6 /* value */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' did not find a matching property."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: .line 66
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
end local 6 // java.lang.String value
end local 5 // java.lang.String name
15: .line 54
StackMap locals:
StackMap stack:
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
16: iload 4 /* i */
aload 3 /* attributes */
invokeinterface org.xml.sax.Attributes.getLength:()I
if_icmplt 2
end local 4 // int i
17: .line 72
return
end local 3 // org.xml.sax.Attributes attributes
end local 2 // java.lang.String nameX
end local 1 // java.lang.String namespace
end local 0 // org.apache.catalina.startup.SetContextPropertiesRule this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/startup/SetContextPropertiesRule;
0 18 1 namespace Ljava/lang/String;
0 18 2 nameX Ljava/lang/String;
0 18 3 attributes Lorg/xml/sax/Attributes;
1 17 4 i I
3 15 5 name Ljava/lang/String;
8 15 6 value Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
nameX
attributes
}
SourceFile: "SetContextPropertiesRule.java"