public class io.netty.handler.codec.xml.XmlDecoder extends io.netty.handler.codec.ByteToMessageDecoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.xml.XmlDecoder
super_class: io.netty.handler.codec.ByteToMessageDecoder
{
private static final com.fasterxml.aalto.AsyncXMLInputFactory XML_INPUT_FACTORY;
descriptor: Lcom/fasterxml/aalto/AsyncXMLInputFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.handler.codec.xml.XmlDocumentEnd XML_DOCUMENT_END;
descriptor: Lio/netty/handler/codec/xml/XmlDocumentEnd;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.fasterxml.aalto.AsyncXMLStreamReader<com.fasterxml.aalto.AsyncByteArrayFeeder> streamReader;
descriptor: Lcom/fasterxml/aalto/AsyncXMLStreamReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/fasterxml/aalto/AsyncXMLStreamReader<Lcom/fasterxml/aalto/AsyncByteArrayFeeder;>;
private final com.fasterxml.aalto.AsyncByteArrayFeeder streamFeeder;
descriptor: Lcom/fasterxml/aalto/AsyncByteArrayFeeder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.fasterxml.aalto.stax.InputFactoryImpl
dup
invokespecial com.fasterxml.aalto.stax.InputFactoryImpl.<init>:()V
putstatic io.netty.handler.codec.xml.XmlDecoder.XML_INPUT_FACTORY:Lcom/fasterxml/aalto/AsyncXMLInputFactory;
1: getstatic io.netty.handler.codec.xml.XmlDocumentEnd.INSTANCE:Lio/netty/handler/codec/xml/XmlDocumentEnd;
putstatic io.netty.handler.codec.xml.XmlDecoder.XML_DOCUMENT_END:Lio/netty/handler/codec/xml/XmlDocumentEnd;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.handler.codec.ByteToMessageDecoder.<init>:()V
1: aload 0
getstatic io.netty.handler.codec.xml.XmlDecoder.XML_INPUT_FACTORY:Lcom/fasterxml/aalto/AsyncXMLInputFactory;
invokevirtual com.fasterxml.aalto.AsyncXMLInputFactory.createAsyncForByteArray:()Lcom/fasterxml/aalto/AsyncXMLStreamReader;
putfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
2: aload 0
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getInputFeeder:()Lcom/fasterxml/aalto/AsyncInputFeeder;
checkcast com.fasterxml.aalto.AsyncByteArrayFeeder
putfield io.netty.handler.codec.xml.XmlDecoder.streamFeeder:Lcom/fasterxml/aalto/AsyncByteArrayFeeder;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/xml/XmlDecoder;
protected void decode(io.netty.channel.ChannelHandlerContext, io.netty.buffer.ByteBuf, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
newarray 8
astore 4
start local 4 1: aload 2
aload 4
invokevirtual io.netty.buffer.ByteBuf.readBytes:([B)Lio/netty/buffer/ByteBuf;
pop
2: aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamFeeder:Lcom/fasterxml/aalto/AsyncByteArrayFeeder;
aload 4
iconst_0
aload 4
arraylength
invokeinterface com.fasterxml.aalto.AsyncByteArrayFeeder.feedInput:([BII)V
3: goto 63
StackMap locals: io.netty.handler.codec.xml.XmlDecoder io.netty.channel.ChannelHandlerContext io.netty.buffer.ByteBuf java.util.List byte[]
StackMap stack: javax.xml.stream.XMLStreamException
4: astore 5
start local 5 5: aload 2
aload 2
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
invokevirtual io.netty.buffer.ByteBuf.skipBytes:(I)Lio/netty/buffer/ByteBuf;
pop
6: aload 5
athrow
end local 5 7: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.next:()I
istore 5
start local 5 8: iload 5
tableswitch { // 1 - 12
1: 15
2: 37
3: 50
4: 52
5: 54
6: 56
7: 9
8: 13
9: 58
10: 63
11: 60
12: 62
default: 63
}
9: StackMap locals: int
StackMap stack:
aload 3
new io.netty.handler.codec.xml.XmlDocumentStart
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getEncoding:()Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getVersion:()Ljava/lang/String;
10: aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.isStandalone:()Z
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getCharacterEncodingScheme:()Ljava/lang/String;
invokespecial io.netty.handler.codec.xml.XmlDocumentStart.<init>:(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V
11: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: goto 63
13: StackMap locals:
StackMap stack:
aload 3
getstatic io.netty.handler.codec.xml.XmlDecoder.XML_DOCUMENT_END:Lio/netty/handler/codec/xml/XmlDocumentEnd;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: goto 63
15: StackMap locals:
StackMap stack:
new io.netty.handler.codec.xml.XmlElementStart
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getLocalName:()Ljava/lang/String;
16: aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getPrefix:()Ljava/lang/String;
17: invokespecial io.netty.handler.codec.xml.XmlElementStart.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 6
start local 6 18: iconst_0
istore 7
start local 7 19: goto 26
20: StackMap locals: io.netty.handler.codec.xml.XmlElementStart int
StackMap stack:
new io.netty.handler.codec.xml.XmlAttribute
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 7
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getAttributeType:(I)Ljava/lang/String;
21: aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 7
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getAttributeLocalName:(I)Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 7
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getAttributePrefix:(I)Ljava/lang/String;
22: aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 7
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getAttributeNamespace:(I)Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 7
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getAttributeValue:(I)Ljava/lang/String;
23: invokespecial io.netty.handler.codec.xml.XmlAttribute.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 8
start local 8 24: aload 6
invokevirtual io.netty.handler.codec.xml.XmlElementStart.attributes:()Ljava/util/List;
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 25: iinc 7 1
StackMap locals:
StackMap stack:
26: iload 7
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getAttributeCount:()I
if_icmplt 20
end local 7 27: iconst_0
istore 7
start local 7 28: goto 34
29: StackMap locals:
StackMap stack:
new io.netty.handler.codec.xml.XmlNamespace
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 7
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getNamespacePrefix:(I)Ljava/lang/String;
30: aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 7
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getNamespaceURI:(I)Ljava/lang/String;
31: invokespecial io.netty.handler.codec.xml.XmlNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 8
start local 8 32: aload 6
invokevirtual io.netty.handler.codec.xml.XmlElementStart.namespaces:()Ljava/util/List;
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 33: iinc 7 1
StackMap locals:
StackMap stack:
34: iload 7
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getNamespaceCount:()I
if_icmplt 29
end local 7 35: aload 3
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
36: goto 63
end local 6 37: StackMap locals:
StackMap stack:
new io.netty.handler.codec.xml.XmlElementEnd
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getLocalName:()Ljava/lang/String;
38: aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getPrefix:()Ljava/lang/String;
39: invokespecial io.netty.handler.codec.xml.XmlElementEnd.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 40: iconst_0
istore 8
start local 8 41: goto 47
42: StackMap locals: io.netty.handler.codec.xml.XmlDecoder io.netty.channel.ChannelHandlerContext io.netty.buffer.ByteBuf java.util.List byte[] int top io.netty.handler.codec.xml.XmlElementEnd int
StackMap stack:
new io.netty.handler.codec.xml.XmlNamespace
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 8
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getNamespacePrefix:(I)Ljava/lang/String;
43: aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
iload 8
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getNamespaceURI:(I)Ljava/lang/String;
44: invokespecial io.netty.handler.codec.xml.XmlNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 9
start local 9 45: aload 7
invokevirtual io.netty.handler.codec.xml.XmlElementEnd.namespaces:()Ljava/util/List;
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 46: iinc 8 1
StackMap locals:
StackMap stack:
47: iload 8
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getNamespaceCount:()I
if_icmplt 42
end local 8 48: aload 3
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
49: goto 63
end local 7 50: StackMap locals: io.netty.handler.codec.xml.XmlDecoder io.netty.channel.ChannelHandlerContext io.netty.buffer.ByteBuf java.util.List byte[] int
StackMap stack:
aload 3
new io.netty.handler.codec.xml.XmlProcessingInstruction
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getPIData:()Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getPITarget:()Ljava/lang/String;
invokespecial io.netty.handler.codec.xml.XmlProcessingInstruction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
51: goto 63
52: StackMap locals:
StackMap stack:
aload 3
new io.netty.handler.codec.xml.XmlCharacters
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getText:()Ljava/lang/String;
invokespecial io.netty.handler.codec.xml.XmlCharacters.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
53: goto 63
54: StackMap locals:
StackMap stack:
aload 3
new io.netty.handler.codec.xml.XmlComment
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getText:()Ljava/lang/String;
invokespecial io.netty.handler.codec.xml.XmlComment.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
55: goto 63
56: StackMap locals:
StackMap stack:
aload 3
new io.netty.handler.codec.xml.XmlSpace
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getText:()Ljava/lang/String;
invokespecial io.netty.handler.codec.xml.XmlSpace.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
57: goto 63
58: StackMap locals:
StackMap stack:
aload 3
new io.netty.handler.codec.xml.XmlEntityReference
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getLocalName:()Ljava/lang/String;
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getText:()Ljava/lang/String;
invokespecial io.netty.handler.codec.xml.XmlEntityReference.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
59: goto 63
60: StackMap locals:
StackMap stack:
aload 3
new io.netty.handler.codec.xml.XmlDTD
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getText:()Ljava/lang/String;
invokespecial io.netty.handler.codec.xml.XmlDTD.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
61: goto 63
62: StackMap locals:
StackMap stack:
aload 3
new io.netty.handler.codec.xml.XmlCdata
dup
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamReader:Lcom/fasterxml/aalto/AsyncXMLStreamReader;
invokeinterface com.fasterxml.aalto.AsyncXMLStreamReader.getText:()Ljava/lang/String;
invokespecial io.netty.handler.codec.xml.XmlCdata.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 63: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.xml.XmlDecoder.streamFeeder:Lcom/fasterxml/aalto/AsyncByteArrayFeeder;
invokeinterface com.fasterxml.aalto.AsyncByteArrayFeeder.needMoreInput:()Z
ifeq 7
64: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 65 0 this Lio/netty/handler/codec/xml/XmlDecoder;
0 65 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 65 2 in Lio/netty/buffer/ByteBuf;
0 65 3 out Ljava/util/List<Ljava/lang/Object;>;
1 65 4 buffer [B
5 7 5 exception Ljavax/xml/stream/XMLStreamException;
8 63 5 type I
18 37 6 elementStart Lio/netty/handler/codec/xml/XmlElementStart;
19 27 7 x I
24 25 8 attribute Lio/netty/handler/codec/xml/XmlAttribute;
28 35 7 x I
32 33 8 namespace Lio/netty/handler/codec/xml/XmlNamespace;
40 50 7 elementEnd Lio/netty/handler/codec/xml/XmlElementEnd;
41 48 8 x I
45 46 9 namespace Lio/netty/handler/codec/xml/XmlNamespace;
Exception table:
from to target type
2 3 4 Class javax.xml.stream.XMLStreamException
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
in
out
}
SourceFile: "XmlDecoder.java"