public final class com.sun.org.apache.xml.internal.serializer.ToXMLStream extends com.sun.org.apache.xml.internal.serializer.ToStream
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.serializer.ToXMLStream
super_class: com.sun.org.apache.xml.internal.serializer.ToStream
{
boolean m_cdataTagOpen;
descriptor: Z
flags: (0x0000)
private static com.sun.org.apache.xml.internal.serializer.CharInfo m_xmlcharInfo;
descriptor: Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "com.sun.org.apache.xml.internal.serializer.XMLEntities"
ldc "xml"
invokestatic com.sun.org.apache.xml.internal.serializer.CharInfo.getCharInfoInternal:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
1: putstatic com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_xmlcharInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial com.sun.org.apache.xml.internal.serializer.ToXMLStream.<init>:(Ljavax/xml/transform/ErrorListener;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
public void <init>(javax.xml.transform.ErrorListener);
descriptor: (Ljavax/xml/transform/ErrorListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream.<init>:(Ljavax/xml/transform/ErrorListener;)V
1: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_cdataTagOpen:Z
2: aload 0
getstatic com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_xmlcharInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_charInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
3: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.initCDATA:()V
4: aload 0
new com.sun.org.apache.xml.internal.serializer.NamespaceMappings
dup
invokespecial com.sun.org.apache.xml.internal.serializer.NamespaceMappings.<init>:()V
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
0 6 1 l Ljavax/xml/transform/ErrorListener;
MethodParameters:
Name Flags
l
public void CopyFrom(com.sun.org.apache.xml.internal.serializer.ToXMLStream);
descriptor: (Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_writer:Ljava/io/Writer;
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_writer:Ljava/io/Writer;
1: aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getEncoding:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.setEncoding:(Ljava/lang/String;)V
3: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getOmitXMLDeclaration:()Z
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.setOmitXMLDeclaration:(Z)V
4: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_ispreserveSpace:Z
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_ispreserveSpace:Z
5: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_preserveSpaces:Lcom/sun/org/apache/xml/internal/serializer/ToStream$BoolStack;
6: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_childNodeNum:I
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_childNodeNum:I
7: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_childNodeNumStack:Ljava/util/List;
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_childNodeNumStack:Ljava/util/List;
8: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_charactersBuffer:Lcom/sun/org/apache/xml/internal/serializer/ToStream$CharacterBuffer;
9: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_inEntityRef:I
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_inEntityRef:I
10: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_isprevtext:Z
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_isprevtext:Z
11: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_doIndent:Z
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_doIndent:Z
12: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getIndentAmount:()I
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.setIndentAmount:(I)V
13: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_startNewLine:Z
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_startNewLine:Z
14: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_needToOutputDocTypeDecl:Z
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_needToOutputDocTypeDecl:Z
15: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getDoctypeSystem:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.setDoctypeSystem:(Ljava/lang/String;)V
16: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getDoctypePublic:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.setDoctypePublic:(Ljava/lang/String;)V
17: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getStandalone:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.setStandalone:(Ljava/lang/String;)V
18: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getMediaType:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.setMediaType:(Ljava/lang/String;)V
19: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_maxCharacter:I
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_maxCharacter:I
20: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_encodingInfo:Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_encodingInfo:Lcom/sun/org/apache/xml/internal/serializer/EncodingInfo;
21: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_spaceBeforeClose:Z
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_spaceBeforeClose:Z
22: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_cdataStartCalled:Z
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_cdataStartCalled:Z
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
0 24 1 xmlListener Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
2 24 2 encoding Ljava/lang/String;
MethodParameters:
Name Flags
xmlListener
public void startDocumentInternal();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_needToCallStartDocument:Z
ifeq 33
1: aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream.startDocumentInternal:()V
2: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_needToCallStartDocument:Z
3: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.isInEntityRef:()Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_needToOutputDocTypeDecl:Z
6: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_startNewLine:Z
7: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getOmitXMLDeclaration:()Z
ifne 33
8: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getEncoding:()Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.serializer.Encodings.getMimeEncoding:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 9: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getVersion:()Ljava/lang/String;
astore 2
start local 2 10: aload 2
ifnonnull 12
11: ldc "1.0"
astore 2
12: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_standaloneWasSpecified:Z
ifeq 15
13: new java.lang.StringBuilder
dup
ldc " standalone=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getStandalone:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 14: goto 16
end local 3 15: StackMap locals:
StackMap stack:
ldc ""
astore 3
start local 3 16: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_writer:Ljava/io/Writer;
astore 4
start local 4 17: aload 4
ldc "<?xml version=\""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
18: aload 4
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
19: aload 4
ldc "\" encoding=\""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
20: aload 4
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
21: aload 4
bipush 34
invokevirtual java.io.Writer.write:(I)V
22: aload 4
aload 3
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
23: aload 4
ldc "?>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
24: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_doIndent:Z
ifne 25
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_isStandalone:Z
ifeq 33
25: StackMap locals: java.io.Writer
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_standaloneWasSpecified:Z
ifne 29
26: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getDoctypePublic:()Ljava/lang/String;
ifnonnull 29
27: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getDoctypeSystem:()Ljava/lang/String;
ifnonnull 29
28: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_isStandalone:Z
ifeq 33
29: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
end local 4 30: goto 33
31: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToXMLStream java.lang.String java.lang.String java.lang.String
StackMap stack: java.io.IOException
astore 4
start local 4 32: new org.xml.sax.SAXException
dup
aload 4
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 end local 3 end local 2 end local 1 33: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
9 33 1 encoding Ljava/lang/String;
10 33 2 version Ljava/lang/String;
14 15 3 standalone Ljava/lang/String;
16 33 3 standalone Ljava/lang/String;
17 30 4 writer Ljava/io/Writer;
32 33 4 e Ljava/io/IOException;
Exception table:
from to target type
16 30 31 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
public void endDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_doIndent:Z
ifeq 2
1: aload 0
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.flushCharactersBuffer:(Z)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.flushPending:()V
3: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_doIndent:Z
ifeq 8
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_isprevtext:Z
ifne 8
4: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.outputLineSep:()V
5: goto 8
6: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 7: new org.xml.sax.SAXException
dup
aload 1
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.flushWriter:()V
9: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 11
10: aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream.fireEndDoc:()V
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
7 8 1 e Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
public void startPreserving();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
Exceptions:
throws org.xml.sax.SAXException
public void endPreserving();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
Exceptions:
throws org.xml.sax.SAXException
public void processingInstruction(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.isInEntityRef:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_doIndent:Z
ifeq 5
3: aload 0
dup
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_childNodeNum:I
iconst_1
iadd
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_childNodeNum:I
4: aload 0
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.flushCharactersBuffer:(Z)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.flushPending:()V
6: aload 1
ldc "javax.xml.transform.disable-output-escaping"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.startNonEscaping:()V
8: goto 43
9: StackMap locals:
StackMap stack:
aload 1
ldc "javax.xml.transform.enable-output-escaping"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.endNonEscaping:()V
11: goto 43
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 16
13: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.closeStartTag:()V
14: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
15: goto 18
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_needToCallStartDocument:Z
ifeq 18
17: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.startDocumentInternal:()V
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.shouldIndent:()Z
ifeq 20
19: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.indent:()V
20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_writer:Ljava/io/Writer;
astore 3
start local 3 21: aload 3
ldc "<?"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
22: aload 3
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
23: aload 2
invokevirtual java.lang.String.length:()I
ifle 26
24: aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isSpaceChar:(C)Z
ifne 26
25: aload 3
bipush 32
invokevirtual java.io.Writer.write:(I)V
26: StackMap locals: java.io.Writer
StackMap stack:
aload 2
ldc "?>"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 4
start local 4 27: iload 4
iflt 34
28: iload 4
ifle 30
29: aload 3
aload 2
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
30: StackMap locals: int
StackMap stack:
aload 3
ldc "? >"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
31: iload 4
iconst_2
iadd
aload 2
invokevirtual java.lang.String.length:()I
if_icmpge 35
32: aload 3
aload 2
iload 4
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
33: goto 35
34: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
35: StackMap locals:
StackMap stack:
aload 3
bipush 63
invokevirtual java.io.Writer.write:(I)V
36: aload 3
bipush 62
invokevirtual java.io.Writer.write:(I)V
37: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
ifgt 39
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_isStandalone:Z
ifeq 39
38: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_lineSep:[C
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_lineSepLen:I
invokevirtual java.io.Writer.write:([CII)V
39: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_startNewLine:Z
end local 4 end local 3 40: goto 43
41: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToXMLStream java.lang.String java.lang.String
StackMap stack: java.io.IOException
astore 3
start local 3 42: new org.xml.sax.SAXException
dup
aload 3
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 43: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 45
44: aload 0
aload 1
aload 2
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream.fireEscapingEvent:(Ljava/lang/String;Ljava/lang/String;)V
45: StackMap locals:
StackMap stack:
return
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/ToXMLStream;
0 46 1 target Ljava/lang/String;
0 46 2 data Ljava/lang/String;
21 40 3 writer Ljava/io/Writer;
27 40 4 indexOfQLT I
42 43 3 e Ljava/io/IOException;
Exception table:
from to target type
12 40 41 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
target
data
public void entityReference(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 3
1: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.closeStartTag:()V
2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
iconst_0
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.shouldIndent:()Z
ifeq 5
4: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.indent:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_writer:Ljava/io/Writer;
astore 2
start local 2 6: aload 2
bipush 38
invokevirtual java.io.Writer.write:(I)V
7: aload 2
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 2
bipush 59
invokevirtual java.io.Writer.write:(I)V
end local 2 9: goto 12
10: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 11: new org.xml.sax.SAXException
dup
aload 2
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_tracer:Lcom/sun/org/apache/xml/internal/serializer/SerializerTrace;
ifnull 14
13: aload 0
aload 1
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream.fireEntityReference:(Ljava/lang/String;)V
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/ToXMLStream;
0 15 1 name Ljava/lang/String;
6 9 2 writer Ljava/io/Writer;
11 12 2 e Ljava/io/IOException;
Exception table:
from to target type
3 9 10 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
public void addUniqueAttribute(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)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
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 18
1: aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.patchName:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_writer:Ljava/io/Writer;
astore 5
start local 5 3: iload 3
iconst_1
iand
ifle 10
getstatic com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_xmlcharInfo:Lcom/sun/org/apache/xml/internal/serializer/CharInfo;
getfield com.sun.org.apache.xml.internal.serializer.CharInfo.onlyQuotAmpLtGt:Z
ifeq 10
4: aload 5
bipush 32
invokevirtual java.io.Writer.write:(I)V
5: aload 5
aload 4
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: aload 5
ldc "=\""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
7: aload 5
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
8: aload 5
bipush 34
invokevirtual java.io.Writer.write:(I)V
9: goto 18
10: StackMap locals: java.lang.String java.io.Writer
StackMap stack:
aload 5
bipush 32
invokevirtual java.io.Writer.write:(I)V
11: aload 5
aload 4
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
12: aload 5
ldc "=\""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
13: aload 0
aload 5
aload 2
aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getEncoding:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.writeAttrString:(Ljava/io/Writer;Ljava/lang/String;Ljava/lang/String;)V
14: aload 5
bipush 34
invokevirtual java.io.Writer.write:(I)V
end local 5 end local 4 15: goto 18
StackMap locals: com.sun.org.apache.xml.internal.serializer.ToXMLStream java.lang.String java.lang.String int
StackMap stack: java.io.IOException
16: astore 4
start local 4 17: new org.xml.sax.SAXException
dup
aload 4
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 18: StackMap locals:
StackMap stack:
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/ToXMLStream;
0 19 1 name Ljava/lang/String;
0 19 2 value Ljava/lang/String;
0 19 3 flags I
2 15 4 patchedName Ljava/lang/String;
3 15 5 writer Ljava/io/Writer;
17 18 4 e Ljava/io/IOException;
Exception table:
from to target type
1 15 16 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
value
flags
public void addAttribute(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)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, 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.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_startTagOpen:Z
ifeq 15
1: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iload 6
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.addAttributeAlways:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
istore 7
start local 7 2: iload 7
ifeq 13
iload 6
ifne 13
aload 3
ldc "xmlns"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 13
3: aload 0
4: aload 1
5: aload 2
6: aload 3
7: invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.ensureAttributesNamespaceIsDeclared:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
8: astore 8
start local 8 9: aload 8
ifnull 13
10: aload 3
ifnull 13
11: aload 3
aload 8
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 13
12: new java.lang.StringBuilder
dup
aload 8
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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 8 13: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
iload 6
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.addAttributeAlways:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Z
pop
end local 7 14: goto 25
15: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.serializer.utils.Utils.messages:Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
16: ldc "ER_ILLEGAL_ATTRIBUTE_POSITION"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
17: invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 7
start local 7 18: aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream.getTransformer:()Ljavax/xml/transform/Transformer;
astore 8
start local 8 19: aload 8
invokevirtual javax.xml.transform.Transformer.getErrorListener:()Ljavax/xml/transform/ErrorListener;
astore 9
start local 9 20: aload 9
ifnull 22
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_sourceLocator:Ljavax/xml/transform/SourceLocator;
ifnull 22
21: aload 9
new javax.xml.transform.TransformerException
dup
aload 7
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_sourceLocator:Ljavax/xml/transform/SourceLocator;
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
goto 25
22: StackMap locals: java.lang.String javax.xml.transform.Transformer javax.xml.transform.ErrorListener
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 7
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 9 end local 8 23: goto 25
24: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToXMLStream java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int java.lang.String
StackMap stack: java.lang.Exception
pop
end local 7 25: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
0 26 1 uri Ljava/lang/String;
0 26 2 localName Ljava/lang/String;
0 26 3 rawName Ljava/lang/String;
0 26 4 type Ljava/lang/String;
0 26 5 value Ljava/lang/String;
0 26 6 xslAttribute Z
2 14 7 was_added Z
9 13 8 prefixUsed Ljava/lang/String;
18 25 7 msg Ljava/lang/String;
19 23 8 tran Ljavax/xml/transform/Transformer;
20 23 9 errHandler Ljavax/xml/transform/ErrorListener;
Exception table:
from to target type
18 23 24 Class java.lang.Exception
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
uri
localName
rawName
type
value
xslAttribute
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.ToXMLStream.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/ToXMLStream;
0 2 1 elemName Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
elemName
public void namespaceAfterStartElement(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.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_elementURI:Ljava/lang/String;
ifnonnull 4
1: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_elementName:Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.serializer.ToXMLStream.getPrefixPart:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnonnull 4
ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
aload 2
putfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_elementURI:Ljava/lang/String;
end local 3 4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.startPrefixMapping:(Ljava/lang/String;Ljava/lang/String;Z)Z
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
0 6 1 prefix Ljava/lang/String;
0 6 2 uri Ljava/lang/String;
2 4 3 prefix1 Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
prefix final
uri final
protected boolean pushNamespace(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_prefixMap:Lcom/sun/org/apache/xml/internal/serializer/NamespaceMappings;
1: aload 1
aload 2
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_elemContext:Lcom/sun/org/apache/xml/internal/serializer/ElemContext;
getfield com.sun.org.apache.xml.internal.serializer.ElemContext.m_currentElemDepth:I
2: invokevirtual com.sun.org.apache.xml.internal.serializer.NamespaceMappings.pushNamespace:(Ljava/lang/String;Ljava/lang/String;I)Z
3: ifeq 7
4: aload 0
aload 1
aload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.startPrefixMapping:(Ljava/lang/String;Ljava/lang/String;)V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack: org.xml.sax.SAXException
pop
7: StackMap locals:
StackMap stack:
iconst_0
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/ToXMLStream;
0 8 1 prefix Ljava/lang/String;
0 8 2 uri Ljava/lang/String;
Exception table:
from to target type
0 5 6 Class org.xml.sax.SAXException
MethodParameters:
Name Flags
prefix
uri
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.ToStream.reset:()Z
ifeq 4
2: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.resetToXMLStream:()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/ToXMLStream;
1 5 1 wasReset Z
private void resetToXMLStream();
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.ToXMLStream.m_cdataTagOpen:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
private java.lang.String getXMLVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.serializer.ToXMLStream.getVersion:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
ldc "1.0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: StackMap locals: java.lang.String
StackMap stack:
ldc "1.0"
astore 1
3: goto 18
4: StackMap locals:
StackMap stack:
aload 1
ldc "1.1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: ldc "1.1"
astore 1
6: goto 18
7: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.serializer.utils.Utils.messages:Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
8: ldc "ER_XML_VERSION_NOT_SUPPORTED"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
9: invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 10: aload 0
invokespecial com.sun.org.apache.xml.internal.serializer.ToStream.getTransformer:()Ljavax/xml/transform/Transformer;
astore 3
start local 3 11: aload 3
invokevirtual javax.xml.transform.Transformer.getErrorListener:()Ljavax/xml/transform/ErrorListener;
astore 4
start local 4 12: aload 4
ifnull 14
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_sourceLocator:Ljavax/xml/transform/SourceLocator;
ifnull 14
13: aload 4
new javax.xml.transform.TransformerException
dup
aload 2
aload 0
getfield com.sun.org.apache.xml.internal.serializer.ToXMLStream.m_sourceLocator:Ljavax/xml/transform/SourceLocator;
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
goto 17
14: StackMap locals: java.lang.String javax.xml.transform.Transformer javax.xml.transform.ErrorListener
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 4 end local 3 15: goto 17
16: StackMap locals: com.sun.org.apache.xml.internal.serializer.ToXMLStream java.lang.String java.lang.String
StackMap stack: java.lang.Exception
pop
17: StackMap locals:
StackMap stack:
ldc "1.0"
astore 1
end local 2 18: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/org/apache/xml/internal/serializer/ToXMLStream;
1 19 1 xmlVersion Ljava/lang/String;
10 18 2 msg Ljava/lang/String;
11 15 3 tran Ljavax/xml/transform/Transformer;
12 15 4 errHandler Ljavax/xml/transform/ErrorListener;
Exception table:
from to target type
10 15 16 Class java.lang.Exception
}
SourceFile: "ToXMLStream.java"