public abstract class com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm implements com.sun.xml.internal.org.jvnet.fastinfoset.EncodingAlgorithm
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm
super_class: java.lang.Object
{
protected static final java.util.regex.Pattern SPACE_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "\\s"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm.SPACE_PATTERN:Ljava/util/regex/Pattern;
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 Lcom/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithm;
public abstract int getPrimtiveLengthFromOctetLength(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws com.sun.xml.internal.org.jvnet.fastinfoset.EncodingAlgorithmException
MethodParameters:
Name Flags
octetLength
public abstract int getOctetLengthFromPrimitiveLength(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
primitiveLength
public abstract void encodeToBytes(java.lang.Object, int, int, byte[], int);
descriptor: (Ljava/lang/Object;II[BI)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
array
astart
alength
b
start
public void matchWhiteSpaceDelimnatedWords(java.nio.CharBuffer, com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm$WordListener);
descriptor: (Ljava/nio/CharBuffer;Lcom/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithm$WordListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm.SPACE_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 8
4: StackMap locals: java.util.regex.Matcher int int
StackMap stack:
aload 3
invokevirtual java.util.regex.Matcher.start:()I
istore 5
5: iload 5
iload 4
if_icmpeq 7
6: aload 2
iload 4
iload 5
invokeinterface com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm$WordListener.word:(II)V
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.regex.Matcher.end:()I
istore 4
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.regex.Matcher.find:()Z
ifne 4
9: iload 4
aload 1
invokevirtual java.nio.CharBuffer.length:()I
if_icmpeq 11
10: aload 2
iload 4
aload 1
invokevirtual java.nio.CharBuffer.length:()I
invokeinterface com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm$WordListener.word:(II)V
11: StackMap locals:
StackMap stack:
return
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 12 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithm;
0 12 1 cb Ljava/nio/CharBuffer;
0 12 2 wl Lcom/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithm$WordListener;
1 12 3 m Ljava/util/regex/Matcher;
2 12 4 i I
3 12 5 s I
MethodParameters:
Name Flags
cb
wl
public java.lang.StringBuilder removeWhitespace(char[], int, int);
descriptor: ([CII)Ljava/lang/StringBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 9
4: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 1
iload 6
iload 2
iadd
caload
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 8
5: iload 5
iload 6
if_icmpge 7
6: aload 4
aload 1
iload 5
iload 2
iadd
iload 6
iload 5
isub
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
iload 6
iconst_1
iadd
istore 5
8: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 3
if_icmplt 4
10: iload 5
iload 6
if_icmpge 12
11: aload 4
aload 1
iload 5
iload 2
iadd
iload 6
iload 5
isub
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 4
areturn
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 13 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithm;
0 13 1 ch [C
0 13 2 start I
0 13 3 length I
1 13 4 buf Ljava/lang/StringBuilder;
2 13 5 firstNonWS I
3 13 6 idx I
MethodParameters:
Name Flags
ch
start
length
}
SourceFile: "BuiltInEncodingAlgorithm.java"
NestMembers:
com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm$WordListener
InnerClasses:
public abstract WordListener = com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm$WordListener of com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm