public abstract class com.sun.org.apache.xml.internal.serializer.ToStream extends com.sun.org.apache.xml.internal.serializer.SerializerBase
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.xml.internal.serializer.ToStream
super_class: com.sun.org.apache.xml.internal.serializer.SerializerBase
{
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "<!--"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "-->"
protected com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack m_disableOutputEscapingStates;
descriptor: Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
flags: (0x0004) ACC_PROTECTED
com.sun.org.apache.xml.internal.serializer.EncodingInfo m_encodingInfo;
descriptor: Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
flags: (0x0000)
java.lang.reflect.Method m_canConvertMeth;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0000)
boolean m_triedToGetConverter;
descriptor: Z
flags: (0x0000)
java.lang.Object m_charToByteConverter;
descriptor: Ljava/lang/Object;
flags: (0x0000)
protected com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer m_charactersBuffer;
descriptor: Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
flags: (0x0004) ACC_PROTECTED
protected java.util.List<java.lang.Integer> m_childNodeNumStack;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Ljava/lang/Integer;>;
protected int m_childNodeNum;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack m_preserveSpaces;
descriptor: Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
flags: (0x0004) ACC_PROTECTED
protected boolean m_ispreserveSpace;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean m_isprevtext;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected int m_maxCharacter;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected char[] m_lineSep;
descriptor: [C
flags: (0x0004) ACC_PROTECTED
protected boolean m_lineSepUse;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected int m_lineSepLen;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected com.sun.org.apache.xml.internal.serializer.CharInfo m_charInfo;
descriptor: Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
flags: (0x0004) ACC_PROTECTED
boolean m_shouldFlush;
descriptor: Z
flags: (0x0000)
protected boolean m_spaceBeforeClose;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
boolean m_startNewLine;
descriptor: Z
flags: (0x0000)
protected boolean m_inDoctype;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
boolean m_isUTF8;
descriptor: Z
flags: (0x0000)
protected boolean m_cdataStartCalled;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private boolean m_expandDTDEntities;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean m_escaping;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
java.io.OutputStream m_outputStream;
descriptor: Ljava/io/OutputStream;
flags: (0x0000)
private boolean m_writer_set_by_user;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.<init>:()V
1: aload 0
new com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack
dup
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.<init>:()V
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_disableOutputEscapingStates:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
2: aload 0
new com.sun.org.apache.xml.internal.serializer.EncodingInfo
dup
aconst_null
aconst_null
invokespecial com.sun.org.apache.xml.internal.serializer.EncodingInfo.<init>:(Ljava/lang/String;Ljava/lang/String;)V
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_encodingInfo:Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
3: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_triedToGetConverter:Z
4: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charToByteConverter:Ljava/lang/Object;
5: aload 0
new com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer
dup
aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.<init>:(Lcom/sun/org/apache/xml/internal/serializer/ToStream;)V
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
6: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNumStack:Ljava/util/List;
7: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
8: aload 0
new com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack
dup
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.<init>:()V
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
9: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
10: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isprevtext:Z
11: aload 0
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.getLastPrintable:()I
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_maxCharacter:I
12: aload 0
13: ldc "line.separator"
invokestatic jdk.xml.internal.SecuritySupport.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
14: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepUse:Z
15: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
arraylength
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
16: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_shouldFlush:Z
17: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_spaceBeforeClose:Z
18: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inDoctype:Z
19: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isUTF8:Z
20: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataStartCalled:Z
21: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_expandDTDEntities:Z
22: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_escaping:Z
23: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
protected void closeCDATA();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc "]]>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
1: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
2: goto 5
3: StackMap locals:
StackMap stack: java.io.IOException
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:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
4 5 1 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
public void serialize(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new com.sun.org.apache.xml.internal.serializer.TreeWalker
dup
aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.TreeWalker.<init>:(Lorg/xml/sax/ContentHandler;)V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.TreeWalker.traverse:(Lorg/w3c/dom/Node;)V
end local 2 2: goto 5
StackMap locals:
StackMap stack: org.xml.sax.SAXException
3: astore 2
start local 2 4: new com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 6 1 node Lorg/w3c/dom/Node;
1 2 2 walker Lcom/sun/org/apache/xml/internal/serializer/TreeWalker;
4 5 2 se Lorg/xml/sax/SAXException;
Exception table:
from to target type
0 2 3 Class org.xml.sax.SAXException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
node
static final boolean isUTF16Surrogate(char);
descriptor: (C)Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc 64512
iand
ldc 55296
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c C
MethodParameters:
Name Flags
c
protected final void flushWriter();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 1
start local 1 1: aload 1
ifnull 14
2: aload 1
instanceof com.sun.org.apache.xml.internal.serializer.WriterToUTF8Buffered
ifeq 6
3: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_shouldFlush:Z
ifeq 5
4: aload 1
checkcast com.sun.org.apache.xml.internal.serializer.WriterToUTF8Buffered
invokevirtual com.sun.org.apache.xml.internal.serializer.WriterToUTF8Buffered.flush:()V
goto 6
5: StackMap locals: java.io.Writer
StackMap stack:
aload 1
checkcast com.sun.org.apache.xml.internal.serializer.WriterToUTF8Buffered
invokevirtual com.sun.org.apache.xml.internal.serializer.WriterToUTF8Buffered.flushBuffer:()V
6: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.org.apache.xml.internal.serializer.WriterToASCI
ifeq 10
7: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_shouldFlush:Z
ifeq 14
8: aload 1
invokevirtual java.io.Writer.flush:()V
9: goto 14
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.Writer.flush:()V
11: goto 14
StackMap locals:
StackMap stack: java.io.IOException
12: astore 2
start local 2 13: new org.xml.sax.SAXException
dup
aload 2
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
1 15 1 writer Ljava/io/Writer;
13 14 2 ioe Ljava/io/IOException;
Exception table:
from to target type
2 11 12 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
public java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_outputStream:Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
public void elementDecl(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.xml.internal.serializer.ToStream.m_inExternalDTD:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 3
start local 3 3: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.DTDprolog:()V
4: aload 3
ldc "<!ELEMENT "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 3
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: aload 3
bipush 32
invokevirtual java.io.Writer.write:(I)V
7: aload 3
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 3
bipush 62
invokevirtual java.io.Writer.write:(I)V
9: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
end local 3 10: goto 13
11: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 12: new org.xml.sax.SAXException
dup
aload 3
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 14 1 name Ljava/lang/String;
0 14 2 model Ljava/lang/String;
3 10 3 writer Ljava/io/Writer;
12 13 3 e Ljava/io/IOException;
Exception table:
from to target type
2 10 11 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
model
public void internalEntityDecl(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inExternalDTD:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.DTDprolog:()V
3: aload 0
aload 1
aload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.outputEntityDecl:(Ljava/lang/String;Ljava/lang/String;)V
4: goto 7
StackMap locals:
StackMap stack: java.io.IOException
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/xml/internal/serializer/ToStream;
0 8 1 name Ljava/lang/String;
0 8 2 value Ljava/lang/String;
6 7 3 e Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
value
void outputEntityDecl(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
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.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 3
start local 3 1: aload 3
ldc "<!ENTITY "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 3
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 3
ldc " \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: aload 3
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 3
ldc "\">"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 8 1 name Ljava/lang/String;
0 8 2 value Ljava/lang/String;
1 8 3 writer Ljava/io/Writer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
value
protected final void outputLineSep();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
Exceptions:
throws java.io.IOException
void setProp(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=6, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 106
1: aload 1
invokestatic com.sun.org.apache.xml.internal.serializer.ToStream.getFirstCharLocName:(Ljava/lang/String;)C
istore 4
start local 4 2: iload 4
tableswitch { // 99 - 118
99: 3
100: 6
101: 14
102: 105
103: 105
104: 105
105: 73
106: 105
107: 105
108: 82
109: 86
110: 105
111: 89
112: 105
113: 105
114: 105
115: 95
116: 105
117: 105
118: 102
default: 105
}
3: StackMap locals: int
StackMap stack:
ldc "cdata-section-elements"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
4: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addCdataSectionElements:(Ljava/lang/String;)V
5: goto 105
6: StackMap locals:
StackMap stack:
ldc "doctype-system"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doctypeSystem:Ljava/lang/String;
8: goto 105
StackMap locals:
StackMap stack:
9: ldc "doctype-public"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
10: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doctypePublic:Ljava/lang/String;
11: aload 2
ldc "-//W3C//DTD XHTML"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 105
12: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_spaceBeforeClose:Z
13: goto 105
14: StackMap locals:
StackMap stack:
aload 2
astore 5
start local 5 15: ldc "encoding"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
16: aload 2
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.getMimeEncoding:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 17: aload 6
ifnull 21
18: aload 0
ldc "mime-name"
aload 6
19: iload 3
20: invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.setProp:(Ljava/lang/String;Ljava/lang/String;Z)V
21: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
ldc "encoding"
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputPropertyNonDefault:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 22: aload 0
ldc "encoding"
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputPropertyDefault:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 23: iload 3
ifeq 24
aload 8
ifnull 25
aload 8
aload 5
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 25
24: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iload 3
ifne 105
aload 7
ifnull 25
aload 7
aload 5
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 105
25: StackMap locals:
StackMap stack:
aload 5
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.getEncodingInfo:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
astore 9
start local 9 26: aload 5
ifnull 60
aload 9
getfield com.sun.org.apache.xml.internal.serializer.EncodingInfo.name:Ljava/lang/String;
ifnonnull 60
27: getstatic com.sun.org.apache.xml.internal.serializer.utils.Utils.messages:Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
28: ldc "ER_ENCODING_NOT_SUPPORTED"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
29: invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 10
start local 10 30: new java.lang.StringBuilder
dup
ldc "Warning: encoding \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" not supported, using "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: ldc "UTF-8"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: astore 11
start local 11 34: aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.getTransformer:()Ljavax/xml/transform/Transformer;
astore 12
start local 12 35: aload 12
ifnull 53
36: aload 12
37: invokevirtual javax.xml.transform.Transformer.getErrorListener:()Ljavax/xml/transform/ErrorListener;
38: astore 13
start local 13 39: aload 13
ifnull 50
40: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_sourceLocator:Ljavax/xml/transform/SourceLocator;
ifnull 50
41: aload 13
42: new javax.xml.transform.TransformerException
dup
43: aload 10
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_sourceLocator:Ljavax/xml/transform/SourceLocator;
44: invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)V
invokeinterface javax.xml.transform.ErrorListener.warning:(Ljavax/xml/transform/TransformerException;)V
45: aload 13
46: new javax.xml.transform.TransformerException
dup
47: aload 11
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_sourceLocator:Ljavax/xml/transform/SourceLocator;
48: invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)V
invokeinterface javax.xml.transform.ErrorListener.warning:(Ljavax/xml/transform/TransformerException;)V
49: goto 57
50: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int int java.lang.String java.lang.String java.lang.String java.lang.String com.sun.org.apache.xml.internal.serializer.EncodingInfo java.lang.String java.lang.String javax.xml.transform.Transformer javax.xml.transform.ErrorListener
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 10
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
51: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 11
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 13 52: goto 57
53: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 10
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
54: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 11
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 12 55: goto 57
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int int java.lang.String java.lang.String java.lang.String java.lang.String com.sun.org.apache.xml.internal.serializer.EncodingInfo java.lang.String java.lang.String
StackMap stack: java.lang.Exception
56: pop
57: StackMap locals:
StackMap stack:
ldc "UTF-8"
astore 5
58: ldc "UTF-8"
astore 2
59: aload 5
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.getEncodingInfo:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
astore 9
end local 11 end local 10 60: StackMap locals:
StackMap stack:
iload 3
ifeq 61
aload 7
ifnonnull 105
61: StackMap locals:
StackMap stack:
aload 0
aload 9
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_encodingInfo:Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
62: aload 5
ifnull 64
63: aload 0
aload 5
ldc "UTF-8"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isUTF8:Z
64: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputStream:()Ljava/io/OutputStream;
astore 10
start local 10 65: aload 10
ifnull 105
66: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getWriter:()Ljava/io/Writer;
astore 11
start local 11 67: aload 0
ldc "encoding"
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 12
start local 12 68: aload 11
ifnull 69
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer_set_by_user:Z
ifne 105
69: StackMap locals: java.io.OutputStream java.io.Writer java.lang.String
StackMap stack:
aload 5
aload 12
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 105
70: aload 0
aload 1
aload 2
iload 3
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.setProp:(Ljava/lang/String;Ljava/lang/String;Z)V
71: aload 0
aload 10
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setOutputStreamInternal:(Ljava/io/OutputStream;Z)V
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 72: goto 105
end local 5 73: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int int
StackMap stack:
ldc "{http://xml.apache.org/xalan}indent-amount"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 76
74: aload 0
aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setIndentAmount:(I)V
75: goto 105
StackMap locals:
StackMap stack:
76: ldc "indent"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
77: aload 2
ldc "yes"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 78
iconst_1
goto 79
StackMap locals:
StackMap stack:
78: iconst_0
StackMap locals:
StackMap stack: int
79: istore 6
start local 6 80: aload 0
iload 6
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
end local 6 81: goto 105
82: StackMap locals:
StackMap stack:
ldc "{http://xml.apache.org/xalan}line-separator"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
83: aload 0
aload 2
invokevirtual java.lang.String.toCharArray:()[C
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
84: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
arraylength
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
85: goto 105
86: StackMap locals:
StackMap stack:
ldc "media-type"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
87: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_mediatype:Ljava/lang/String;
88: goto 105
89: StackMap locals:
StackMap stack:
ldc "omit-xml-declaration"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
90: aload 2
ldc "yes"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 91
iconst_1
goto 92
StackMap locals:
StackMap stack:
91: iconst_0
StackMap locals:
StackMap stack: int
92: istore 6
start local 6 93: aload 0
iload 6
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_shouldNotWriteXMLHeader:Z
end local 6 94: goto 105
95: StackMap locals:
StackMap stack:
ldc "standalone"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
96: iload 3
ifeq 99
97: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setStandaloneInternal:(Ljava/lang/String;)V
98: goto 105
99: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_standaloneWasSpecified:Z
100: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setStandaloneInternal:(Ljava/lang/String;)V
101: goto 105
102: StackMap locals:
StackMap stack:
ldc "version"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
103: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_version:Ljava/lang/String;
104: goto 105
105: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.setProp:(Ljava/lang/String;Ljava/lang/String;Z)V
end local 4 106: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 107 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 107 1 name Ljava/lang/String;
0 107 2 val Ljava/lang/String;
0 107 3 defaultVal Z
2 106 4 first C
15 73 5 newEncoding Ljava/lang/String;
17 72 6 possible_encoding Ljava/lang/String;
22 72 7 oldExplicitEncoding Ljava/lang/String;
23 72 8 oldDefaultEncoding Ljava/lang/String;
26 72 9 encodingInfo Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
30 60 10 msg Ljava/lang/String;
34 60 11 msg2 Ljava/lang/String;
35 55 12 tran Ljavax/xml/transform/Transformer;
39 52 13 errHandler Ljavax/xml/transform/ErrorListener;
65 72 10 os Ljava/io/OutputStream;
67 72 11 w Ljava/io/Writer;
68 72 12 oldEncoding Ljava/lang/String;
80 81 6 b Z
93 94 6 b Z
Exception table:
from to target type
34 55 56 Class java.lang.Exception
MethodParameters:
Name Flags
name
val
defaultVal
public void setOutputFormat(java.util.Properties);
descriptor: (Ljava/util/Properties;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_shouldFlush:Z
istore 2
start local 2 1: aload 1
ifnull 12
2: aload 1
invokevirtual java.util.Properties.propertyNames:()Ljava/util/Enumeration;
astore 3
start local 3 3: goto 11
4: StackMap locals: int java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 1
aload 4
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 6: aload 1
aload 4
invokevirtual java.util.Properties.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 6
ifnonnull 9
aload 5
ifnull 9
8: aload 0
aload 4
aload 5
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setOutputPropertyDefault:(Ljava/lang/String;Ljava/lang/String;)V
9: StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 6
ifnull 11
10: aload 0
aload 4
aload 6
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
end local 3 12: StackMap locals:
StackMap stack:
aload 1
ldc "{http://xml.apache.org/xalan}entities"
invokevirtual java.util.Properties.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
13: astore 3
start local 3 14: aload 3
ifnull 17
15: aload 1
ldc "method"
invokevirtual java.util.Properties.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 16: aload 0
aload 3
aload 4
invokestatic com.sun.org.apache.xml.internal.serializer.CharInfo.getCharInfo:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
end local 4 17: StackMap locals: java.lang.String
StackMap stack:
aload 0
iload 2
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_shouldFlush:Z
18: return
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/xml/internal/serializer/ToStream;
0 19 1 format Ljava/util/Properties;
1 19 2 shouldFlush Z
3 12 3 propNames Ljava/util/Enumeration<*>;
5 11 4 key Ljava/lang/String;
6 11 5 value Ljava/lang/String;
7 11 6 explicitValue Ljava/lang/String;
14 19 3 entitiesFileName Ljava/lang/String;
16 17 4 method Ljava/lang/String;
MethodParameters:
Name Flags
format
public java.util.Properties getOutputFormat();
descriptor: ()Ljava/util/Properties;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputPropDefaultKeys:()Ljava/util/Set;
astore 2
start local 2 2: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.util.Properties java.util.Set top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 0
aload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputPropertyDefault:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 5: aload 1
aload 3
aload 5
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 7: new java.util.Properties
dup
aload 1
invokespecial java.util.Properties.<init>:(Ljava/util/Properties;)V
astore 2
start local 2 8: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputPropKeys:()Ljava/util/Set;
astore 3
start local 3 9: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.util.Properties java.util.Properties java.util.Set top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 11: aload 0
aload 4
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputPropertyNonDefault:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 12: aload 6
ifnull 14
13: aload 2
aload 4
aload 6
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 4 14: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 3 15: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
1 16 1 def Ljava/util/Properties;
2 7 2 s Ljava/util/Set<Ljava/lang/String;>;
4 6 3 key Ljava/lang/String;
5 6 5 val Ljava/lang/String;
8 16 2 props Ljava/util/Properties;
9 15 3 s Ljava/util/Set<Ljava/lang/String;>;
11 14 4 key Ljava/lang/String;
12 14 6 val Ljava/lang/String;
public void setWriter(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setWriterInternal:(Ljava/io/Writer;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 writer Ljava/io/Writer;
MethodParameters:
Name Flags
writer
private void setWriterInternal(java.io.Writer, boolean);
descriptor: (Ljava/io/Writer;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer_set_by_user:Z
1: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 13
3: iconst_1
istore 3
start local 3 4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 4
start local 4 5: goto 10
6: StackMap locals: int java.io.Writer
StackMap stack:
aload 4
instanceof com.sun.org.apache.xml.internal.serializer.SerializerTraceWriter
ifeq 9
7: iconst_0
istore 3
8: goto 11
9: StackMap locals:
StackMap stack:
aload 4
checkcast com.sun.org.apache.xml.internal.serializer.WriterChain
invokeinterface com.sun.org.apache.xml.internal.serializer.WriterChain.getWriter:()Ljava/io/Writer;
astore 4
10: StackMap locals:
StackMap stack:
aload 4
instanceof com.sun.org.apache.xml.internal.serializer.WriterChain
ifne 6
11: StackMap locals:
StackMap stack:
iload 3
ifeq 13
12: aload 0
new com.sun.org.apache.xml.internal.serializer.SerializerTraceWriter
dup
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerTraceWriter.<init>:(Ljava/io/Writer;Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;)V
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
end local 4 end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 14 1 writer Ljava/io/Writer;
0 14 2 setByUser Z
4 13 3 noTracerYet Z
5 13 4 w2 Ljava/io/Writer;
MethodParameters:
Name Flags
writer
setByUser
public boolean setLineSepUse(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepUse:Z
istore 2
start local 2 1: aload 0
iload 1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepUse:Z
2: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 3 1 use_sytem_line_break Z
1 3 2 oldValue Z
MethodParameters:
Name Flags
use_sytem_line_break
public void setOutputStream(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
iconst_1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setOutputStreamInternal:(Ljava/io/OutputStream;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 output Ljava/io/OutputStream;
MethodParameters:
Name Flags
output
private void setOutputStreamInternal(java.io.OutputStream, boolean);
descriptor: (Ljava/io/OutputStream;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_outputStream:Ljava/io/OutputStream;
1: aload 0
ldc "encoding"
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getOutputProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: ldc "UTF-8"
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
3: aload 0
new com.sun.org.apache.xml.internal.serializer.WriterToUTF8Buffered
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.serializer.WriterToUTF8Buffered.<init>:(Ljava/io/OutputStream;)V
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setWriterInternal:(Ljava/io/Writer;Z)V
4: goto 38
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.io.OutputStream int java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
5: astore 4
start local 4 6: aload 4
invokevirtual java.io.UnsupportedEncodingException.printStackTrace:()V
end local 4 7: goto 38
8: StackMap locals:
StackMap stack:
ldc "WINDOWS-1250"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
9: ldc "US-ASCII"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
10: ldc "ASCII"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: StackMap locals:
StackMap stack:
aload 0
new com.sun.org.apache.xml.internal.serializer.WriterToASCI
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.serializer.WriterToASCI.<init>:(Ljava/io/OutputStream;)V
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setWriterInternal:(Ljava/io/Writer;Z)V
12: goto 38
StackMap locals:
StackMap stack:
13: aload 3
ifnull 36
14: aconst_null
astore 4
start local 4 15: aload 1
aload 3
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.getWriter:(Ljava/io/OutputStream;Ljava/lang/String;)Ljava/io/Writer;
astore 4
16: goto 19
17: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.io.OutputStream int java.lang.String java.io.Writer
StackMap stack: java.io.UnsupportedEncodingException
pop
18: aconst_null
astore 4
19: StackMap locals:
StackMap stack:
aload 4
ifnonnull 34
20: getstatic java.lang.System.out:Ljava/io/PrintStream;
21: new java.lang.StringBuilder
dup
ldc "Warning: encoding \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: ldc "\" not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: ldc ", using "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: ldc "UTF-8"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
28: ldc "UTF-8"
astore 3
29: aload 0
aload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setEncoding:(Ljava/lang/String;)V
30: aload 1
aload 3
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.getWriter:(Ljava/io/OutputStream;Ljava/lang/String;)Ljava/io/Writer;
astore 4
31: goto 34
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
32: astore 5
start local 5 33: aload 5
invokevirtual java.io.UnsupportedEncodingException.printStackTrace:()V
end local 5 34: StackMap locals:
StackMap stack:
aload 0
aload 4
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setWriterInternal:(Ljava/io/Writer;Z)V
end local 4 35: goto 38
36: StackMap locals:
StackMap stack:
new java.io.OutputStreamWriter
dup
aload 1
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 37: aload 0
aload 4
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setWriterInternal:(Ljava/io/Writer;Z)V
end local 4 38: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 39 1 output Ljava/io/OutputStream;
0 39 2 setByUser Z
2 39 3 encoding Ljava/lang/String;
6 7 4 e Ljava/io/UnsupportedEncodingException;
15 35 4 osw Ljava/io/Writer;
33 34 5 e Ljava/io/UnsupportedEncodingException;
37 38 4 osw Ljava/io/Writer;
Exception table:
from to target type
3 4 5 Class java.io.UnsupportedEncodingException
15 16 17 Class java.io.UnsupportedEncodingException
30 31 32 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
output
setByUser
public boolean setEscaping(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_escaping:Z
istore 2
start local 2 1: aload 0
iload 1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_escaping:Z
2: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 3 1 escape Z
1 3 2 temp Z
MethodParameters:
Name Flags
escape
protected void indent(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_startNewLine:Z
ifeq 2
1: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.outputLineSep:()V
2: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_indentAmount:I
imul
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.printSpace:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 4 1 depth I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
depth
protected void indent();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.indent:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
Exceptions:
throws java.io.IOException
private void printSpace(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: java.io.Writer int
StackMap stack:
aload 2
bipush 32
invokevirtual java.io.Writer.write:(I)V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 1
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 7 1 n I
1 7 2 writer Ljava/io/Writer;
2 6 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public void attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inExternalDTD:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 6
start local 6 3: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.DTDprolog:()V
4: aload 6
ldc "<!ATTLIST "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 6
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: aload 6
bipush 32
invokevirtual java.io.Writer.write:(I)V
7: aload 6
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 6
bipush 32
invokevirtual java.io.Writer.write:(I)V
9: aload 6
aload 3
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
10: aload 4
ifnull 13
11: aload 6
bipush 32
invokevirtual java.io.Writer.write:(I)V
12: aload 6
aload 4
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
13: StackMap locals: java.io.Writer
StackMap stack:
aload 6
bipush 62
invokevirtual java.io.Writer.write:(I)V
14: aload 6
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
end local 6 15: goto 18
16: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: java.io.IOException
astore 6
start local 6 17: new org.xml.sax.SAXException
dup
aload 6
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 6 18: StackMap locals:
StackMap stack:
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/xml/internal/serializer/ToStream;
0 19 1 eName Ljava/lang/String;
0 19 2 aName Ljava/lang/String;
0 19 3 type Ljava/lang/String;
0 19 4 valueDefault Ljava/lang/String;
0 19 5 value Ljava/lang/String;
3 15 6 writer Ljava/io/Writer;
17 18 6 e Ljava/io/IOException;
Exception table:
from to target type
2 15 16 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
eName
aName
type
valueDefault
value
public java.io.Writer getWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
public void externalEntityDecl(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=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.DTDprolog:()V
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc "<!ENTITY "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 2
ifnull 7
4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc " PUBLIC \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc " SYSTEM \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 3
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc "\" >"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
10: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
11: goto 14
StackMap locals:
StackMap stack: java.io.IOException
12: astore 4
start local 4 13: aload 4
invokevirtual java.io.IOException.printStackTrace:()V
end local 4 14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 15 1 name Ljava/lang/String;
0 15 2 publicId Ljava/lang/String;
0 15 3 systemId Ljava/lang/String;
13 14 4 e Ljava/io/IOException;
Exception table:
from to target type
0 11 12 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
publicId
systemId
protected boolean escapingNotNeeded(char);
descriptor: (C)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
bipush 127
if_icmpge 6
1: iload 1
bipush 32
if_icmpge 2
bipush 10
iload 1
if_icmpeq 2
bipush 13
iload 1
if_icmpeq 2
bipush 9
iload 1
if_icmpne 4
2: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 3: goto 7
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 5: goto 7
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_encodingInfo:Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
iload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.EncodingInfo.isInEncoding:(C)Z
istore 2
start local 2 7: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 8 1 ch C
3 4 2 ret Z
5 6 2 ret Z
7 8 2 ret Z
MethodParameters:
Name Flags
ch
protected int writeUTF16Surrogate(char, char[], int, int);
descriptor: (C[CII)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: iload 3
iconst_1
iadd
iload 4
if_icmplt 8
2: new java.io.IOException
dup
3: getstatic com.sun.org.apache.xml.internal.serializer.utils.Utils.messages:Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
4: ldc "ER_INVALID_UTF16_SURROGATE"
5: iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
aastore
6: invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: int
StackMap stack:
iload 1
istore 6
start local 6 9: aload 2
iload 3
iconst_1
iadd
caload
istore 7
start local 7 10: iload 7
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.isLowUTF16Surrogate:(C)Z
ifne 21
11: new java.io.IOException
dup
12: getstatic com.sun.org.apache.xml.internal.serializer.utils.Utils.messages:Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
13: ldc "ER_INVALID_UTF16_SURROGATE"
14: iconst_1
anewarray java.lang.Object
dup
iconst_0
15: new java.lang.StringBuilder
dup
iload 1
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: iload 7
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
19: invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
20: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 8
start local 8 22: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_encodingInfo:Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
iload 1
iload 7
invokevirtual com.sun.org.apache.xml.internal.serializer.EncodingInfo.isInEncoding:(CC)Z
ifeq 25
23: aload 8
aload 2
iload 3
iconst_2
invokevirtual java.io.Writer.write:([CII)V
24: goto 34
25: StackMap locals: java.io.Writer
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getEncoding:()Ljava/lang/String;
astore 9
start local 9 26: aload 9
ifnull 33
27: iload 6
iload 7
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.toCodePoint:(CC)I
istore 5
28: aload 8
bipush 38
invokevirtual java.io.Writer.write:(I)V
29: aload 8
bipush 35
invokevirtual java.io.Writer.write:(I)V
30: aload 8
iload 5
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
31: aload 8
bipush 59
invokevirtual java.io.Writer.write:(I)V
32: goto 34
33: StackMap locals: java.lang.String
StackMap stack:
aload 8
aload 2
iload 3
iconst_2
invokevirtual java.io.Writer.write:([CII)V
end local 9 34: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 8 end local 7 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 35 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 35 1 c C
0 35 2 ch [C
0 35 3 i I
0 35 4 end I
1 35 5 codePoint I
9 35 6 high C
10 35 7 low C
22 35 8 writer Ljava/io/Writer;
26 34 9 encoding Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
ch
i
end
protected int accumDefaultEntity(java.io.Writer, char, int, char[], int, boolean, boolean);
descriptor: (Ljava/io/Writer;CI[CIZZ)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 7
ifne 3
bipush 10
iload 2
if_icmpne 3
1: aload 1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
2: goto 11
3: StackMap locals:
StackMap stack:
iload 6
ifeq 4
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.isSpecialTextChar:(I)Z
ifne 5
StackMap locals:
StackMap stack:
4: iload 6
ifne 10
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.isSpecialAttrChar:(I)Z
ifeq 10
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.getOutputStringForChar:(C)Ljava/lang/String;
astore 8
start local 8 6: aload 8
ifnull 9
7: aload 1
aload 8
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: goto 11
9: StackMap locals: java.lang.String
StackMap stack:
iload 3
ireturn
end local 8 10: StackMap locals:
StackMap stack:
iload 3
ireturn
11: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
ireturn
end local 7 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 12 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 12 1 writer Ljava/io/Writer;
0 12 2 ch C
0 12 3 i I
0 12 4 chars [C
0 12 5 len I
0 12 6 fromTextNode Z
0 12 7 escLF Z
6 10 8 outputStringForChar Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
ch
i
chars
len
fromTextNode
escLF
void writeNormalizedChars(char[], int, int, boolean, boolean);
descriptor: ([CIIZZ)V
flags: (0x0000)
Code:
stack=5, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 6
start local 6 1: iload 2
iload 3
iadd
istore 7
start local 7 2: iload 2
istore 8
start local 8 3: goto 47
4: StackMap locals: java.io.Writer int int
StackMap stack:
aload 1
iload 8
caload
istore 9
start local 9 5: bipush 10
iload 9
if_icmpne 8
iload 5
ifeq 8
6: aload 6
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
7: goto 46
8: StackMap locals: int
StackMap stack:
iload 4
ifeq 20
aload 0
iload 9
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.escapingNotNeeded:(C)Z
ifne 20
9: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 11
10: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
11: StackMap locals:
StackMap stack:
iload 9
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.isHighUTF16Surrogate:(C)Z
ifeq 15
12: aload 0
iload 9
aload 1
iload 8
iload 7
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.writeUTF16Surrogate:(C[CII)I
pop
13: iinc 8 1
14: goto 46
15: StackMap locals:
StackMap stack:
aload 6
ldc "&#"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
16: iload 9
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 10
start local 10 17: aload 6
aload 10
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
18: aload 6
bipush 59
invokevirtual java.io.Writer.write:(I)V
end local 10 19: goto 46
20: StackMap locals:
StackMap stack:
iload 4
ifeq 28
21: iload 8
iload 7
iconst_2
isub
if_icmpge 28
22: bipush 93
iload 9
if_icmpne 28
23: bipush 93
aload 1
iload 8
iconst_1
iadd
caload
if_icmpne 28
24: bipush 62
aload 1
iload 8
iconst_2
iadd
caload
if_icmpne 28
25: aload 6
ldc "]]]]><![CDATA[>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
26: iinc 8 2
27: goto 46
28: StackMap locals:
StackMap stack:
aload 0
iload 9
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.escapingNotNeeded:(C)Z
ifeq 34
29: iload 4
ifeq 32
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifne 32
30: aload 6
ldc "<![CDATA["
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
31: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
32: StackMap locals:
StackMap stack:
aload 6
iload 9
invokevirtual java.io.Writer.write:(I)V
33: goto 46
34: StackMap locals:
StackMap stack:
iload 9
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.isHighUTF16Surrogate:(C)Z
ifeq 40
35: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 37
36: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
37: StackMap locals:
StackMap stack:
aload 0
iload 9
aload 1
iload 8
iload 7
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.writeUTF16Surrogate:(C[CII)I
pop
38: iinc 8 1
39: goto 46
40: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 42
41: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
42: StackMap locals:
StackMap stack:
aload 6
ldc "&#"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
43: iload 9
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 10
start local 10 44: aload 6
aload 10
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
45: aload 6
bipush 59
invokevirtual java.io.Writer.write:(I)V
end local 10 end local 9 46: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
47: iload 8
iload 7
if_icmplt 4
end local 8 48: return
end local 7 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 49 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 49 1 ch [C
0 49 2 start I
0 49 3 length I
0 49 4 isCData Z
0 49 5 useSystemLineSeparator Z
1 49 6 writer Ljava/io/Writer;
2 49 7 end I
3 48 8 i I
5 46 9 c C
17 19 10 intStr Ljava/lang/String;
44 46 10 intStr Ljava/lang/String;
Exceptions:
throws java.io.IOException, org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length
isCData
useSystemLineSeparator
public void endNonEscaping();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_disableOutputEscapingStates:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.pop:()Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
Exceptions:
throws org.xml.sax.SAXException
public void startNonEscaping();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_disableOutputEscapingStates:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
iconst_1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.push:(Z)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
Exceptions:
throws org.xml.sax.SAXException
protected void cdata(char[], int, int);
descriptor: ([CII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
istore 4
start local 4 1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 4
2: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeStartTag:()V
3: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
4: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldIndent:()Z
ifeq 6
5: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.indent:()V
6: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmplt 8
aload 0
aload 1
iload 2
caload
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.escapingNotNeeded:(C)Z
ifeq 8
7: iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 5
start local 5 10: iload 5
ifeq 13
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifne 13
11: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc "<![CDATA["
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
12: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
13: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isEscapingDisabled:()Z
ifeq 16
14: aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.charactersRaw:([CII)V
15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iconst_1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepUse:Z
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.writeNormalizedChars:([CIIZZ)V
17: StackMap locals:
StackMap stack:
iload 5
ifeq 20
18: aload 1
iload 2
iload 3
iadd
iconst_1
isub
caload
bipush 93
if_icmpne 20
19: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 31
21: aload 0
aload 1
iload 4
iload 3
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.fireCDATAEvent:([CII)V
end local 5 end local 4 22: goto 31
23: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream char[] int int
StackMap stack: java.io.IOException
astore 4
start local 4 24: new org.xml.sax.SAXException
dup
25: getstatic com.sun.org.apache.xml.internal.serializer.utils.Utils.messages:Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
26: ldc "ER_OIERROR"
27: aconst_null
28: invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
29: aload 4
30: invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 4 31: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 32 1 ch [C
0 32 2 start I
0 32 3 length I
1 22 4 old_start I
10 22 5 writeCDataBrackets Z
24 31 4 ioe Ljava/io/IOException;
Exception table:
from to target type
0 22 23 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length final
private boolean isEscapingDisabled();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_disableOutputEscapingStates:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.peekOrFalse:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
protected void charactersRaw(char[], int, int);
descriptor: ([CII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isInEntityRef:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 5
3: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeStartTag:()V
4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 1
iload 2
iload 3
invokevirtual java.io.Writer.write:([CII)V
6: goto 9
7: StackMap locals:
StackMap stack: java.io.IOException
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/xml/internal/serializer/ToStream;
0 10 1 ch [C
0 10 2 start I
0 10 3 length I
8 9 4 e Ljava/io/IOException;
Exception table:
from to target type
2 6 7 Class java.io.IOException
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=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 1
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isInEntityRef:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldFormatOutput:()Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 9
6: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeStartTag:()V
7: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
8: goto 11
9: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToCallStartDocument:Z
ifeq 11
10: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startDocumentInternal:()V
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataStartCalled:Z
ifne 12
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_isCdataSection:Z
ifeq 14
12: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.cdata:([CII)V
13: return
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 16
15: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_disableOutputEscapingStates:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.peekOrFalse:()Z
ifne 17
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_escaping:Z
ifne 25
17: StackMap locals:
StackMap stack:
iload 4
ifeq 21
18: aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.charactersRaw:([CII)V
19: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isprevtext:Z
20: goto 22
21: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.addRawText:([CII)V
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 24
23: aload 0
aload 1
iload 2
iload 3
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.fireCharEvent:([CII)V
24: StackMap locals:
StackMap stack:
return
25: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 28
26: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeStartTag:()V
27: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
28: StackMap locals:
StackMap stack:
iload 4
ifeq 31
29: aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.outputCharacters:([CII)V
30: goto 32
31: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.addText:([CII)V
32: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 34
33: aload 0
aload 1
iload 2
iload 3
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.fireCharEvent:([CII)V
34: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 35 1 chars [C
0 35 2 start I
0 35 3 length I
5 35 4 shouldNotFormat Z
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
chars final
start final
length final
protected boolean shouldFormatOutput();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
ifeq 1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
public boolean getIndent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldFormatOutput:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
private void outputCharacters(char[], int, int);
descriptor: ([CII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
iadd
istore 7
start local 7 1: iload 2
iconst_1
isub
istore 8
start local 8 2: iload 2
istore 4
start local 4 3: goto 8
start local 5 4: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream char[] int int int int top int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 5
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.isTextASCIIClean:(I)Z
ifne 7
5: aload 0
aload 1
iload 7
iload 4
iload 5
iload 8
iconst_1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.processDirty:([CIICIZ)I
istore 8
6: iload 8
istore 4
7: StackMap locals:
StackMap stack:
iinc 4 1
end local 5 8: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream char[] int int int top top int int
StackMap stack:
iload 4
iload 7
if_icmpge 14
9: aload 1
iload 4
caload
dup
istore 5
start local 5 10: bipush 32
if_icmpeq 4
11: iload 5
bipush 10
if_icmpne 12
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepUse:Z
ifne 4
12: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream char[] int int int int top int int
StackMap stack:
iload 5
bipush 13
if_icmpeq 4
13: iload 5
bipush 9
if_icmpeq 4
end local 5 14: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream char[] int int int top top int int
StackMap stack:
ldc "1.0"
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getVersion:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 9
start local 9 15: goto 32
start local 10 16: StackMap locals: int int
StackMap stack:
iinc 4 1
end local 10 17: StackMap locals:
StackMap stack:
iload 4
iload 7
if_icmpge 21
18: aload 1
iload 4
caload
dup
istore 10
start local 10 19: bipush 127
if_icmpge 21
20: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 10
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.isTextASCIIClean:(I)Z
ifne 16
end local 10 21: StackMap locals:
StackMap stack:
iload 4
iload 7
if_icmpne 23
22: goto 33
23: StackMap locals:
StackMap stack:
aload 1
iload 4
caload
istore 10
start local 10 24: iload 10
invokestatic com.sun.org.apache.xml.internal.serializer.ToStream.isCharacterInC0orC1Range:(C)Z
ifne 27
25: iload 9
ifne 26
iload 10
invokestatic com.sun.org.apache.xml.internal.serializer.ToStream.isNELorLSEPCharacter:(C)Z
ifne 27
26: StackMap locals: int
StackMap stack:
aload 0
iload 10
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.escapingNotNeeded:(C)Z
ifeq 27
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 10
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.isSpecialTextChar:(I)Z
ifeq 31
27: StackMap locals:
StackMap stack:
bipush 34
iload 10
if_icmpne 29
28: goto 31
29: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 7
iload 4
iload 10
iload 8
iconst_1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.processDirty:([CIICIZ)I
istore 8
30: iload 8
istore 4
end local 10 31: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
32: iload 4
iload 7
if_icmplt 17
33: StackMap locals:
StackMap stack:
iload 8
iconst_1
iadd
istore 6
start local 6 34: iload 4
iload 6
if_icmple 37
35: iload 4
iload 6
isub
istore 10
start local 10 36: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 1
iload 6
iload 10
invokevirtual java.io.Writer.write:([CII)V
end local 10 37: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream char[] int int int top int int int int
StackMap stack:
aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isprevtext:Z
end local 9 end local 8 end local 7 end local 6 end local 4 38: goto 41
39: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream char[] int int
StackMap stack: java.io.IOException
astore 4
start local 4 40: new org.xml.sax.SAXException
dup
aload 4
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 41: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 42 1 chars [C
0 42 2 start I
0 42 3 length I
3 38 4 i I
4 8 5 ch1 C
10 14 5 ch1 C
34 38 6 startClean I
1 38 7 end I
2 38 8 lastDirty I
15 38 9 isXML10 Z
16 17 10 ch2 C
19 21 10 ch2 C
24 31 10 ch C
36 37 10 lengthClean I
40 41 4 e Ljava/io/IOException;
Exception table:
from to target type
0 38 39 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
chars final
start final
length final
protected final void flushCharactersBuffer();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldFormatOutput:()Z
ifeq 19
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.isAnyCharactersBuffered:()Z
ifeq 19
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_isCdataSection:Z
ifeq 6
2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.toChars:()[C
astore 1
start local 1 3: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.cdata:([CII)V
4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.clear:()V
5: return
end local 1 6: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
iconst_1
iadd
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
7: iconst_0
istore 1
start local 1 8: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldIndentForText:()Z
ifeq 12
9: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.indent:()V
10: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_startNewLine:Z
11: iconst_1
istore 1
12: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
iload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.flush:(Z)V
end local 1 13: goto 19
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream
StackMap stack: java.io.IOException
14: astore 1
start local 1 15: new org.xml.sax.SAXException
dup
aload 1
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
17: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.clear:()V
18: aload 2
athrow
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.clear:()V
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
3 6 1 chars [C
8 13 1 skipBeginningNewlines Z
15 16 1 e Ljava/io/IOException;
Exception table:
from to target type
0 4 14 Class java.io.IOException
6 13 14 Class java.io.IOException
0 4 16 any
6 16 16 any
Exceptions:
throws org.xml.sax.SAXException
protected boolean shouldIndentForText();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldIndent:()Z
ifeq 1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
iconst_1
if_icmple 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
private static boolean isCharacterInC0orC1Range(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 9
if_icmpeq 1
iload 0
bipush 10
if_icmpeq 1
iload 0
bipush 13
if_icmpne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 0
bipush 127
if_icmplt 3
iload 0
sipush 159
if_icmple 5
StackMap locals:
StackMap stack:
3: iload 0
iconst_1
if_icmplt 4
iload 0
bipush 31
if_icmple 5
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ch C
MethodParameters:
Name Flags
ch
private static boolean isNELorLSEPCharacter(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
sipush 133
if_icmpeq 1
iload 0
sipush 8232
if_icmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch
private int processDirty(char[], int, int, char, int, boolean);
descriptor: ([CIICIZ)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: iload 5
iconst_1
iadd
istore 7
start local 7 1: iload 3
iload 7
if_icmple 4
2: iload 3
iload 7
isub
istore 8
start local 8 3: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 1
iload 7
iload 8
invokevirtual java.io.Writer.write:([CII)V
end local 8 4: StackMap locals: int
StackMap stack:
bipush 10
iload 4
if_icmpne 7
iload 6
ifeq 7
5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
6: goto 18
7: StackMap locals:
StackMap stack:
aload 0
8: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
9: iload 4
10: iload 3
11: aload 1
12: iload 2
13: iload 6
14: iconst_0
15: invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.accumDefaultEscape:(Ljava/io/Writer;CI[CIZZ)I
16: istore 7
17: iload 7
iconst_1
isub
istore 3
18: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 7 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 19 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 19 1 chars [C
0 19 2 end I
0 19 3 i I
0 19 4 ch C
0 19 5 lastDirty I
0 19 6 fromTextNode Z
1 19 7 startClean I
3 4 8 lengthClean I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chars
end
i
ch
lastDirty
fromTextNode
public void characters(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isInEntityRef:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 3: iload 2
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charsBuff:[C
arraylength
if_icmple 5
4: aload 0
iload 2
iconst_2
imul
iconst_1
iadd
newarray 5
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charsBuff:[C
5: StackMap locals: int
StackMap stack:
aload 1
iconst_0
iload 2
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charsBuff:[C
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
6: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charsBuff:[C
iconst_0
iload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.characters:([CII)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 8 1 s Ljava/lang/String;
3 8 2 length I
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
s
protected int accumDefaultEscape(java.io.Writer, char, int, char[], int, boolean, boolean);
descriptor: (Ljava/io/Writer;CI[CIZZ)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
iload 2
iload 3
aload 4
iload 5
iload 6
iload 7
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.accumDefaultEntity:(Ljava/io/Writer;CI[CIZZ)I
istore 8
start local 8 1: iload 3
iload 8
if_icmpne 45
2: iload 2
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.isHighUTF16Surrogate:(C)Z
ifeq 29
3: iconst_0
istore 10
start local 10 4: iload 3
iconst_1
iadd
iload 5
if_icmplt 11
5: new java.io.IOException
dup
6: getstatic com.sun.org.apache.xml.internal.serializer.utils.Utils.messages:Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
7: ldc "ER_INVALID_UTF16_SURROGATE"
8: iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
aastore
9: invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.io.Writer int int char[] int int int int top int
StackMap stack:
aload 4
iinc 3 1
iload 3
caload
istore 9
start local 9 12: iload 9
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.isLowUTF16Surrogate:(C)Z
ifne 23
13: new java.io.IOException
dup
14: getstatic com.sun.org.apache.xml.internal.serializer.utils.Utils.messages:Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
15: ldc "ER_INVALID_UTF16_SURROGATE"
16: iconst_1
anewarray java.lang.Object
dup
iconst_0
17: new java.lang.StringBuilder
dup
iload 2
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: iload 9
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
21: invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
22: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.io.Writer int int char[] int int int int int int
StackMap stack:
iload 2
iload 9
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.toCodePoint:(CC)I
istore 10
24: aload 1
ldc "&#"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
25: aload 1
iload 10
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
26: aload 1
bipush 59
invokevirtual java.io.Writer.write:(I)V
27: iinc 8 2
end local 10 end local 9 28: goto 45
29: StackMap locals:
StackMap stack:
iload 2
invokestatic com.sun.org.apache.xml.internal.serializer.ToStream.isCharacterInC0orC1Range:(C)Z
ifne 31
30: ldc "1.1"
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getVersion:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
iload 2
invokestatic com.sun.org.apache.xml.internal.serializer.ToStream.isNELorLSEPCharacter:(C)Z
ifeq 35
31: StackMap locals:
StackMap stack:
aload 1
ldc "&#"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
32: aload 1
iload 2
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
33: aload 1
bipush 59
invokevirtual java.io.Writer.write:(I)V
34: goto 44
35: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.escapingNotNeeded:(C)Z
ifeq 38
36: iload 6
ifeq 37
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.isSpecialTextChar:(I)Z
ifne 38
37: StackMap locals:
StackMap stack:
iload 6
ifne 43
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.isSpecialAttrChar:(I)Z
ifeq 43
38: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
ifle 43
39: aload 1
ldc "&#"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
40: aload 1
iload 2
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
41: aload 1
bipush 59
invokevirtual java.io.Writer.write:(I)V
42: goto 44
43: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.io.Writer.write:(I)V
44: StackMap locals:
StackMap stack:
iinc 8 1
45: StackMap locals:
StackMap stack:
iload 8
ireturn
end local 8 end local 7 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 46 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 46 1 writer Ljava/io/Writer;
0 46 2 ch C
0 46 3 i I
0 46 4 chars [C
0 46 5 len I
0 46 6 fromTextNode Z
0 46 7 escLF Z
1 46 8 pos I
12 28 9 next C
4 28 10 codePoint I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
ch
i
chars
len
fromTextNode
escLF
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=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isInEntityRef:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
ifeq 5
3: aload 0
dup
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
iconst_1
iadd
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
4: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.flushCharactersBuffer:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToCallStartDocument:Z
ifeq 9
6: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startDocumentInternal:()V
7: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToCallStartDocument:Z
8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 11
10: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToOutputDocTypeDecl:Z
ifeq 14
12: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getDoctypeSystem:()Ljava/lang/String;
ifnull 14
13: aload 0
aload 3
iconst_1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.outputDocTypeDecl:(Ljava/lang/String;Z)V
14: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToOutputDocTypeDecl:Z
15: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 18
16: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeStartTag:()V
17: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
18: StackMap locals:
StackMap stack:
aload 1
ifnull 20
19: aload 0
aload 1
aload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.ensurePrefixIsDeclared:(Ljava/lang/String;Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldIndent:()Z
ifeq 22
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_startNewLine:Z
ifeq 22
21: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.indent:()V
22: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_startNewLine:Z
23: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 5
start local 5 24: aload 5
bipush 60
invokevirtual java.io.Writer.write:(I)V
25: aload 5
aload 3
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
end local 5 26: goto 29
27: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 28: new org.xml.sax.SAXException
dup
aload 5
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 5 29: StackMap locals:
StackMap stack:
aload 4
ifnull 31
30: aload 0
aload 4
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addAttributes:(Lorg/xml/sax/Attributes;)V
31: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
ifeq 36
32: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.peekOrFalse:()Z
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
33: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.push:(Z)Z
pop
34: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNumStack:Ljava/util/List;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
35: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
36: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
aload 1
aload 2
aload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ElemContext.push:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
37: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isprevtext:Z
38: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 40
39: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.firePseudoAttributes:()V
40: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 41 1 namespaceURI Ljava/lang/String;
0 41 2 localName Ljava/lang/String;
0 41 3 name Ljava/lang/String;
0 41 4 atts Lorg/xml/sax/Attributes;
24 26 5 writer Ljava/io/Writer;
28 29 5 e Ljava/io/IOException;
Exception table:
from to target type
11 26 27 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
localName
name
atts
public void startElement(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=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 elementNamespaceURI Ljava/lang/String;
0 2 2 elementLocalName Ljava/lang/String;
0 2 3 elementName Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
elementNamespaceURI
elementLocalName
elementName
public void startElement(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
aload 1
aconst_null
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 elementName Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
elementName
void outputDocTypeDecl(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 2
1: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 3
start local 3 3: aload 3
ldc "<!DOCTYPE "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: aload 3
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getDoctypePublic:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ifnull 10
7: aload 3
ldc " PUBLIC \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 3
aload 4
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
9: aload 3
bipush 34
invokevirtual java.io.Writer.write:(I)V
10: StackMap locals: java.io.Writer java.lang.String
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getDoctypeSystem:()Ljava/lang/String;
astore 5
start local 5 11: aload 5
ifnull 22
12: aload 4
ifnonnull 14
13: aload 3
ldc " SYSTEM \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
goto 15
14: StackMap locals: java.lang.String
StackMap stack:
aload 3
ldc " \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
16: iload 2
ifeq 21
17: aload 3
ldc "\">"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
18: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
19: iconst_0
istore 2
20: goto 22
21: StackMap locals:
StackMap stack:
aload 3
bipush 34
invokevirtual java.io.Writer.write:(I)V
22: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 23: iload 6
ifeq 30
24: iload 2
ifeq 30
25: aload 3
bipush 62
invokevirtual java.io.Writer.write:(I)V
26: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
end local 6 end local 5 end local 4 end local 3 27: goto 30
28: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String int
StackMap stack: java.io.IOException
astore 3
start local 3 29: new org.xml.sax.SAXException
dup
aload 3
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 30: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 31 1 name Ljava/lang/String;
0 31 2 closeDecl Z
3 27 3 writer Ljava/io/Writer;
6 27 4 doctypePublic Ljava/lang/String;
11 27 5 doctypeSystem Ljava/lang/String;
23 27 6 dothis Z
29 30 3 e Ljava/io/IOException;
Exception table:
from to target type
2 27 28 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
closeDecl
public void processAttributes(java.io.Writer, int);
descriptor: (Ljava/io/Writer;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.getEncoding:()Ljava/lang/String;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 11
3: StackMap locals: java.lang.String int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
iload 4
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.getQName:(I)Ljava/lang/String;
astore 5
start local 5 4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
iload 4
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.getValue:(I)Ljava/lang/String;
astore 6
start local 6 5: aload 1
bipush 32
invokevirtual java.io.Writer.write:(I)V
6: aload 1
aload 5
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: aload 1
ldc "=\""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 0
aload 1
aload 6
aload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.writeAttrString:(Ljava/io/Writer;Ljava/lang/String;Ljava/lang/String;)V
9: aload 1
bipush 34
invokevirtual java.io.Writer.write:(I)V
end local 6 end local 5 10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 2
if_icmplt 3
end local 4 12: return
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/xml/internal/serializer/ToStream;
0 13 1 writer Ljava/io/Writer;
0 13 2 nAttrs I
1 13 3 encoding Ljava/lang/String;
2 12 4 i I
4 10 5 name Ljava/lang/String;
5 10 6 value Ljava/lang/String;
Exceptions:
throws java.io.IOException, org.xml.sax.SAXException
MethodParameters:
Name Flags
writer
nAttrs
public void writeAttrString(java.io.Writer, java.lang.String, java.lang.String);
descriptor: (Ljava/io/Writer;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.String.length:()I
istore 4
start local 4 1: iload 4
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attrBuff:[C
arraylength
if_icmple 3
2: aload 0
iload 4
iconst_2
imul
iconst_1
iadd
newarray 5
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attrBuff:[C
3: StackMap locals: int
StackMap stack:
aload 2
iconst_0
iload 4
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attrBuff:[C
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attrBuff:[C
astore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 13
7: StackMap locals: char[] int
StackMap stack:
aload 5
iload 6
caload
istore 7
start local 7 8: aload 0
iload 7
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.escapingNotNeeded:(C)Z
ifeq 12
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
iload 7
invokevirtual com.sun.org.apache.xml.internal.serializer.CharInfo.isSpecialAttrChar:(I)Z
ifne 12
9: aload 1
iload 7
invokevirtual java.io.Writer.write:(I)V
10: iinc 6 1
11: goto 13
12: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 7
iload 6
aload 5
iload 4
iconst_0
iconst_1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.accumDefaultEscape:(Ljava/io/Writer;CI[CIZZ)I
istore 6
end local 7 13: StackMap locals:
StackMap stack:
iload 6
iload 4
if_icmplt 7
end local 6 14: 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 15 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 15 1 writer Ljava/io/Writer;
0 15 2 string Ljava/lang/String;
0 15 3 encoding Ljava/lang/String;
1 15 4 len I
5 15 5 stringChars [C
6 14 6 i I
8 13 7 ch C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
string
encoding
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=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isInEntityRef:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
ifeq 4
3: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.flushCharactersBuffer:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
aconst_null
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.popNamespaces:(ILorg/xml/sax/ContentHandler;)V
5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 4
start local 4 6: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 17
7: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 9
8: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_elementName:Ljava/lang/String;
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.fireStartElem:(Ljava/lang/String;)V
9: StackMap locals: java.io.Writer
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.getLength:()I
istore 5
start local 5 10: iload 5
ifle 13
11: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
iload 5
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.processAttributes:(Ljava/io/Writer;I)V
12: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.clear:()V
13: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_spaceBeforeClose:Z
ifeq 15
14: aload 4
ldc " />"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
goto 28
15: StackMap locals:
StackMap stack:
aload 4
ldc "/>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
end local 5 16: goto 28
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 19
18: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldIndent:()Z
ifeq 21
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
iconst_1
if_icmpgt 20
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isprevtext:Z
ifne 21
20: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
iconst_1
isub
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.indent:(I)V
21: StackMap locals:
StackMap stack:
aload 4
bipush 60
invokevirtual java.io.Writer.write:(I)V
22: aload 4
bipush 47
invokevirtual java.io.Writer.write:(I)V
23: aload 4
aload 3
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
24: aload 4
bipush 62
invokevirtual java.io.Writer.write:(I)V
end local 4 25: goto 28
26: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String java.lang.String
StackMap stack: java.io.IOException
astore 4
start local 4 27: new org.xml.sax.SAXException
dup
aload 4
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 28: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
ifeq 32
29: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.popAndTop:()Z
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
30: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNumStack:Ljava/util/List;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNumStack:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
31: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isprevtext:Z
32: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 34
33: aload 0
aload 3
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.fireEndElem:(Ljava/lang/String;)V
34: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_prev:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
35: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 36 1 namespaceURI Ljava/lang/String;
0 36 2 localName Ljava/lang/String;
0 36 3 name Ljava/lang/String;
6 25 4 writer Ljava/io/Writer;
10 16 5 nAttrs I
27 28 4 e Ljava/io/IOException;
Exception table:
from to target type
5 25 26 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
localName
name
public void endElement(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
aconst_null
aconst_null
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.endElement:(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 Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 name Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
public void startPrefixMapping(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
iconst_1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startPrefixMapping:(Ljava/lang/String;Ljava/lang/String;Z)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 prefix Ljava/lang/String;
0 2 2 uri Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
prefix
uri
public boolean startPrefixMapping(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 4
1: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.flushPending:()V
2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
iconst_1
iadd
istore 5
start local 5 3: goto 5
end local 5 4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
istore 5
start local 5 5: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int top int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
aload 1
aload 2
iload 5
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.pushNamespace:(Ljava/lang/String;Ljava/lang/String;I)Z
istore 4
start local 4 6: iload 4
ifeq 14
7: ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
8: ldc "xmlns"
astore 6
start local 6 9: aload 0
ldc "http://www.w3.org/2000/xmlns/"
aload 6
aload 6
ldc "CDATA"
aload 2
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addAttributeAlways:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
pop
10: goto 14
end local 6 11: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int int int
StackMap stack:
ldc ""
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
12: new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 13: aload 0
ldc "http://www.w3.org/2000/xmlns/"
aload 1
aload 6
ldc "CDATA"
aload 2
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addAttributeAlways:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
pop
end local 6 14: StackMap locals:
StackMap stack:
iload 4
ireturn
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 15 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 15 1 prefix Ljava/lang/String;
0 15 2 uri Ljava/lang/String;
0 15 3 shouldFlush Z
6 15 4 pushed Z
3 4 5 pushDepth I
5 15 5 pushDepth I
9 11 6 name Ljava/lang/String;
13 14 6 name Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
prefix
uri
shouldFlush
public void (char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
istore 4
start local 4 1: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isInEntityRef:()Z
ifeq 3
2: return
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
ifeq 6
4: aload 0
dup
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
iconst_1
iadd
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
5: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.flushCharactersBuffer:()V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 10
7: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeStartTag:()V
8: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
9: goto 13
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToCallStartDocument:Z
ifeq 13
11: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startDocumentInternal:()V
12: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToCallStartDocument:Z
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldIndent:()Z
ifeq 15
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isStandalone:Z
ifeq 15
14: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.indent:()V
15: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 5
start local 5 16: iconst_0
istore 6
start local 6 17: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 19
18: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
19: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldIndent:()Z
ifeq 21
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isStandalone:Z
ifne 21
20: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.indent:()V
21: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 7
start local 7 22: aload 7
ldc "<!--"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
23: iload 2
istore 8
start local 8 24: goto 33
25: StackMap locals: java.io.Writer int
StackMap stack:
iload 6
ifeq 29
aload 1
iload 8
caload
bipush 45
if_icmpne 29
26: aload 7
aload 1
iload 2
iload 8
iload 2
isub
invokevirtual java.io.Writer.write:([CII)V
27: aload 7
ldc " -"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
28: iload 8
iconst_1
iadd
istore 2
29: StackMap locals:
StackMap stack:
aload 1
iload 8
caload
bipush 45
if_icmpne 30
iconst_1
goto 31
StackMap locals:
StackMap stack:
30: iconst_0
StackMap locals:
StackMap stack: int
31: istore 6
32: iinc 8 1
StackMap locals:
StackMap stack:
33: iload 8
iload 5
if_icmplt 25
end local 8 34: iload 3
ifle 40
35: iload 5
iload 2
isub
istore 8
start local 8 36: iload 8
ifle 38
37: aload 7
aload 1
iload 2
iload 8
invokevirtual java.io.Writer.write:([CII)V
38: StackMap locals:
StackMap stack:
aload 1
iload 5
iconst_1
isub
caload
bipush 45
if_icmpne 40
39: aload 7
bipush 32
invokevirtual java.io.Writer.write:(I)V
end local 8 40: StackMap locals:
StackMap stack:
aload 7
ldc "-->"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
end local 7 end local 6 end local 5 41: goto 44
42: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream char[] int int int
StackMap stack: java.io.IOException
astore 5
start local 5 43: new org.xml.sax.SAXException
dup
aload 5
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 5 44: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_startNewLine:Z
45: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 47
46: aload 0
aload 1
iload 4
iload 3
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.fireCommentEvent:([CII)V
47: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 48 1 ch [C
0 48 2 start I
0 48 3 length I
1 48 4 start_old I
16 41 5 limit I
17 41 6 wasDash Z
22 41 7 writer Ljava/io/Writer;
24 34 8 i I
36 40 8 remainingChars I
43 44 5 e Ljava/io/IOException;
Exception table:
from to target type
13 41 42 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length
public void endCDATA();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 2
1: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataStartCalled:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
Exceptions:
throws org.xml.sax.SAXException
public void endDTD();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToCallStartDocument:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToOutputDocTypeDecl:Z
ifeq 5
3: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_elementName:Ljava/lang/String;
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.outputDocTypeDecl:(Ljava/lang/String;Z)V
4: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToOutputDocTypeDecl:Z
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 1
start local 1 6: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inDoctype:Z
ifne 8
7: aload 1
ldc "]>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
goto 9
8: StackMap locals: java.io.Writer
StackMap stack:
aload 1
bipush 62
invokevirtual java.io.Writer.write:(I)V
9: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
end local 1 10: goto 13
11: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream
StackMap stack: java.io.IOException
astore 1
start local 1 12: new org.xml.sax.SAXException
dup
aload 1
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
6 10 1 writer Ljava/io/Writer;
12 13 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 11 Class java.io.IOException
2 10 11 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
public void endPrefixMapping(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 1 1 prefix Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
prefix
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: iload 3
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.characters:([CII)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 Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 4 1 ch [C
0 4 2 start I
0 4 3 length I
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length
public void skippedEntity(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 1 1 name Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
public void startCDATA();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
ifeq 3
1: aload 0
dup
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
iconst_1
iadd
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
2: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.flushCharactersBuffer:()V
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataStartCalled:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
Exceptions:
throws org.xml.sax.SAXException
public void startEntity(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
ldc "[dtd]"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inExternalDTD:Z
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inExternalDTD:Z
ifne 9
3: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isInEntityRef:()Z
ifne 8
4: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldFormatOutput:()Z
ifeq 7
5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.addEntityReference:(Ljava/lang/String;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.outputEntityReference:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inEntityRef:I
iconst_1
iadd
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inEntityRef:I
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 10 1 name Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
private void outputEntityReference(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 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startNonEscaping:()V
1: aload 0
new java.lang.StringBuilder
dup
ldc "&"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.characters:(Ljava/lang/String;)V
2: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.endNonEscaping:()V
3: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isprevtext:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 5 1 name Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
protected void closeStartTag();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 13
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 3
2: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_elementName:Ljava/lang/String;
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.fireStartElem:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.getLength:()I
istore 1
start local 1 4: iload 1
ifle 7
5: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
iload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.processAttributes:(Ljava/io/Writer;I)V
6: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.clear:()V
7: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
bipush 62
invokevirtual java.io.Writer.write:(I)V
end local 1 8: goto 11
9: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream
StackMap stack: java.io.IOException
astore 1
start local 1 10: new org.xml.sax.SAXException
dup
aload 1
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_StringOfCDATASections:Ljava/lang/String;
ifnull 13
12: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.isCdataSection:()Z
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_isCdataSection:Z
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
4 8 1 nAttrs I
10 11 1 e Ljava/io/IOException;
Exception table:
from to target type
1 8 9 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
public void startDTD(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=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setDoctypeSystem:(Ljava/lang/String;)V
1: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setDoctypePublic:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
aload 1
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_elementName:Ljava/lang/String;
3: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inDoctype:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 5 1 name Ljava/lang/String;
0 5 2 publicId Ljava/lang/String;
0 5 3 systemId Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
publicId
systemId
public int getIndentAmount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_indentAmount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
public void setIndentAmount(int);
descriptor: (I)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 com.sun.org.apache.xml.internal.serializer.ToStream.m_indentAmount:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 m_indentAmount I
MethodParameters:
Name Flags
m_indentAmount
protected boolean shouldIndent();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.shouldFormatOutput:()Z
ifeq 2
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
ifgt 1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isStandalone:Z
ifeq 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
private void setCdataSectionElements(java.lang.String, java.util.Properties);
descriptor: (Ljava/lang/String;Ljava/util/Properties;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 26
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 3: aload 3
invokevirtual java.lang.String.length:()I
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 6: iconst_0
istore 8
start local 8 7: goto 21
8: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.util.Properties java.lang.String java.util.List int int java.lang.StringBuilder int
StackMap stack:
aload 3
iload 8
invokevirtual java.lang.String.charAt:(I)C
istore 9
start local 9 9: iload 9
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 15
10: iload 6
ifne 19
11: aload 7
invokevirtual java.lang.StringBuilder.length:()I
ifle 20
12: aload 0
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addCdataSectionElement:(Ljava/lang/String;Ljava/util/List;)V
13: aload 7
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
14: goto 20
15: StackMap locals: int
StackMap stack:
bipush 123
iload 9
if_icmpne 17
16: iconst_1
istore 6
goto 19
17: StackMap locals:
StackMap stack:
bipush 125
iload 9
if_icmpne 19
18: iconst_0
istore 6
19: StackMap locals:
StackMap stack:
aload 7
iload 9
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 9 20: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
21: iload 8
iload 5
if_icmplt 8
end local 8 22: aload 7
invokevirtual java.lang.StringBuilder.length:()I
ifle 25
23: aload 0
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addCdataSectionElement:(Ljava/lang/String;Ljava/util/List;)V
24: aload 7
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
25: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setCdataSectionElements:(Ljava/util/List;)V
end local 7 end local 6 end local 5 end local 4 26: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.util.Properties java.lang.String
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 27 1 key Ljava/lang/String;
0 27 2 props Ljava/util/Properties;
1 27 3 s Ljava/lang/String;
3 26 4 al Ljava/util/List<Ljava/lang/String;>;
4 26 5 l I
5 26 6 inCurly Z
6 26 7 buf Ljava/lang/StringBuilder;
7 22 8 i I
9 20 9 c C
MethodParameters:
Name Flags
key
props
private void addCdataSectionElement(java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.StringTokenizer
dup
aload 1
ldc "{}"
iconst_0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
astore 3
start local 3 1: aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 4
start local 4 2: aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 3
aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
goto 4
StackMap locals: java.util.StringTokenizer java.lang.String
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: java.lang.String
4: astore 5
start local 5 5: aload 5
ifnonnull 9
6: aload 2
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 2
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: goto 11
9: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals:
StackMap stack:
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 12 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 12 1 URI_and_localName Ljava/lang/String;
0 12 2 al Ljava/util/List<Ljava/lang/String;>;
1 12 3 tokenizer Ljava/util/StringTokenizer;
2 12 4 s1 Ljava/lang/String;
5 12 5 s2 Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
URI_and_localName
al
public void setCdataSectionElements(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 18
1: aload 1
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 2
start local 2 2: iload 2
ifle 18
3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 16
6: StackMap locals: int java.lang.StringBuilder int
StackMap stack:
iload 4
ifeq 8
7: aload 3
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 1
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 9: aload 1
iload 4
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 10: aload 5
ifnull 14
11: aload 3
bipush 123
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: aload 3
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 3
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 end local 5 15: iinc 4 2
StackMap locals:
StackMap stack:
16: iload 4
iload 2
if_icmplt 6
end local 4 17: aload 0
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_StringOfCDATASections:Ljava/lang/String;
end local 3 end local 2 18: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_StringOfCDATASections:Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.initCdataElems:(Ljava/lang/String;)V
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 20 1 URI_and_localNames Ljava/util/List<Ljava/lang/String;>;
2 18 2 len I
4 18 3 sb Ljava/lang/StringBuilder;
5 17 4 i I
9 15 5 uri Ljava/lang/String;
10 15 6 localName Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
URI_and_localNames
protected java.lang.String ensureAttributesNamespaceIsDeclared(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 31
aload 1
invokevirtual java.lang.String.length:()I
ifle 31
1: iconst_0
istore 4
start local 4 2: aload 3
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
dup
istore 4
ifge 4
3: ldc ""
goto 5
4: StackMap locals: int
StackMap stack:
aload 3
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
5: StackMap locals:
StackMap stack: java.lang.String
astore 5
start local 5 6: iload 4
ifle 19
7: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
aload 5
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.lookupNamespace:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 8: aload 6
ifnull 10
aload 6
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aconst_null
areturn
10: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 5
aload 1
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startPrefixMapping:(Ljava/lang/String;Ljava/lang/String;Z)Z
pop
11: aload 0
12: ldc "http://www.w3.org/2000/xmlns/"
13: aload 5
14: new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: ldc "CDATA"
16: aload 1
iconst_0
17: invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
18: aload 5
areturn
end local 6 19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.lookupPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 20: aload 6
ifnonnull 30
21: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.generateNextPrefix:()Ljava/lang/String;
astore 6
22: aload 0
aload 6
aload 1
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startPrefixMapping:(Ljava/lang/String;Ljava/lang/String;Z)Z
pop
23: aload 0
24: ldc "http://www.w3.org/2000/xmlns/"
25: aload 6
26: new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: ldc "CDATA"
28: aload 1
iconst_0
29: invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
30: StackMap locals: java.lang.String
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 31: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 32 1 ns Ljava/lang/String;
0 32 2 localName Ljava/lang/String;
0 32 3 rawName Ljava/lang/String;
2 31 4 index I
6 31 5 prefixFromRawName Ljava/lang/String;
8 19 6 uri Ljava/lang/String;
20 31 6 prefix Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ns
localName
rawName
void ensurePrefixIsDeclared(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=7, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 22
aload 1
invokevirtual java.lang.String.length:()I
ifle 22
1: aload 2
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
dup
istore 3
start local 3 2: ifge 3
iconst_1
goto 4
StackMap locals: int
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: iload 4
ifeq 6
ldc ""
goto 7
StackMap locals: int
StackMap stack:
6: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
7: astore 5
start local 5 8: aload 5
ifnull 22
9: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
aload 5
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.lookupNamespace:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 10: aload 6
ifnull 11
aload 6
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
11: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 5
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startPrefixMapping:(Ljava/lang/String;Ljava/lang/String;)V
12: aload 0
13: ldc "http://www.w3.org/2000/xmlns/"
14: iload 4
ifeq 15
ldc "xmlns"
goto 16
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int int java.lang.String java.lang.String
StackMap stack: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String
15: aload 5
16: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int int java.lang.String java.lang.String
StackMap stack: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String
iload 4
ifeq 17
ldc "xmlns"
goto 18
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int int java.lang.String java.lang.String
StackMap stack: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String
17: new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String int int java.lang.String java.lang.String
StackMap stack: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String java.lang.String
ldc "CDATA"
19: aload 1
20: iconst_0
21: invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.addAttributeAlways:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
pop
end local 6 end local 5 end local 4 end local 3 22: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 23 1 ns Ljava/lang/String;
0 23 2 rawName Ljava/lang/String;
2 22 3 index I
5 22 4 no_prefix Z
8 22 5 prefix Ljava/lang/String;
10 22 6 foundURI Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ns
rawName
public void flushPending();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToCallStartDocument:Z
ifeq 3
1: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.startDocumentInternal:()V
2: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToCallStartDocument:Z
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 6
4: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeStartTag:()V
5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
ifeq 9
7: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.closeCDATA:()V
8: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataTagOpen:Z
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
Exceptions:
throws org.xml.sax.SAXException
public void setContentHandler(org.xml.sax.ContentHandler);
descriptor: (Lorg/xml/sax/ContentHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 1 1 ch Lorg/xml/sax/ContentHandler;
MethodParameters:
Name Flags
ch
public boolean addAttributeAlways(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.isAnyCharactersBuffered:()Z
ifne 2
1: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iload 6
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.doAddAttributeAlways:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
aload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.getIndex:(Ljava/lang/String;)I
ifge 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
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 4 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 4 1 uri Ljava/lang/String;
0 4 2 localName Ljava/lang/String;
0 4 3 rawName Ljava/lang/String;
0 4 4 type Ljava/lang/String;
0 4 5 value Ljava/lang/String;
0 4 6 xslAttribute Z
MethodParameters:
Name Flags
uri
localName
rawName
type
value
xslAttribute
private boolean doAddAttributeAlways(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
aload 3
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.getIndex:(Ljava/lang/String;)I
istore 8
start local 8 1: iload 8
iflt 12
2: aconst_null
astore 9
start local 9 3: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 7
4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
iload 8
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.getValue:(I)Ljava/lang/String;
astore 9
5: aload 5
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aconst_null
astore 9
7: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int top int java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
iload 8
aload 5
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.setValue:(ILjava/lang/String;)V
8: iconst_0
istore 7
start local 7 9: aload 9
ifnull 36
10: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.firePseudoAttributes:()V
end local 9 11: goto 36
end local 7 12: StackMap locals:
StackMap stack:
iload 6
ifeq 32
13: aload 3
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 9
start local 9 14: iload 9
ifle 24
15: aload 3
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 16: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
aload 10
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.getMappingFromPrefix:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings$MappingRecord;
astore 11
start local 11 17: aload 11
ifnull 24
18: aload 11
getfield com.sun.org.apache.xml.internal.serializer.NamespaceMappings$MappingRecord.m_declarationDepth:I
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
if_icmpne 24
19: aload 11
getfield com.sun.org.apache.xml.internal.serializer.NamespaceMappings$MappingRecord.m_uri:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
20: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.lookupPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 10
21: aload 10
ifnonnull 23
22: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.generateNextPrefix:()Ljava/lang/String;
astore 10
23: StackMap locals: int java.lang.String com.sun.org.apache.xml.internal.serializer.NamespaceMappings$MappingRecord
StackMap stack:
new java.lang.StringBuilder
dup
aload 10
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 11 end local 10 24: StackMap locals:
StackMap stack:
aload 0
25: aload 1
26: aload 2
27: aload 3
28: invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.ensureAttributesNamespaceIsDeclared:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
29: goto 32
30: StackMap locals:
StackMap stack: org.xml.sax.SAXException
astore 10
start local 10 31: aload 10
invokevirtual org.xml.sax.SAXException.printStackTrace:()V
end local 10 end local 9 32: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
aload 1
aload 2
aload 3
aload 4
aload 5
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.addAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
33: iconst_1
istore 7
start local 7 34: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 36
35: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.firePseudoAttributes:()V
36: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_doIndent:Z
ifeq 46
aload 3
ldc "xml:space"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
37: aload 5
ldc "preserve"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
38: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
39: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.size:()I
ifle 46
40: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.setTop:(Z)V
41: goto 46
StackMap locals:
StackMap stack:
42: aload 5
ldc "default"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
43: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
44: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.size:()I
ifle 46
45: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.setTop:(Z)V
46: StackMap locals:
StackMap stack:
iload 7
ireturn
end local 8 end local 7 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 47 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 47 1 uri Ljava/lang/String;
0 47 2 localName Ljava/lang/String;
0 47 3 rawName Ljava/lang/String;
0 47 4 type Ljava/lang/String;
0 47 5 value Ljava/lang/String;
0 47 6 xslAttribute Z
9 12 7 was_added Z
34 47 7 was_added Z
1 47 8 index I
3 11 9 old_value Ljava/lang/String;
14 32 9 colonIndex I
16 24 10 prefix Ljava/lang/String;
17 24 11 existing_mapping Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings$MappingRecord;
31 32 10 e Lorg/xml/sax/SAXException;
Exception table:
from to target type
24 29 30 Class org.xml.sax.SAXException
MethodParameters:
Name Flags
uri
localName
rawName
type
value
xslAttribute
protected void firePseudoAttributes();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 18
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
invokevirtual java.io.Writer.flush:()V
2: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 3: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_attributes:Lcom/sun/org/apache/xml/internal/serializer/AttributesImplSerializer;
invokevirtual com.sun.org.apache.xml.internal.serializer.AttributesImplSerializer.getLength:()I
istore 2
start local 2 4: iload 2
ifle 7
5: new com.sun.org.apache.xml.internal.serializer.ToStream$WritertoStringBuffer
dup
aload 0
aload 1
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream$WritertoStringBuffer.<init>:(Lcom/sun/org/apache/xml/internal/serializer/ToStream;Ljava/lang/StringBuffer;)V
astore 3
start local 3 6: aload 0
aload 3
iload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.processAttributes:(Ljava/io/Writer;I)V
end local 3 7: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 1
bipush 62
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
8: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
astore 3
start local 3 9: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
10: bipush 11
11: aload 3
12: iconst_0
13: aload 3
arraylength
14: invokeinterface com.sun.org.apache.xml.internal.serializer.SerializerTrace.fireGenerateEvent:(I[CII)V
end local 3 end local 2 end local 1 15: goto 18
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToStream
StackMap stack: java.io.IOException
16: pop
goto 18
17: StackMap locals:
StackMap stack: org.xml.sax.SAXException
pop
18: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
3 15 1 sb Ljava/lang/StringBuffer;
4 15 2 nAttrs I
6 7 3 writer Ljava/io/Writer;
9 15 3 ch [C
Exception table:
from to target type
1 15 16 Class java.io.IOException
1 15 17 Class org.xml.sax.SAXException
public void setTransformer(javax.xml.transform.Transformer);
descriptor: (Ljavax/xml/transform/Transformer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.setTransformer:(Ljavax/xml/transform/Transformer;)V
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 3
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
instanceof com.sun.org.apache.xml.internal.serializer.SerializerTraceWriter
ifne 3
2: aload 0
new com.sun.org.apache.xml.internal.serializer.SerializerTraceWriter
dup
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerTraceWriter.<init>:(Ljava/io/Writer;Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;)V
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 4 1 transformer Ljavax/xml/transform/Transformer;
MethodParameters:
Name Flags
transformer
public boolean reset();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.SerializerBase.reset:()Z
ifeq 4
2: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.resetToStream:()V
3: iconst_1
istore 1
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
1 5 1 wasReset Z
private void resetToStream();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_cdataStartCalled:Z
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_disableOutputEscapingStates:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.clear:()V
2: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_escaping:Z
3: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inDoctype:Z
4: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_ispreserveSpace:Z
5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack.clear:()V
6: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNum:I
7: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_childNodeNumStack:Ljava/util/List;
invokeinterface java.util.List.clear:()V
8: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer.clear:()V
9: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isprevtext:Z
10: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_isUTF8:Z
11: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_shouldFlush:Z
12: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_spaceBeforeClose:Z
13: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_startNewLine:Z
14: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepUse:Z
15: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_expandDTDEntities:Z
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
public void setEncoding(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 0
ldc "encoding"
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.setOutputProperty:(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 Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 encoding Ljava/lang/String;
MethodParameters:
Name Flags
encoding
public void notationDecl(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=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.DTDprolog:()V
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc "<!NOTATION "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 2
ifnull 7
4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc " PUBLIC \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc " SYSTEM \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 3
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc "\" >"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
10: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
11: goto 14
StackMap locals:
StackMap stack: java.io.IOException
12: astore 4
start local 4 13: aload 4
invokevirtual java.io.IOException.printStackTrace:()V
end local 4 14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 15 1 name Ljava/lang/String;
0 15 2 pubID Ljava/lang/String;
0 15 3 sysID Ljava/lang/String;
13 14 4 e Ljava/io/IOException;
Exception table:
from to target type
0 11 12 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
pubID
sysID
public void unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.DTDprolog:()V
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc "<!ENTITY "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: aload 2
ifnull 7
4: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc " PUBLIC \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
5: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc " SYSTEM \""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 3
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc "\" NDATA "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
10: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 4
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
11: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
ldc " >"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
12: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
13: goto 16
StackMap locals:
StackMap stack: java.io.IOException
14: astore 5
start local 5 15: aload 5
invokevirtual java.io.IOException.printStackTrace:()V
end local 5 16: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 17 1 name Ljava/lang/String;
0 17 2 pubID Ljava/lang/String;
0 17 3 sysID Ljava/lang/String;
0 17 4 notationName Ljava/lang/String;
15 16 5 e Ljava/io/IOException;
Exception table:
from to target type
0 13 14 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
pubID
sysID
notationName
private void DTDprolog();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_writer:Ljava/io/Writer;
astore 1
start local 1 1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToOutputDocTypeDecl:Z
ifeq 4
2: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_elementName:Ljava/lang/String;
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.outputDocTypeDecl:(Ljava/lang/String;Z)V
3: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_needToOutputDocTypeDecl:Z
4: StackMap locals: java.io.Writer
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inDoctype:Z
ifeq 8
5: aload 1
ldc " ["
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: aload 1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
7: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_inDoctype:Z
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
1 9 1 writer Ljava/io/Writer;
Exceptions:
throws org.xml.sax.SAXException, java.io.IOException
public void setDTDEntityExpansion(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 com.sun.org.apache.xml.internal.serializer.ToStream.m_expandDTDEntities:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 2 1 expand Z
MethodParameters:
Name Flags
expand
public void addCdataSectionElements(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 1
ifnull 2
1: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToStream.initCdataElems:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_StringOfCDATASections:Ljava/lang/String;
ifnonnull 4
3: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_StringOfCDATASections:Ljava/lang/String;
goto 5
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.org.apache.xml.internal.serializer.ToStream.m_StringOfCDATASections:Ljava/lang/String;
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.org.apache.xml.internal.serializer.ToStream.m_StringOfCDATASections:Ljava/lang/String;
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xml/internal/serializer/ToStream;
0 6 1 URI_and_localNames Ljava/lang/String;
MethodParameters:
Name Flags
URI_and_localNames
}
SourceFile: "ToStream.java"
NestMembers:
com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer$1 com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer$2 com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer$3 com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer$GenericCharacters com.sun.org.apache.xml.internal.serializer.ToStream$WritertoStringBuffer
InnerClasses:
MappingRecord = com.sun.org.apache.xml.internal.serializer.NamespaceMappings$MappingRecord of com.sun.org.apache.xml.internal.serializer.NamespaceMappings
final BoolStack = com.sun.org.apache.xml.internal.serializer.ToStream$BoolStack of com.sun.org.apache.xml.internal.serializer.ToStream
private CharacterBuffer = com.sun.org.apache.xml.internal.serializer.ToStream$CharacterBuffer of com.sun.org.apache.xml.internal.serializer.ToStream
private WritertoStringBuffer = com.sun.org.apache.xml.internal.serializer.ToStream$WritertoStringBuffer of com.sun.org.apache.xml.internal.serializer.ToStream