public class javax.xml.bind.helpers.DefaultValidationEventHandler implements javax.xml.bind.ValidationEventHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.xml.bind.helpers.DefaultValidationEventHandler
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljavax/xml/bind/helpers/DefaultValidationEventHandler;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic javax.xml.bind.helpers.DefaultValidationEventHandler.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Ljavax/xml/bind/helpers/DefaultValidationEventHandler;
public boolean handleEvent(javax.xml.bind.ValidationEvent);
descriptor: (Ljavax/xml/bind/ValidationEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aload 1
invokeinterface javax.xml.bind.ValidationEvent.getSeverity:()I
tableswitch { // 0 - 2
0: 5
1: 8
2: 11
default: 14
}
5: StackMap locals: java.lang.String int
StackMap stack:
ldc "DefaultValidationEventHandler.Warning"
invokestatic javax.xml.bind.helpers.Messages.format:(Ljava/lang/String;)Ljava/lang/String;
astore 2
6: iconst_1
istore 3
7: goto 18
8: StackMap locals:
StackMap stack:
ldc "DefaultValidationEventHandler.Error"
invokestatic javax.xml.bind.helpers.Messages.format:(Ljava/lang/String;)Ljava/lang/String;
astore 2
9: iconst_0
istore 3
10: goto 18
11: StackMap locals:
StackMap stack:
ldc "DefaultValidationEventHandler.FatalError"
invokestatic javax.xml.bind.helpers.Messages.format:(Ljava/lang/String;)Ljava/lang/String;
astore 2
12: iconst_0
istore 3
13: goto 18
14: StackMap locals:
StackMap stack:
getstatic javax.xml.bind.helpers.DefaultValidationEventHandler.$assertionsDisabled:Z
ifne 18
new java.lang.AssertionError
dup
15: ldc "DefaultValidationEventHandler.UnrecognizedSeverity"
16: aload 1
invokeinterface javax.xml.bind.ValidationEvent.getSeverity:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
17: invokestatic javax.xml.bind.helpers.Messages.format:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.xml.bind.helpers.DefaultValidationEventHandler.getLocation:(Ljavax/xml/bind/ValidationEvent;)Ljava/lang/String;
astore 4
start local 4 19: getstatic java.lang.System.out:Ljava/io/PrintStream;
20: ldc "DefaultValidationEventHandler.SeverityMessage"
21: aload 2
22: aload 1
invokeinterface javax.xml.bind.ValidationEvent.getMessage:()Ljava/lang/String;
23: aload 4
24: invokestatic javax.xml.bind.helpers.Messages.format:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
25: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
26: iload 3
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/xml/bind/helpers/DefaultValidationEventHandler;
0 27 1 event Ljavax/xml/bind/ValidationEvent;
3 27 2 severity Ljava/lang/String;
4 27 3 retVal Z
19 27 4 location Ljava/lang/String;
MethodParameters:
Name Flags
event
private java.lang.String getLocation(javax.xml.bind.ValidationEvent);
descriptor: (Ljavax/xml/bind/ValidationEvent;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface javax.xml.bind.ValidationEvent.getLocator:()Ljavax/xml/bind/ValidationEventLocator;
astore 3
start local 3 2: aload 3
ifnull 18
3: aload 3
invokeinterface javax.xml.bind.ValidationEventLocator.getURL:()Ljava/net/URL;
astore 4
start local 4 4: aload 3
invokeinterface javax.xml.bind.ValidationEventLocator.getObject:()Ljava/lang/Object;
astore 5
start local 5 5: aload 3
invokeinterface javax.xml.bind.ValidationEventLocator.getNode:()Lorg/w3c/dom/Node;
astore 6
start local 6 6: aload 3
invokeinterface javax.xml.bind.ValidationEventLocator.getLineNumber:()I
istore 7
start local 7 7: aload 4
ifnonnull 8
iload 7
iconst_m1
if_icmpeq 12
8: StackMap locals: javax.xml.bind.helpers.DefaultValidationEventHandler javax.xml.bind.ValidationEvent java.lang.StringBuffer javax.xml.bind.ValidationEventLocator java.net.URL java.lang.Object org.w3c.dom.Node int
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
ldc "line "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: aload 4
ifnull 19
10: aload 2
new java.lang.StringBuilder
dup
ldc " of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
11: goto 19
StackMap locals:
StackMap stack:
12: aload 5
ifnull 15
13: aload 2
new java.lang.StringBuilder
dup
ldc " obj: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
14: goto 19
StackMap locals:
StackMap stack:
15: aload 6
ifnull 19
16: aload 2
new java.lang.StringBuilder
dup
ldc " node: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 7 end local 6 end local 5 end local 4 17: goto 19
18: StackMap locals: javax.xml.bind.helpers.DefaultValidationEventHandler javax.xml.bind.ValidationEvent java.lang.StringBuffer javax.xml.bind.ValidationEventLocator
StackMap stack:
aload 2
ldc "DefaultValidationEventHandler.LocationUnavailable"
invokestatic javax.xml.bind.helpers.Messages.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
19: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/xml/bind/helpers/DefaultValidationEventHandler;
0 20 1 event Ljavax/xml/bind/ValidationEvent;
1 20 2 msg Ljava/lang/StringBuffer;
2 20 3 locator Ljavax/xml/bind/ValidationEventLocator;
4 17 4 url Ljava/net/URL;
5 17 5 obj Ljava/lang/Object;
6 17 6 node Lorg/w3c/dom/Node;
7 17 7 line I
MethodParameters:
Name Flags
event
}
SourceFile: "DefaultValidationEventHandler.java"