public class com.sun.xml.internal.stream.writers.XMLEventWriterImpl implements javax.xml.stream.XMLEventWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.stream.writers.XMLEventWriterImpl
super_class: java.lang.Object
{
private final com.sun.xml.internal.stream.writers.XMLStreamWriterBase fStreamWriter;
descriptor: Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
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
checkcast com.sun.xml.internal.stream.writers.XMLStreamWriterBase
putfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/stream/writers/XMLEventWriterImpl;
0 3 1 streamWriter Ljavax/xml/stream/XMLStreamWriter;
MethodParameters:
Name Flags
streamWriter
public void add(javax.xml.stream.XMLEventReader);
descriptor: (Ljavax/xml/stream/XMLEventReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: new javax.xml.stream.XMLStreamException
dup
ldc "Event reader shouldn't be null"
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.xml.stream.XMLEventReader.nextEvent:()Ljavax/xml/stream/events/XMLEvent;
invokevirtual com.sun.xml.internal.stream.writers.XMLEventWriterImpl.add:(Ljavax/xml/stream/events/XMLEvent;)V
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.XMLEventReader.hasNext:()Z
ifne 2
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/stream/writers/XMLEventWriterImpl;
0 5 1 xMLEventReader Ljavax/xml/stream/XMLEventReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
xMLEventReader
public void add(javax.xml.stream.events.XMLEvent);
descriptor: (Ljavax/xml/stream/events/XMLEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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: 14
2: 63
3: 39
4: 44
5: 36
6: 66
7: 5
8: 65
9: 50
10: 53
11: 2
12: 59
13: 33
default: 66
}
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.DTD.getDocumentTypeDeclaration:()Ljava/lang/String;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeDTD:(Ljava/lang/String;)V
4: goto 66
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.StartDocument.getCharacterEncodingScheme:()Ljava/lang/String;
7: aload 3
invokeinterface javax.xml.stream.events.StartDocument.getVersion:()Ljava/lang/String;
8: aload 3
invokeinterface javax.xml.stream.events.StartDocument.isStandalone:()Z
aload 3
invokeinterface javax.xml.stream.events.StartDocument.standaloneSet:()Z
9: invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeStartDocument:(Ljava/lang/String;Ljava/lang/String;ZZ)V
10: goto 66
StackMap locals: com.sun.xml.internal.stream.writers.XMLEventWriterImpl javax.xml.stream.events.XMLEvent int javax.xml.stream.events.StartDocument
StackMap stack: javax.xml.stream.XMLStreamException
11: pop
12: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.StartDocument.getVersion:()Ljava/lang/String;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeStartDocument:(Ljava/lang/String;)V
13: goto 66
end local 3 14: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.XMLEvent.asStartElement:()Ljavax/xml/stream/events/StartElement;
astore 3
start local 3 15: aload 3
invokeinterface javax.xml.stream.events.StartElement.getName:()Ljavax/xml/namespace/QName;
astore 4
start local 4 16: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 4
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 4
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
17: aload 4
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
18: invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
19: aload 3
invokeinterface javax.xml.stream.events.StartElement.getNamespaces:()Ljava/util/Iterator;
astore 5
start local 5 20: goto 23
21: 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 22: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
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 com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 23: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
24: aload 3
invokeinterface javax.xml.stream.events.StartElement.getAttributes:()Ljava/util/Iterator;
astore 6
start local 6 25: goto 31
26: 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 27: aload 7
invokeinterface javax.xml.stream.events.Attribute.getName:()Ljavax/xml/namespace/QName;
astore 8
start local 8 28: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 8
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 8
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
29: aload 8
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 7
invokeinterface javax.xml.stream.events.Attribute.getValue:()Ljava/lang/String;
30: invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 8 end local 7 31: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
32: goto 66
end local 6 end local 5 end local 4 end local 3 33: StackMap locals: com.sun.xml.internal.stream.writers.XMLEventWriterImpl javax.xml.stream.events.XMLEvent int
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Namespace
astore 3
start local 3 34: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
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 com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
35: goto 66
end local 3 36: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Comment
astore 3
start local 3 37: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.Comment.getText:()Ljava/lang/String;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeComment:(Ljava/lang/String;)V
38: goto 66
end local 3 39: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.ProcessingInstruction
astore 3
start local 3 40: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.ProcessingInstruction.getTarget:()Ljava/lang/String;
41: aload 3
invokeinterface javax.xml.stream.events.ProcessingInstruction.getData:()Ljava/lang/String;
42: invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeProcessingInstruction:(Ljava/lang/String;Ljava/lang/String;)V
43: goto 66
end local 3 44: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.XMLEvent.asCharacters:()Ljavax/xml/stream/events/Characters;
astore 3
start local 3 45: aload 3
invokeinterface javax.xml.stream.events.Characters.isCData:()Z
ifeq 48
46: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.Characters.getData:()Ljava/lang/String;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeCData:(Ljava/lang/String;)V
47: goto 66
48: StackMap locals: javax.xml.stream.events.Characters
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.Characters.getData:()Ljava/lang/String;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeCharacters:(Ljava/lang/String;)V
49: goto 66
end local 3 50: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.EntityReference
astore 3
start local 3 51: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.EntityReference.getName:()Ljava/lang/String;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeEntityRef:(Ljava/lang/String;)V
52: goto 66
end local 3 53: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Attribute
astore 3
start local 3 54: aload 3
invokeinterface javax.xml.stream.events.Attribute.getName:()Ljavax/xml/namespace/QName;
astore 4
start local 4 55: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 4
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 4
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
56: aload 4
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 3
invokeinterface javax.xml.stream.events.Attribute.getValue:()Ljava/lang/String;
57: invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
58: goto 66
end local 4 end local 3 59: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Characters
astore 3
start local 3 60: aload 3
invokeinterface javax.xml.stream.events.Characters.isCData:()Z
ifeq 66
61: aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 3
invokeinterface javax.xml.stream.events.Characters.getData:()Ljava/lang/String;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeCData:(Ljava/lang/String;)V
62: goto 66
end local 3 63: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeEndElement:()V
64: goto 66
65: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.writeEndDocument:()V
66: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 67 0 this Lcom/sun/xml/internal/stream/writers/XMLEventWriterImpl;
0 67 1 xMLEvent Ljavax/xml/stream/events/XMLEvent;
1 67 2 type I
3 5 3 dtd Ljavax/xml/stream/events/DTD;
6 14 3 startDocument Ljavax/xml/stream/events/StartDocument;
15 33 3 startElement Ljavax/xml/stream/events/StartElement;
16 33 4 qname Ljavax/xml/namespace/QName;
20 33 5 iterator Ljava/util/Iterator<+Ljavax/xml/stream/events/Namespace;>;
22 23 6 namespace Ljavax/xml/stream/events/Namespace;
25 33 6 attributes Ljava/util/Iterator<+Ljavax/xml/stream/events/Attribute;>;
27 31 7 attribute Ljavax/xml/stream/events/Attribute;
28 31 8 aqname Ljavax/xml/namespace/QName;
34 36 3 namespace Ljavax/xml/stream/events/Namespace;
37 39 3 comment Ljavax/xml/stream/events/Comment;
40 44 3 processingInstruction Ljavax/xml/stream/events/ProcessingInstruction;
45 50 3 characters Ljavax/xml/stream/events/Characters;
51 53 3 entityReference Ljavax/xml/stream/events/EntityReference;
54 59 3 attribute Ljavax/xml/stream/events/Attribute;
55 59 4 qname Ljavax/xml/namespace/QName;
60 63 3 characters Ljavax/xml/stream/events/Characters;
Exception table:
from to target type
6 10 11 Class javax.xml.stream.XMLStreamException
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
xMLEvent
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/stream/writers/XMLEventWriterImpl;
Exceptions:
throws javax.xml.stream.XMLStreamException
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/stream/writers/XMLEventWriterImpl;
Exceptions:
throws javax.xml.stream.XMLStreamException
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.getNamespaceContext:()Ljavax/xml/namespace/NamespaceContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/stream/writers/XMLEventWriterImpl;
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 1
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.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/stream/writers/XMLEventWriterImpl;
0 1 1 namespaceURI Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
namespaceURI
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 1
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.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/stream/writers/XMLEventWriterImpl;
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 1
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.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/stream/writers/XMLEventWriterImpl;
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.stream.writers.XMLEventWriterImpl.fStreamWriter:Lcom/sun/xml/internal/stream/writers/XMLStreamWriterBase;
aload 1
aload 2
invokeinterface com.sun.xml.internal.stream.writers.XMLStreamWriterBase.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/stream/writers/XMLEventWriterImpl;
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: "XMLEventWriterImpl.java"