public class jdk.internal.util.xml.impl.XMLStreamWriterImpl implements jdk.internal.util.xml.XMLStreamWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.util.xml.impl.XMLStreamWriterImpl
super_class: java.lang.Object
{
static final int STATE_XML_DECL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int STATE_PROLOG;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int STATE_DTD_DECL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int STATE_ELEMENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int ELEMENT_STARTTAG_OPEN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 10
static final int ELEMENT_STARTTAG_CLOSE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 11
static final int ELEMENT_ENDTAG_OPEN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 12
static final int ELEMENT_ENDTAG_CLOSE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 13
public static final char CLOSE_START_TAG;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 62
public static final char OPEN_START_TAG;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 60
public static final java.lang.String OPEN_END_TAG;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "</"
public static final char CLOSE_END_TAG;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 62
public static final java.lang.String START_CDATA;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<![CDATA["
public static final java.lang.String END_CDATA;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "]]>"
public static final java.lang.String CLOSE_EMPTY_ELEMENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "/>"
public static final java.lang.String ENCODING_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "&#x"
public static final char SPACE;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final char AMPERSAND;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 38
public static final char DOUBLEQUOT;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 34
public static final char SEMICOLON;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 59
private int _state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element _currentEle;
descriptor: Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
flags: (0x0002) ACC_PRIVATE
private jdk.internal.util.xml.impl.XMLWriter _writer;
descriptor: Ljdk/internal/util/xml/impl/XMLWriter;
flags: (0x0002) ACC_PRIVATE
private java.nio.charset.Charset _charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
boolean _escapeCharacters;
descriptor: Z
flags: (0x0000)
private boolean _doIndent;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private char[] _lineSep;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic jdk.internal.util.xml.XMLStreamWriter.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
invokespecial jdk.internal.util.xml.impl.XMLStreamWriterImpl.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 2 1 os Ljava/io/OutputStream;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
os
public void <init>(java.io.OutputStream, java.nio.charset.Charset);
descriptor: (Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._state:I
2: aload 0
iconst_1
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._escapeCharacters:Z
3: aload 0
iconst_1
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._doIndent:Z
4: aload 0
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._lineSep:[C
5: aload 2
ifnonnull 8
6: aload 0
getstatic jdk.internal.util.xml.XMLStreamWriter.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._charset:Ljava/nio/charset/Charset;
7: goto 12
8: StackMap locals: jdk.internal.util.xml.impl.XMLStreamWriterImpl java.io.OutputStream java.nio.charset.Charset
StackMap stack:
aload 0
aload 0
aload 2
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.checkCharset:(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._charset:Ljava/nio/charset/Charset;
9: goto 12
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
10: astore 3
start local 3 11: new jdk.internal.util.xml.XMLStreamException
dup
aload 3
invokespecial jdk.internal.util.xml.XMLStreamException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.util.xml.impl.XMLWriter
dup
aload 1
aconst_null
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._charset:Ljava/nio/charset/Charset;
invokespecial jdk.internal.util.xml.impl.XMLWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;Ljava/nio/charset/Charset;)V
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 14 1 os Ljava/io/OutputStream;
0 14 2 cs Ljava/nio/charset/Charset;
11 12 3 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
8 9 10 Class java.io.UnsupportedEncodingException
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
os
cs
public void writeStartDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
ldc "1.0"
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeStartDocument:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
public void writeStartDocument(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
aload 1
aconst_null
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeStartDocument:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 2 1 version Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
version
public void writeStartDocument(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeStartDocument:(Ljava/lang/String;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 Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 2 1 encoding Ljava/lang/String;
0 2 2 version Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
encoding
version
public void writeStartDocument(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=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._state:I
ifle 2
1: new jdk.internal.util.xml.XMLStreamException
dup
ldc "XML declaration must be as the first line in the XML document."
invokespecial jdk.internal.util.xml.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._state:I
3: aload 1
astore 4
start local 4 4: aload 4
ifnonnull 7
5: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
astore 4
6: goto 11
7: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.getCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
pop
8: goto 11
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
9: astore 5
start local 5 10: new jdk.internal.util.xml.XMLStreamException
dup
aload 5
invokespecial jdk.internal.util.xml.XMLStreamException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 13
12: ldc "1.0"
astore 2
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "<?xml version=\""
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
14: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 2
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
15: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 34
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
16: aload 4
ifnull 20
17: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc " encoding=\""
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
18: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 4
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
19: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 34
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
20: StackMap locals:
StackMap stack:
aload 3
ifnull 24
21: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc " standalone=\""
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
22: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 3
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
23: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 34
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "?>"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
25: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeLineSeparator:()V
26: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 27 1 encoding Ljava/lang/String;
0 27 2 version Ljava/lang/String;
0 27 3 standalone Ljava/lang/String;
4 27 4 enc Ljava/lang/String;
10 11 5 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
7 8 9 Class java.io.UnsupportedEncodingException
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
encoding
version
standalone
public void writeDTD(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 jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnull 2
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpne 2
1: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.closeStartTag:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
3: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeLineSeparator:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 5 1 dtd Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
dtd
public void writeStartElement(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
new jdk.internal.util.xml.XMLStreamException
dup
ldc "Local Name cannot be null or empty"
invokespecial jdk.internal.util.xml.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_4
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._state:I
3: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnull 5
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpne 5
4: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.closeStartTag:()V
5: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element
dup
aload 0
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
aload 1
iconst_0
invokespecial jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.<init>:(Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;Ljava/lang/String;Z)V
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
6: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.openStartTag:()V
7: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 9 1 localName Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
localName
public void writeEmptyElement(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnull 2
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpne 2
1: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.closeStartTag:()V
2: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element
dup
aload 0
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
aload 1
iconst_1
invokespecial jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.<init>:(Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;Ljava/lang/String;Z)V
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
3: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.openStartTag:()V
4: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 6 1 localName Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
localName
public void writeAttribute(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpeq 4
1: new jdk.internal.util.xml.XMLStreamException
dup
2: ldc "Attribute not associated with any element"
3: invokespecial jdk.internal.util.xml.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 32
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
5: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
6: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "=\""
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
7: aload 0
8: aload 2
9: iconst_1
10: iconst_1
11: invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeXMLContent:(Ljava/lang/String;ZZ)V
12: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 34
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 14 1 localName Ljava/lang/String;
0 14 2 value Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
localName
value
public void writeEndDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnull 8
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpne 8
1: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.closeStartTag:()V
2: goto 8
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.isEmpty:()Z
ifne 7
4: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "</"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
5: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getLocalName:()Ljava/lang/String;
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
6: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 62
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getParent:()Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnonnull 3
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
public void writeEndElement();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnull 2
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpne 2
1: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.closeStartTag:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnonnull 4
3: new jdk.internal.util.xml.XMLStreamException
dup
ldc "No element was found to write"
invokespecial jdk.internal.util.xml.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.isEmpty:()Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "</"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
7: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getLocalName:()Ljava/lang/String;
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
8: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 62
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
9: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeLineSeparator:()V
10: aload 0
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getParent:()Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
public void writeCData(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new jdk.internal.util.xml.XMLStreamException
dup
ldc "cdata cannot be null"
invokespecial jdk.internal.util.xml.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnull 4
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpne 4
3: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.closeStartTag:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "<![CDATA["
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
5: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
6: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "]]>"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 8 1 cdata Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
cdata
public void writeCharacters(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 jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnull 2
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpne 2
1: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.closeStartTag:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeXMLContent:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 4 1 data Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
data
public void writeCharacters(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnull 2
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getState:()I
bipush 10
if_icmpne 2
1: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.closeStartTag:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._escapeCharacters:Z
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeXMLContent:([CIIZ)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 4 1 data [C
0 4 2 start I
0 4 3 len I
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
data
start
len
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ifnull 2
1: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
invokevirtual jdk.internal.util.xml.impl.XMLWriter.close:()V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
3: aload 0
aconst_null
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
4: aload 0
iconst_0
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._state:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
Exceptions:
throws jdk.internal.util.xml.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 jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ifnull 2
1: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
invokevirtual jdk.internal.util.xml.impl.XMLWriter.flush:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
public void setDoIndent(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._doIndent:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 2 1 doIndent Z
MethodParameters:
Name Flags
doIndent
private void writeXMLContent(char[], int, int, boolean);
descriptor: ([CIIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
ifne 3
1: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 2
iload 3
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:([CII)V
2: return
3: StackMap locals:
StackMap stack:
iload 2
istore 5
start local 5 4: iload 2
iload 3
iadd
istore 6
start local 6 5: iload 2
istore 7
start local 7 6: goto 28
7: StackMap locals: int int int
StackMap stack:
aload 1
iload 7
caload
istore 8
start local 8 8: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
iload 8
invokevirtual jdk.internal.util.xml.impl.XMLWriter.canEncode:(C)Z
ifne 15
9: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 5
iload 7
iload 5
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:([CII)V
10: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "&#x"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
11: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
iload 8
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
12: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 59
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
13: iload 7
iconst_1
iadd
istore 5
14: goto 27
15: StackMap locals: int
StackMap stack:
iload 8
lookupswitch { // 3
38: 20
60: 16
62: 24
default: 27
}
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 5
iload 7
iload 5
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:([CII)V
17: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "<"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
18: iload 7
iconst_1
iadd
istore 5
19: goto 27
20: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 5
iload 7
iload 5
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:([CII)V
21: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "&"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
22: iload 7
iconst_1
iadd
istore 5
23: goto 27
24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 5
iload 7
iload 5
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:([CII)V
25: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc ">"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
26: iload 7
iconst_1
iadd
istore 5
end local 8 27: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
28: iload 7
iload 6
if_icmplt 7
end local 7 29: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 5
iload 6
iload 5
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:([CII)V
30: 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 31 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 31 1 content [C
0 31 2 start I
0 31 3 length I
0 31 4 escapeChars Z
4 31 5 startWritePos I
5 31 6 end I
6 29 7 index I
8 27 8 ch C
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
content
start
length
escapeChars
private void writeXMLContent(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 5
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
1: aload 0
aload 1
2: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._escapeCharacters:Z
3: iconst_0
4: invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeXMLContent:(Ljava/lang/String;ZZ)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 6 1 content Ljava/lang/String;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
content
private void writeXMLContent(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifne 3
1: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 4: aload 1
invokevirtual java.lang.String.length:()I
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 35
7: StackMap locals: int int int
StackMap stack:
aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 8: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
iload 7
invokevirtual jdk.internal.util.xml.impl.XMLWriter.canEncode:(C)Z
ifne 15
9: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 4
iload 6
iload 4
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;II)V
10: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "&#x"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
11: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
iload 7
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
12: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 59
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
13: iload 6
iconst_1
iadd
istore 4
14: goto 34
15: StackMap locals: int
StackMap stack:
iload 7
lookupswitch { // 4
34: 28
38: 20
60: 16
62: 24
default: 34
}
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 4
iload 6
iload 4
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;II)V
17: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "<"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
18: iload 6
iconst_1
iadd
istore 4
19: goto 34
20: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 4
iload 6
iload 4
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;II)V
21: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "&"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
22: iload 6
iconst_1
iadd
istore 4
23: goto 34
24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 4
iload 6
iload 4
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;II)V
25: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc ">"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
26: iload 6
iconst_1
iadd
istore 4
27: goto 34
28: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 4
iload 6
iload 4
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;II)V
29: iload 3
ifeq 32
30: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc """
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
31: goto 33
32: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 34
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
33: StackMap locals:
StackMap stack:
iload 6
iconst_1
iadd
istore 4
end local 7 34: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
35: iload 6
iload 5
if_icmplt 7
end local 6 36: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 1
iload 4
iload 5
iload 4
isub
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;II)V
37: 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 38 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 38 1 content Ljava/lang/String;
0 38 2 escapeChars Z
0 38 3 escapeDoubleQuotes Z
4 38 4 startWritePos I
5 38 5 end I
6 36 6 index I
8 34 7 ch C
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
MethodParameters:
Name Flags
content
escapeChars
escapeDoubleQuotes
private void openStartTag();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
bipush 10
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.setState:(I)V
1: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 60
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
private void closeStartTag();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.isEmpty:()Z
ifeq 3
1: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
ldc "/>"
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
bipush 62
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:(I)V
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.getParent:()Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
ifnonnull 6
5: aload 0
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl.writeLineSeparator:()V
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._currentEle:Ljdk/internal/util/xml/impl/XMLStreamWriterImpl$Element;
bipush 11
invokevirtual jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element.setState:(I)V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
private void writeLineSeparator();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._doIndent:Z
ifeq 2
1: aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._writer:Ljdk/internal/util/xml/impl/XMLWriter;
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._lineSep:[C
iconst_0
aload 0
getfield jdk.internal.util.xml.impl.XMLStreamWriterImpl._lineSep:[C
arraylength
invokevirtual jdk.internal.util.xml.impl.XMLWriter.write:([CII)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
Exceptions:
throws jdk.internal.util.xml.XMLStreamException
private java.nio.charset.Charset getCharset(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "UTF-32"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
1: new java.io.UnsupportedEncodingException
dup
new java.lang.StringBuilder
dup
ldc "The basic XMLWriter does not support "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
astore 2
start local 2 5: goto 8
end local 2 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
6: pop
7: new java.io.UnsupportedEncodingException
dup
aload 1
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
start local 2 8: StackMap locals: java.nio.charset.Charset
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 9 1 encoding Ljava/lang/String;
5 6 2 cs Ljava/nio/charset/Charset;
8 9 2 cs Ljava/nio/charset/Charset;
Exception table:
from to target type
4 5 6 Class java.nio.charset.IllegalCharsetNameException
4 5 6 Class java.nio.charset.UnsupportedCharsetException
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
encoding
private java.nio.charset.Charset checkCharset(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
ldc "UTF-32"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
1: new java.io.UnsupportedEncodingException
dup
new java.lang.StringBuilder
dup
ldc "The basic XMLWriter does not support "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/util/xml/impl/XMLStreamWriterImpl;
0 5 1 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
charset
}
SourceFile: "XMLStreamWriterImpl.java"
NestMembers:
jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element
InnerClasses:
protected Element = jdk.internal.util.xml.impl.XMLStreamWriterImpl$Element of jdk.internal.util.xml.impl.XMLStreamWriterImpl