public class com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase implements javax.xml.stream.util.XMLEventAllocator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase
super_class: java.lang.Object
{
javax.xml.stream.XMLEventFactory factory;
descriptor: Ljavax/xml/stream/XMLEventFactory;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: ldc "javax.xml.stream.XMLEventFactory"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 5
2: ldc "javax.xml.stream.XMLEventFactory"
3: ldc "com.sun.xml.internal.fastinfoset.stax.factory.StAXEventFactory"
4: invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
5: StackMap locals: com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase
StackMap stack:
aload 0
invokestatic javax.xml.stream.XMLEventFactory.newInstance:()Ljavax/xml/stream/XMLEventFactory;
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventAllocatorBase;
public javax.xml.stream.util.XMLEventAllocator newInstance();
descriptor: ()Ljavax/xml/stream/util/XMLEventAllocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase
dup
invokespecial com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventAllocatorBase;
public javax.xml.stream.events.XMLEvent allocate(javax.xml.stream.XMLStreamReader);
descriptor: (Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new javax.xml.stream.XMLStreamException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.nullReader"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.getXMLEvent:(Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventAllocatorBase;
0 3 1 streamReader Ljavax/xml/stream/XMLStreamReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
streamReader
public void allocate(javax.xml.stream.XMLStreamReader, javax.xml.stream.util.XMLEventConsumer);
descriptor: (Ljavax/xml/stream/XMLStreamReader;Ljavax/xml/stream/util/XMLEventConsumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
aload 1
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.getXMLEvent:(Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
invokeinterface javax.xml.stream.util.XMLEventConsumer.add:(Ljavax/xml/stream/events/XMLEvent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventAllocatorBase;
0 2 1 streamReader Ljavax/xml/stream/XMLStreamReader;
0 2 2 consumer Ljavax/xml/stream/util/XMLEventConsumer;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
streamReader
consumer
javax.xml.stream.events.XMLEvent getXMLEvent(javax.xml.stream.XMLStreamReader);
descriptor: (Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getEventType:()I
istore 3
start local 3 2: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getLocation:()Ljavax/xml/stream/Location;
invokevirtual javax.xml.stream.XMLEventFactory.setLocation:(Ljavax/xml/stream/Location;)V
3: iload 3
tableswitch { // 1 - 12
1: 4
2: 11
3: 17
4: 19
5: 23
6: 47
7: 25
8: 34
9: 37
10: 41
11: 43
12: 45
default: 48
}
4: StackMap locals: javax.xml.stream.events.XMLEvent int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getPrefix:()Ljava/lang/String;
5: aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceURI:()Ljava/lang/String;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getLocalName:()Ljava/lang/String;
6: invokevirtual javax.xml.stream.XMLEventFactory.createStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/StartElement;
checkcast com.sun.xml.internal.fastinfoset.stax.events.StartElementEvent
astore 4
start local 4 7: aload 0
aload 4
aload 1
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.addAttributes:(Lcom/sun/xml/internal/fastinfoset/stax/events/StartElementEvent;Ljavax/xml/stream/XMLStreamReader;)V
8: aload 0
aload 4
aload 1
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.addNamespaces:(Lcom/sun/xml/internal/fastinfoset/stax/events/StartElementEvent;Ljavax/xml/stream/XMLStreamReader;)V
9: aload 4
astore 2
10: goto 48
end local 4 11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
12: aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getPrefix:()Ljava/lang/String;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceURI:()Ljava/lang/String;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getLocalName:()Ljava/lang/String;
13: invokevirtual javax.xml.stream.XMLEventFactory.createEndElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/EndElement;
checkcast com.sun.xml.internal.fastinfoset.stax.events.EndElementEvent
astore 4
start local 4 14: aload 0
aload 4
aload 1
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.addNamespaces:(Lcom/sun/xml/internal/fastinfoset/stax/events/EndElementEvent;Ljavax/xml/stream/XMLStreamReader;)V
15: aload 4
astore 2
16: goto 48
end local 4 17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getPITarget:()Ljava/lang/String;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getPIData:()Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createProcessingInstruction:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/ProcessingInstruction;
astore 2
18: goto 48
19: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.isWhiteSpace:()Z
ifeq 21
20: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getText:()Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createSpace:(Ljava/lang/String;)Ljavax/xml/stream/events/Characters;
astore 2
goto 48
21: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getText:()Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createCharacters:(Ljava/lang/String;)Ljavax/xml/stream/events/Characters;
astore 2
22: goto 48
23: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getText:()Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createComment:(Ljava/lang/String;)Ljavax/xml/stream/events/Comment;
astore 2
24: goto 48
25: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
26: aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getVersion:()Ljava/lang/String;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getEncoding:()Ljava/lang/String;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.isStandalone:()Z
27: invokevirtual javax.xml.stream.XMLEventFactory.createStartDocument:(Ljava/lang/String;Ljava/lang/String;Z)Ljavax/xml/stream/events/StartDocument;
checkcast com.sun.xml.internal.fastinfoset.stax.events.StartDocumentEvent
astore 4
start local 4 28: aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getCharacterEncodingScheme:()Ljava/lang/String;
ifnull 31
29: aload 4
iconst_1
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StartDocumentEvent.setDeclaredEncoding:(Z)V
30: goto 32
31: StackMap locals: com.sun.xml.internal.fastinfoset.stax.events.StartDocumentEvent
StackMap stack:
aload 4
iconst_0
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StartDocumentEvent.setDeclaredEncoding:(Z)V
32: StackMap locals:
StackMap stack:
aload 4
astore 2
33: goto 48
end local 4 34: StackMap locals:
StackMap stack:
new com.sun.xml.internal.fastinfoset.stax.events.EndDocumentEvent
dup
invokespecial com.sun.xml.internal.fastinfoset.stax.events.EndDocumentEvent.<init>:()V
astore 4
start local 4 35: aload 4
astore 2
36: goto 48
end local 4 37: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getLocalName:()Ljava/lang/String;
38: new com.sun.xml.internal.fastinfoset.stax.events.EntityDeclarationImpl
dup
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getLocalName:()Ljava/lang/String;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getText:()Ljava/lang/String;
invokespecial com.sun.xml.internal.fastinfoset.stax.events.EntityDeclarationImpl.<init>:(Ljava/lang/String;Ljava/lang/String;)V
39: invokevirtual javax.xml.stream.XMLEventFactory.createEntityReference:(Ljava/lang/String;Ljavax/xml/stream/events/EntityDeclaration;)Ljavax/xml/stream/events/EntityReference;
astore 2
40: goto 48
41: StackMap locals:
StackMap stack:
aconst_null
astore 2
42: goto 48
43: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getText:()Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createDTD:(Ljava/lang/String;)Ljavax/xml/stream/events/DTD;
astore 2
44: goto 48
45: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getText:()Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createCData:(Ljava/lang/String;)Ljavax/xml/stream/events/Characters;
astore 2
46: goto 48
47: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getText:()Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createSpace:(Ljava/lang/String;)Ljavax/xml/stream/events/Characters;
astore 2
48: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventAllocatorBase;
0 49 1 reader Ljavax/xml/stream/XMLStreamReader;
1 49 2 event Ljavax/xml/stream/events/XMLEvent;
2 49 3 eventType I
7 11 4 startElement Lcom/sun/xml/internal/fastinfoset/stax/events/StartElementEvent;
14 17 4 endElement Lcom/sun/xml/internal/fastinfoset/stax/events/EndElementEvent;
28 34 4 docEvent Lcom/sun/xml/internal/fastinfoset/stax/events/StartDocumentEvent;
35 37 4 endDocumentEvent Lcom/sun/xml/internal/fastinfoset/stax/events/EndDocumentEvent;
MethodParameters:
Name Flags
reader
protected void addAttributes(com.sun.xml.internal.fastinfoset.stax.events.StartElementEvent, javax.xml.stream.XMLStreamReader);
descriptor: (Lcom/sun/xml/internal/fastinfoset/stax/events/StartElementEvent;Ljavax/xml/stream/XMLStreamReader;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 10
3: StackMap locals: com.sun.xml.internal.fastinfoset.stax.events.AttributeBase int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 2
iload 4
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeName:(I)Ljavax/xml/namespace/QName;
4: aload 2
iload 4
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeValue:(I)Ljava/lang/String;
5: invokevirtual javax.xml.stream.XMLEventFactory.createAttribute:(Ljavax/xml/namespace/QName;Ljava/lang/String;)Ljavax/xml/stream/events/Attribute;
checkcast com.sun.xml.internal.fastinfoset.stax.events.AttributeBase
astore 3
6: aload 3
aload 2
iload 4
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeType:(I)Ljava/lang/String;
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.AttributeBase.setAttributeType:(Ljava/lang/String;)V
7: aload 3
aload 2
iload 4
invokeinterface javax.xml.stream.XMLStreamReader.isAttributeSpecified:(I)Z
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.AttributeBase.setSpecified:(Z)V
8: aload 1
aload 3
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StartElementEvent.addAttribute:(Ljavax/xml/stream/events/Attribute;)V
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 2
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeCount:()I
if_icmplt 3
end local 4 11: return
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/stax/events/StAXEventAllocatorBase;
0 12 1 event Lcom/sun/xml/internal/fastinfoset/stax/events/StartElementEvent;
0 12 2 streamReader Ljavax/xml/stream/XMLStreamReader;
1 12 3 attr Lcom/sun/xml/internal/fastinfoset/stax/events/AttributeBase;
2 11 4 i I
MethodParameters:
Name Flags
event
streamReader
protected void addNamespaces(com.sun.xml.internal.fastinfoset.stax.events.StartElementEvent, javax.xml.stream.XMLStreamReader);
descriptor: (Lcom/sun/xml/internal/fastinfoset/stax/events/StartElementEvent;Ljavax/xml/stream/XMLStreamReader;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 8
3: StackMap locals: javax.xml.stream.events.Namespace int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 2
iload 4
invokeinterface javax.xml.stream.XMLStreamReader.getNamespacePrefix:(I)Ljava/lang/String;
4: aload 2
iload 4
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceURI:(I)Ljava/lang/String;
5: invokevirtual javax.xml.stream.XMLEventFactory.createNamespace:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Namespace;
astore 3
6: aload 1
aload 3
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StartElementEvent.addNamespace:(Ljavax/xml/stream/events/Namespace;)V
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 2
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceCount:()I
if_icmplt 3
end local 4 9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventAllocatorBase;
0 10 1 event Lcom/sun/xml/internal/fastinfoset/stax/events/StartElementEvent;
0 10 2 streamReader Ljavax/xml/stream/XMLStreamReader;
1 10 3 namespace Ljavax/xml/stream/events/Namespace;
2 9 4 i I
MethodParameters:
Name Flags
event
streamReader
protected void addNamespaces(com.sun.xml.internal.fastinfoset.stax.events.EndElementEvent, javax.xml.stream.XMLStreamReader);
descriptor: (Lcom/sun/xml/internal/fastinfoset/stax/events/EndElementEvent;Ljavax/xml/stream/XMLStreamReader;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 8
3: StackMap locals: javax.xml.stream.events.Namespace int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.factory:Ljavax/xml/stream/XMLEventFactory;
aload 2
iload 4
invokeinterface javax.xml.stream.XMLStreamReader.getNamespacePrefix:(I)Ljava/lang/String;
4: aload 2
iload 4
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceURI:(I)Ljava/lang/String;
5: invokevirtual javax.xml.stream.XMLEventFactory.createNamespace:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Namespace;
astore 3
6: aload 1
aload 3
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.EndElementEvent.addNamespace:(Ljavax/xml/stream/events/Namespace;)V
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 2
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceCount:()I
if_icmplt 3
end local 4 9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventAllocatorBase;
0 10 1 event Lcom/sun/xml/internal/fastinfoset/stax/events/EndElementEvent;
0 10 2 streamReader Ljavax/xml/stream/XMLStreamReader;
1 10 3 namespace Ljavax/xml/stream/events/Namespace;
2 9 4 i I
MethodParameters:
Name Flags
event
streamReader
}
SourceFile: "StAXEventAllocatorBase.java"