public class com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter implements javax.xml.stream.XMLEventWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter
super_class: java.lang.Object
{
private javax.xml.stream.XMLStreamWriter _streamWriter;
descriptor: Ljavax/xml/stream/XMLStreamWriter;
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.xml.stream.XMLStreamWriter);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;)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
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
0 3 1 streamWriter Ljavax/xml/stream/XMLStreamWriter;
MethodParameters:
Name Flags
streamWriter
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
invokeinterface javax.xml.stream.XMLStreamWriter.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
Exceptions:
throws javax.xml.stream.XMLStreamException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
invokeinterface javax.xml.stream.XMLStreamWriter.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
Exceptions:
throws javax.xml.stream.XMLStreamException
public void add(javax.xml.stream.XMLEventReader);
descriptor: (Ljavax/xml/stream/XMLEventReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
new javax.xml.stream.XMLStreamException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.nullEventReader"
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
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.xml.stream.XMLEventReader.nextEvent:()Ljavax/xml/stream/events/XMLEvent;
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter.add:(Ljavax/xml/stream/events/XMLEvent;)V
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.XMLEventReader.hasNext:()Z
ifne 1
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
0 4 1 eventReader Ljavax/xml/stream/XMLEventReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
eventReader
public void add(javax.xml.stream.events.XMLEvent);
descriptor: (Ljavax/xml/stream/events/XMLEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.xml.stream.events.XMLEvent.getEventType:()I
istore 2
start local 2 1: iload 2
tableswitch { // 1 - 13
1: 8
2: 51
3: 31
4: 34
5: 28
6: 55
7: 5
8: 53
9: 40
10: 43
11: 2
12: 47
13: 25
default: 55
}
2: StackMap locals: int
StackMap stack:
aload 1
checkcast javax.xml.stream.events.DTD
astore 3
start local 3 3: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.DTD.getDocumentTypeDeclaration:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeDTD:(Ljava/lang/String;)V
4: goto 56
end local 3 5: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.StartDocument
astore 3
start local 3 6: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.StartDocument.getCharacterEncodingScheme:()Ljava/lang/String;
aload 3
invokeinterface javax.xml.stream.events.StartDocument.getVersion:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeStartDocument:(Ljava/lang/String;Ljava/lang/String;)V
7: goto 56
end local 3 8: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.XMLEvent.asStartElement:()Ljavax/xml/stream/events/StartElement;
astore 3
start local 3 9: aload 3
invokeinterface javax.xml.stream.events.StartElement.getName:()Ljavax/xml/namespace/QName;
astore 4
start local 4 10: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 4
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 4
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 4
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
11: aload 3
invokeinterface javax.xml.stream.events.StartElement.getNamespaces:()Ljava/util/Iterator;
astore 5
start local 5 12: goto 15
13: StackMap locals: javax.xml.stream.events.StartElement javax.xml.namespace.QName java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.stream.events.Namespace
astore 6
start local 6 14: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 6
invokeinterface javax.xml.stream.events.Namespace.getPrefix:()Ljava/lang/String;
aload 6
invokeinterface javax.xml.stream.events.Namespace.getNamespaceURI:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 15: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
16: aload 3
invokeinterface javax.xml.stream.events.StartElement.getAttributes:()Ljava/util/Iterator;
astore 6
start local 6 17: goto 23
18: StackMap locals: java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.stream.events.Attribute
astore 7
start local 7 19: aload 7
invokeinterface javax.xml.stream.events.Attribute.getName:()Ljavax/xml/namespace/QName;
astore 8
start local 8 20: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 8
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 8
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
21: aload 8
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 7
invokeinterface javax.xml.stream.events.Attribute.getValue:()Ljava/lang/String;
22: invokeinterface javax.xml.stream.XMLStreamWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 8 end local 7 23: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
24: goto 56
end local 6 end local 5 end local 4 end local 3 25: StackMap locals: com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter javax.xml.stream.events.XMLEvent int
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Namespace
astore 3
start local 3 26: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.Namespace.getPrefix:()Ljava/lang/String;
aload 3
invokeinterface javax.xml.stream.events.Namespace.getNamespaceURI:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
27: goto 56
end local 3 28: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Comment
astore 3
start local 3 29: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.Comment.getText:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeComment:(Ljava/lang/String;)V
30: goto 56
end local 3 31: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.ProcessingInstruction
astore 3
start local 3 32: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.ProcessingInstruction.getTarget:()Ljava/lang/String;
aload 3
invokeinterface javax.xml.stream.events.ProcessingInstruction.getData:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeProcessingInstruction:(Ljava/lang/String;Ljava/lang/String;)V
33: goto 56
end local 3 34: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.XMLEvent.asCharacters:()Ljavax/xml/stream/events/Characters;
astore 3
start local 3 35: aload 3
invokeinterface javax.xml.stream.events.Characters.isCData:()Z
ifeq 38
36: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.Characters.getData:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeCData:(Ljava/lang/String;)V
37: goto 56
38: StackMap locals: javax.xml.stream.events.Characters
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.Characters.getData:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeCharacters:(Ljava/lang/String;)V
39: goto 56
end local 3 40: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.EntityReference
astore 3
start local 3 41: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.EntityReference.getName:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeEntityRef:(Ljava/lang/String;)V
42: goto 56
end local 3 43: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Attribute
astore 3
start local 3 44: aload 3
invokeinterface javax.xml.stream.events.Attribute.getName:()Ljavax/xml/namespace/QName;
astore 4
start local 4 45: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 4
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 4
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
aload 4
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 3
invokeinterface javax.xml.stream.events.Attribute.getValue:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
46: goto 56
end local 4 end local 3 47: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Characters
astore 3
start local 3 48: aload 3
invokeinterface javax.xml.stream.events.Characters.isCData:()Z
ifeq 56
49: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.events.Characters.getData:()Ljava/lang/String;
invokeinterface javax.xml.stream.XMLStreamWriter.writeCData:(Ljava/lang/String;)V
50: goto 56
end local 3 51: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
invokeinterface javax.xml.stream.XMLStreamWriter.writeEndElement:()V
52: goto 56
53: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
invokeinterface javax.xml.stream.XMLStreamWriter.writeEndDocument:()V
54: goto 56
55: StackMap locals:
StackMap stack:
new javax.xml.stream.XMLStreamException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.eventTypeNotSupported"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic com.sun.xml.internal.fastinfoset.stax.events.Util.getEventTypeString:(I)Ljava/lang/String;
aastore
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
56: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
0 57 1 event Ljavax/xml/stream/events/XMLEvent;
1 57 2 type I
3 5 3 dtd Ljavax/xml/stream/events/DTD;
6 8 3 startDocument Ljavax/xml/stream/events/StartDocument;
9 25 3 startElement Ljavax/xml/stream/events/StartElement;
10 25 4 qname Ljavax/xml/namespace/QName;
12 25 5 iterator Ljava/util/Iterator;
14 15 6 namespace Ljavax/xml/stream/events/Namespace;
17 25 6 attributes Ljava/util/Iterator;
19 23 7 attribute Ljavax/xml/stream/events/Attribute;
20 23 8 name Ljavax/xml/namespace/QName;
26 28 3 namespace Ljavax/xml/stream/events/Namespace;
29 31 3 comment Ljavax/xml/stream/events/Comment;
32 34 3 processingInstruction Ljavax/xml/stream/events/ProcessingInstruction;
35 40 3 characters Ljavax/xml/stream/events/Characters;
41 43 3 entityReference Ljavax/xml/stream/events/EntityReference;
44 47 3 attribute Ljavax/xml/stream/events/Attribute;
45 47 4 qname Ljavax/xml/namespace/QName;
48 51 3 characters Ljavax/xml/stream/events/Characters;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
event
public java.lang.String getPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 1
invokeinterface javax.xml.stream.XMLStreamWriter.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
0 1 1 uri Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
uri
public javax.xml.namespace.NamespaceContext getNamespaceContext();
descriptor: ()Ljavax/xml/namespace/NamespaceContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
invokeinterface javax.xml.stream.XMLStreamWriter.getNamespaceContext:()Ljavax/xml/namespace/NamespaceContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
public void setDefaultNamespace(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
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 1
invokeinterface javax.xml.stream.XMLStreamWriter.setDefaultNamespace:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
0 2 1 uri Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
uri
public void setNamespaceContext(javax.xml.namespace.NamespaceContext);
descriptor: (Ljavax/xml/namespace/NamespaceContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 1
invokeinterface javax.xml.stream.XMLStreamWriter.setNamespaceContext:(Ljavax/xml/namespace/NamespaceContext;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventWriter;
0 2 1 namespaceContext Ljavax/xml/namespace/NamespaceContext;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
namespaceContext
public void setPrefix(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventWriter._streamWriter:Ljavax/xml/stream/XMLStreamWriter;
aload 1
aload 2
invokeinterface javax.xml.stream.XMLStreamWriter.setPrefix:(Ljava/lang/String;Ljava/lang/String;)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/StAXEventWriter;
0 2 1 prefix Ljava/lang/String;
0 2 2 uri Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
uri
}
SourceFile: "StAXEventWriter.java"