public class com.sun.xml.internal.bind.marshaller.NioEscapeHandler implements com.sun.xml.internal.bind.marshaller.CharacterEscapeHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.bind.marshaller.NioEscapeHandler
super_class: java.lang.Object
{
private final java.nio.charset.CharsetEncoder encoder;
descriptor: Ljava/nio/charset/CharsetEncoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
putfield com.sun.xml.internal.bind.marshaller.NioEscapeHandler.encoder:Ljava/nio/charset/CharsetEncoder;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/bind/marshaller/NioEscapeHandler;
0 3 1 charsetName Ljava/lang/String;
MethodParameters:
Name Flags
charsetName
public void escape(char[], int, int, boolean, java.io.Writer);
descriptor: ([CIIZLjava/io/Writer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
iload 3
iadd
istore 6
start local 6 1: iload 2
istore 7
start local 7 2: goto 22
3: StackMap locals: int int
StackMap stack:
aload 1
iload 7
caload
lookupswitch { // 4
34: 10
38: 4
60: 6
62: 8
default: 15
}
4: StackMap locals:
StackMap stack:
aload 5
ldc "&"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: goto 21
6: StackMap locals:
StackMap stack:
aload 5
ldc "<"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: goto 21
8: StackMap locals:
StackMap stack:
aload 5
ldc ">"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
9: goto 21
10: StackMap locals:
StackMap stack:
iload 4
ifeq 13
11: aload 5
ldc """
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
12: goto 21
13: StackMap locals:
StackMap stack:
aload 5
bipush 34
invokevirtual java.io.Writer.write:(I)V
14: goto 21
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.bind.marshaller.NioEscapeHandler.encoder:Ljava/nio/charset/CharsetEncoder;
aload 1
iload 7
caload
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(C)Z
ifeq 18
16: aload 5
aload 1
iload 7
caload
invokevirtual java.io.Writer.write:(I)V
17: goto 21
18: StackMap locals:
StackMap stack:
aload 5
ldc "&#"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
19: aload 5
aload 1
iload 7
caload
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
20: aload 5
bipush 59
invokevirtual java.io.Writer.write:(I)V
21: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
22: iload 7
iload 6
if_icmplt 3
end local 7 23: return
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 24 0 this Lcom/sun/xml/internal/bind/marshaller/NioEscapeHandler;
0 24 1 ch [C
0 24 2 start I
0 24 3 length I
0 24 4 isAttVal Z
0 24 5 out Ljava/io/Writer;
1 24 6 limit I
2 23 7 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ch
start
length
isAttVal
out
}
SourceFile: "NioEscapeHandler.java"