public class com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter extends com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter
super_class: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter
{
private javax.xml.stream.XMLEventWriter writer;
descriptor: Ljavax/xml/stream/XMLEventWriter;
flags: (0x0002) ACC_PRIVATE
private javax.xml.stream.XMLEventFactory eventFactory;
descriptor: Ljavax/xml/stream/XMLEventFactory;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.util.Collection<javax.xml.stream.events.Namespace>> namespaceStack;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/util/Collection<Ljavax/xml/stream/events/Namespace;>;>;
private boolean needToCallStartDocument;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaceStack:Ljava/util/List;
2: aload 0
iconst_0
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.needToCallStartDocument:Z
3: aload 0
invokestatic javax.xml.stream.XMLEventFactory.newInstance:()Ljavax/xml/stream/XMLEventFactory;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
public void <init>(javax.xml.stream.XMLEventWriter);
descriptor: (Ljavax/xml/stream/XMLEventWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaceStack:Ljava/util/List;
2: aload 0
iconst_0
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.needToCallStartDocument:Z
3: aload 0
aload 1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
4: aload 0
invokestatic javax.xml.stream.XMLEventFactory.newInstance:()Ljavax/xml/stream/XMLEventFactory;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 6 1 writer Ljavax/xml/stream/XMLEventWriter;
MethodParameters:
Name Flags
writer
public void <init>(javax.xml.stream.XMLEventWriter, javax.xml.stream.XMLEventFactory);
descriptor: (Ljavax/xml/stream/XMLEventWriter;Ljavax/xml/stream/XMLEventFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaceStack:Ljava/util/List;
2: aload 0
iconst_0
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.needToCallStartDocument:Z
3: aload 0
aload 1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
4: aload 2
ifnull 7
5: aload 0
aload 2
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
6: goto 8
7: StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter javax.xml.stream.XMLEventWriter javax.xml.stream.XMLEventFactory
StackMap stack:
aload 0
invokestatic javax.xml.stream.XMLEventFactory.newInstance:()Ljavax/xml/stream/XMLEventFactory;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 9 1 writer Ljavax/xml/stream/XMLEventWriter;
0 9 2 factory Ljavax/xml/stream/XMLEventFactory;
MethodParameters:
Name Flags
writer
factory
public javax.xml.stream.XMLEventWriter getEventWriter();
descriptor: ()Ljavax/xml/stream/XMLEventWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
public void setEventWriter(javax.xml.stream.XMLEventWriter);
descriptor: (Ljavax/xml/stream/XMLEventWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 2 1 writer Ljavax/xml/stream/XMLEventWriter;
MethodParameters:
Name Flags
writer
public javax.xml.stream.XMLEventFactory getEventFactory();
descriptor: ()Ljavax/xml/stream/XMLEventFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
public void setEventFactory(javax.xml.stream.XMLEventFactory);
descriptor: (Ljavax/xml/stream/XMLEventFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 2 1 factory Ljavax/xml/stream/XMLEventFactory;
MethodParameters:
Name Flags
factory
public void startDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.startDocument:()V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaceStack:Ljava/util/List;
invokeinterface java.util.List.clear:()V
2: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.getCurrentLocation:()Ljavax/xml/stream/Location;
invokevirtual javax.xml.stream.XMLEventFactory.setLocation:(Ljavax/xml/stream/Location;)V
3: aload 0
iconst_1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.needToCallStartDocument:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
Exceptions:
throws org.xml.sax.SAXException
void writeStartDocument();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.writeStartDocument:()V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.encoding:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.xmlVersion:Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createStartDocument:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/StartDocument;
invokeinterface javax.xml.stream.XMLEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
2: goto 5
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
3: astore 1
start local 1 4: new org.xml.sax.SAXException
dup
aload 1
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.needToCallStartDocument:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
4 5 1 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
1 2 3 Class javax.xml.stream.XMLStreamException
Exceptions:
throws org.xml.sax.SAXException
public void endDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.getCurrentLocation:()Ljavax/xml/stream/Location;
invokevirtual javax.xml.stream.XMLEventFactory.setLocation:(Ljavax/xml/stream/Location;)V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
invokevirtual javax.xml.stream.XMLEventFactory.createEndDocument:()Ljavax/xml/stream/events/EndDocument;
invokeinterface javax.xml.stream.XMLEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
2: goto 5
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
3: astore 1
start local 1 4: new org.xml.sax.SAXException
dup
aload 1
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.endDocument:()V
6: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaceStack:Ljava/util/List;
invokeinterface java.util.List.clear:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
4 5 1 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
1 2 3 Class javax.xml.stream.XMLStreamException
Exceptions:
throws org.xml.sax.SAXException
public void startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.needToCallStartDocument:Z
ifeq 2
1: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writeStartDocument:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.getCurrentLocation:()Ljavax/xml/stream/Location;
invokevirtual javax.xml.stream.XMLEventFactory.setLocation:(Ljavax/xml/stream/Location;)V
3: iconst_2
anewarray java.util.Collection
astore 5
start local 5 4: aload 0
aload 4
aload 5
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.createStartEvents:(Lorg/xml/sax/Attributes;[Ljava/util/Collection;)V
5: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaceStack:Ljava/util/List;
aload 5
iconst_0
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: iconst_2
anewarray java.lang.String
astore 6
start local 6 7: aload 3
aload 6
invokestatic com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.parseQName:(Ljava/lang/String;[Ljava/lang/String;)V
8: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 6
iconst_0
aaload
aload 1
9: aload 6
iconst_1
aaload
aload 5
iconst_1
aaload
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
aload 5
iconst_0
aaload
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
10: invokevirtual javax.xml.stream.XMLEventFactory.createStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Iterator;Ljava/util/Iterator;)Ljavax/xml/stream/events/StartElement;
invokeinterface javax.xml.stream.XMLEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
end local 6 11: goto 17
StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter java.lang.String java.lang.String java.lang.String org.xml.sax.Attributes java.util.Collection[]
StackMap stack: javax.xml.stream.XMLStreamException
12: astore 6
start local 6 13: new org.xml.sax.SAXException
dup
aload 6
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
15: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
16: aload 7
athrow
17: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
18: 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 19 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 19 1 uri Ljava/lang/String;
0 19 2 localName Ljava/lang/String;
0 19 3 qName Ljava/lang/String;
0 19 4 attributes Lorg/xml/sax/Attributes;
4 19 5 events [Ljava/util/Collection;
7 11 6 qname [Ljava/lang/String;
13 14 6 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
6 11 12 Class javax.xml.stream.XMLStreamException
6 14 14 any
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
uri
localName
qName
attributes
public void endElement(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.endElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.getCurrentLocation:()Ljavax/xml/stream/Location;
invokevirtual javax.xml.stream.XMLEventFactory.setLocation:(Ljavax/xml/stream/Location;)V
2: iconst_2
anewarray java.lang.String
astore 4
start local 4 3: aload 3
aload 4
invokestatic com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.parseQName:(Ljava/lang/String;[Ljava/lang/String;)V
4: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaceStack:Ljava/util/List;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaceStack:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast java.util.Collection
astore 5
start local 5 5: aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
start local 6 6: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 4
iconst_0
aaload
aload 1
aload 4
iconst_1
aaload
7: aload 6
8: invokevirtual javax.xml.stream.XMLEventFactory.createEndElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Iterator;)Ljavax/xml/stream/events/EndElement;
invokeinterface javax.xml.stream.XMLEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
9: goto 12
StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter java.lang.String java.lang.String java.lang.String java.lang.String[] java.util.Collection java.util.Iterator
StackMap stack: javax.xml.stream.XMLStreamException
10: astore 7
start local 7 11: new org.xml.sax.SAXException
dup
aload 7
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 7 12: StackMap locals:
StackMap stack:
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 13 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 13 1 uri Ljava/lang/String;
0 13 2 localName Ljava/lang/String;
0 13 3 qName Ljava/lang/String;
3 13 4 qname [Ljava/lang/String;
5 13 5 nsList Ljava/util/Collection<Ljavax/xml/stream/events/Namespace;>;
6 13 6 nsIter Ljava/util/Iterator<Ljavax/xml/stream/events/Namespace;>;
11 12 7 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
6 9 10 Class javax.xml.stream.XMLStreamException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
uri
localName
qName
public void (char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.needToCallStartDocument:Z
ifeq 2
1: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writeStartDocument:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.comment:([CII)V
3: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.getCurrentLocation:()Ljavax/xml/stream/Location;
invokevirtual javax.xml.stream.XMLEventFactory.setLocation:(Ljavax/xml/stream/Location;)V
4: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
new java.lang.String
dup
aload 1
iload 2
5: iload 3
invokespecial java.lang.String.<init>:([CII)V
6: invokevirtual javax.xml.stream.XMLEventFactory.createComment:(Ljava/lang/String;)Ljavax/xml/stream/events/Comment;
invokeinterface javax.xml.stream.XMLEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
7: goto 10
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
8: astore 4
start local 4 9: new org.xml.sax.SAXException
dup
aload 4
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 11 1 ch [C
0 11 2 start I
0 11 3 length I
9 10 4 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
4 7 8 Class javax.xml.stream.XMLStreamException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length
public void characters(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.characters:([CII)V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.isCDATA:Z
ifne 9
2: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.getCurrentLocation:()Ljavax/xml/stream/Location;
invokevirtual javax.xml.stream.XMLEventFactory.setLocation:(Ljavax/xml/stream/Location;)V
3: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
new java.lang.String
dup
aload 1
4: iload 2
iload 3
invokespecial java.lang.String.<init>:([CII)V
5: invokevirtual javax.xml.stream.XMLEventFactory.createCharacters:(Ljava/lang/String;)Ljavax/xml/stream/events/Characters;
invokeinterface javax.xml.stream.XMLEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
6: goto 9
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
7: astore 4
start local 4 8: new org.xml.sax.SAXException
dup
aload 4
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 9: StackMap locals:
StackMap stack:
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/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 10 1 ch [C
0 10 2 start I
0 10 3 length I
8 9 4 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
1 6 7 Class javax.xml.stream.XMLStreamException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length
public void ignorableWhitespace(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.ignorableWhitespace:([CII)V
1: aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.characters:([CII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 3 1 ch [C
0 3 2 start I
0 3 3 length I
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length
public void processingInstruction(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.needToCallStartDocument:Z
ifeq 2
1: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writeStartDocument:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.processingInstruction:(Ljava/lang/String;Ljava/lang/String;)V
3: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 1
aload 2
invokevirtual javax.xml.stream.XMLEventFactory.createProcessingInstruction:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/ProcessingInstruction;
invokeinterface javax.xml.stream.XMLEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
4: goto 7
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
5: astore 3
start local 3 6: new org.xml.sax.SAXException
dup
aload 3
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 8 1 target Ljava/lang/String;
0 8 2 data Ljava/lang/String;
6 7 3 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
3 4 5 Class javax.xml.stream.XMLStreamException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
target
data
public void endCDATA();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.getCurrentLocation:()Ljavax/xml/stream/Location;
invokevirtual javax.xml.stream.XMLEventFactory.setLocation:(Ljavax/xml/stream/Location;)V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.writer:Ljavax/xml/stream/XMLEventWriter;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.CDATABuffer:Ljava/lang/StringBuffer;
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual javax.xml.stream.XMLEventFactory.createCData:(Ljava/lang/String;)Ljavax/xml/stream/events/Characters;
invokeinterface javax.xml.stream.XMLEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
2: goto 5
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
3: astore 1
start local 1 4: new org.xml.sax.SAXException
dup
aload 1
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXBaseWriter.endCDATA:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
4 5 1 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
1 2 3 Class javax.xml.stream.XMLStreamException
Exceptions:
throws org.xml.sax.SAXException
protected void createStartEvents(org.xml.sax.Attributes, java.util.Collection<javax.xml.stream.events.Attribute>[]);
descriptor: (Lorg/xml/sax/Attributes;[Ljava/util/Collection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaces:Ljava/util/List;
ifnull 14
3: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaces:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 13
6: StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter org.xml.sax.Attributes java.util.Collection[] java.util.Map java.util.List int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaces:Ljava/util/List;
iload 6
iinc 6 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 7: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.namespaces:Ljava/util/List;
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 8: aload 0
aload 7
aload 8
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.createNamespace:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Namespace;
astore 9
start local 9 9: aload 3
ifnonnull 11
10: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
11: StackMap locals: java.lang.String java.lang.String javax.xml.stream.events.Namespace
StackMap stack:
aload 3
aload 7
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 12: iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 5
if_icmplt 6
end local 6 end local 5 14: StackMap locals:
StackMap stack:
iconst_2
anewarray java.lang.String
astore 5
start local 5 15: iconst_0
istore 6
start local 6 16: aload 1
invokeinterface org.xml.sax.Attributes.getLength:()I
istore 7
start local 7 17: goto 43
18: StackMap locals: java.lang.String[] int int
StackMap stack:
aload 1
iload 6
invokeinterface org.xml.sax.Attributes.getQName:(I)Ljava/lang/String;
aload 5
invokestatic com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.parseQName:(Ljava/lang/String;[Ljava/lang/String;)V
19: aload 5
iconst_0
aaload
astore 8
start local 8 20: aload 5
iconst_1
aaload
astore 9
start local 9 21: aload 1
iload 6
invokeinterface org.xml.sax.Attributes.getQName:(I)Ljava/lang/String;
astore 10
start local 10 22: aload 1
iload 6
invokeinterface org.xml.sax.Attributes.getValue:(I)Ljava/lang/String;
astore 11
start local 11 23: aload 1
iload 6
invokeinterface org.xml.sax.Attributes.getURI:(I)Ljava/lang/String;
astore 12
start local 12 24: ldc "xmlns"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
ldc "xmlns"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
25: StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter org.xml.sax.Attributes java.util.Collection[] java.util.Map java.util.List java.lang.String[] int int java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 3
ifnonnull 27
26: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
27: StackMap locals:
StackMap stack:
aload 3
aload 9
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 42
28: aload 0
aload 9
aload 11
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.createNamespace:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Namespace;
astore 13
start local 13 29: aload 3
aload 9
aload 13
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 30: goto 42
31: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.lang.String.length:()I
ifle 36
32: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 8
33: aload 12
aload 9
aload 11
34: invokevirtual javax.xml.stream.XMLEventFactory.createAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Attribute;
astore 13
start local 13 35: goto 39
end local 13 36: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 9
37: aload 11
38: invokevirtual javax.xml.stream.XMLEventFactory.createAttribute:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Attribute;
astore 13
start local 13 39: StackMap locals: javax.xml.stream.events.Attribute
StackMap stack:
aload 4
ifnonnull 41
40: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
41: StackMap locals:
StackMap stack:
aload 4
aload 13
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 42: StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter org.xml.sax.Attributes java.util.Collection[] java.util.Map java.util.List java.lang.String[] int int
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
43: iload 6
iload 7
if_icmplt 18
end local 7 end local 6 44: aload 2
iconst_0
aload 3
ifnonnull 45
getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
goto 46
StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter org.xml.sax.Attributes java.util.Collection[] java.util.Map java.util.List java.lang.String[]
StackMap stack: java.util.Collection[] int
45: aload 3
invokeinterface java.util.Map.values:()Ljava/util/Collection;
StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter org.xml.sax.Attributes java.util.Collection[] java.util.Map java.util.List java.lang.String[]
StackMap stack: java.util.Collection[] int java.util.Collection
46: aastore
47: aload 2
iconst_1
aload 4
ifnonnull 48
getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
goto 49
StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter org.xml.sax.Attributes java.util.Collection[] java.util.Map java.util.List java.lang.String[]
StackMap stack: java.util.Collection[] int
48: aload 4
StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter org.xml.sax.Attributes java.util.Collection[] java.util.Map java.util.List java.lang.String[]
StackMap stack: java.util.Collection[] int java.util.List
49: aastore
50: 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 51 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 51 1 attributes Lorg/xml/sax/Attributes;
0 51 2 events [Ljava/util/Collection;
1 51 3 nsMap Ljava/util/Map<Ljava/lang/String;Ljavax/xml/stream/events/Attribute;>;
2 51 4 attrs Ljava/util/List<Ljavax/xml/stream/events/Attribute;>;
4 14 5 nDecls I
5 14 6 i I
7 12 7 prefix Ljava/lang/String;
8 12 8 uri Ljava/lang/String;
9 12 9 ns Ljavax/xml/stream/events/Namespace;
15 51 5 qname [Ljava/lang/String;
16 44 6 i I
17 44 7 s I
20 42 8 attrPrefix Ljava/lang/String;
21 42 9 attrLocal Ljava/lang/String;
22 42 10 attrQName Ljava/lang/String;
23 42 11 attrValue Ljava/lang/String;
24 42 12 attrURI Ljava/lang/String;
29 30 13 ns Ljavax/xml/stream/events/Namespace;
35 36 13 attribute Ljavax/xml/stream/events/Attribute;
39 42 13 attribute Ljavax/xml/stream/events/Attribute;
Signature: (Lorg/xml/sax/Attributes;[Ljava/util/Collection<Ljavax/xml/stream/events/Attribute;>;)V
MethodParameters:
Name Flags
attributes
events
protected javax.xml.stream.events.Namespace createNamespace(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Namespace;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 2
invokevirtual javax.xml.stream.XMLEventFactory.createNamespace:(Ljava/lang/String;)Ljavax/xml/stream/events/Namespace;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter.eventFactory:Ljavax/xml/stream/XMLEventFactory;
aload 1
aload 2
invokevirtual javax.xml.stream.XMLEventFactory.createNamespace:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/stream/events/Namespace;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter;
0 3 1 prefix Ljava/lang/String;
0 3 2 uri Ljava/lang/String;
MethodParameters:
Name Flags
prefix
uri
}
SourceFile: "SAX2StAXEventWriter.java"