public class com.sun.xml.internal.txw2.output.DataWriter extends com.sun.xml.internal.txw2.output.XMLWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.txw2.output.DataWriter
super_class: com.sun.xml.internal.txw2.output.XMLWriter
{
private static final java.lang.Object SEEN_NOTHING;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Object SEEN_ELEMENT;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Object SEEN_DATA;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.Object state;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.util.Stack stateStack;
descriptor: Ljava/util/Stack;
flags: (0x0002) ACC_PRIVATE
private java.lang.String indentStep;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int depth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_NOTHING:Ljava/lang/Object;
1: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_ELEMENT:Ljava/lang/Object;
2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_DATA:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.Writer, java.lang.String, com.sun.xml.internal.txw2.output.CharacterEscapeHandler);
descriptor: (Ljava/io/Writer;Ljava/lang/String;Lcom/sun/xml/internal/txw2/output/CharacterEscapeHandler;)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: aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.<init>:(Ljava/io/Writer;Ljava/lang/String;Lcom/sun/xml/internal/txw2/output/CharacterEscapeHandler;)V
1: aload 0
getstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_NOTHING:Ljava/lang/Object;
putfield com.sun.xml.internal.txw2.output.DataWriter.state:Ljava/lang/Object;
2: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.xml.internal.txw2.output.DataWriter.stateStack:Ljava/util/Stack;
3: aload 0
ldc ""
putfield com.sun.xml.internal.txw2.output.DataWriter.indentStep:Ljava/lang/String;
4: aload 0
iconst_0
putfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
0 6 1 writer Ljava/io/Writer;
0 6 2 encoding Ljava/lang/String;
0 6 3 _escapeHandler Lcom/sun/xml/internal/txw2/output/CharacterEscapeHandler;
MethodParameters:
Name Flags
writer
encoding
_escapeHandler
public void <init>(java.io.Writer, java.lang.String);
descriptor: (Ljava/io/Writer;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
getstatic com.sun.xml.internal.txw2.output.DumbEscapeHandler.theInstance:Lcom/sun/xml/internal/txw2/output/CharacterEscapeHandler;
invokespecial com.sun.xml.internal.txw2.output.DataWriter.<init>:(Ljava/io/Writer;Ljava/lang/String;Lcom/sun/xml/internal/txw2/output/CharacterEscapeHandler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
0 2 1 writer Ljava/io/Writer;
0 2 2 encoding Ljava/lang/String;
MethodParameters:
Name Flags
writer
encoding
public void <init>(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
getstatic com.sun.xml.internal.txw2.output.DumbEscapeHandler.theInstance:Lcom/sun/xml/internal/txw2/output/CharacterEscapeHandler;
invokespecial com.sun.xml.internal.txw2.output.DataWriter.<init>:(Ljava/io/Writer;Ljava/lang/String;Lcom/sun/xml/internal/txw2/output/CharacterEscapeHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
0 2 1 writer Ljava/io/Writer;
MethodParameters:
Name Flags
writer
public int getIndentStep();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.indentStep:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
public void setIndentStep(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: goto 3
StackMap locals: java.lang.StringBuilder
StackMap stack:
2: aload 2
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
iinc 1 -1
StackMap locals:
StackMap stack:
3: iload 1
ifgt 2
4: aload 0
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.xml.internal.txw2.output.DataWriter.setIndentStep:(Ljava/lang/String;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
0 6 1 indentStep I
1 6 2 s Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
indentStep
public void setIndentStep(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.xml.internal.txw2.output.DataWriter.indentStep:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
1: aload 0
getstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_NOTHING:Ljava/lang/Object;
putfield com.sun.xml.internal.txw2.output.DataWriter.state:Ljava/lang/Object;
2: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.xml.internal.txw2.output.DataWriter.stateStack:Ljava/util/Stack;
3: aload 0
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.reset:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
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=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.stateStack:Ljava/util/Stack;
getstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_ELEMENT:Ljava/lang/Object;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_NOTHING:Ljava/lang/Object;
putfield com.sun.xml.internal.txw2.output.DataWriter.state:Ljava/lang/Object;
2: aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
ifle 4
3: aload 0
ldc "\n"
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.characters:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.xml.internal.txw2.output.DataWriter.doIndent:()V
5: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
6: aload 0
dup
getfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
iconst_1
iadd
putfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
0 8 1 uri Ljava/lang/String;
0 8 2 localName Ljava/lang/String;
0 8 3 qName Ljava/lang/String;
0 8 4 atts Lorg/xml/sax/Attributes;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
uri
localName
qName
atts
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
dup
getfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
iconst_1
isub
putfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
1: aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.state:Ljava/lang/Object;
getstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_ELEMENT:Ljava/lang/Object;
if_acmpne 4
2: aload 0
ldc "\n"
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.characters:(Ljava/lang/String;)V
3: aload 0
invokevirtual com.sun.xml.internal.txw2.output.DataWriter.doIndent:()V
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.endElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: aload 0
aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.stateStack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
putfield com.sun.xml.internal.txw2.output.DataWriter.state:Ljava/lang/Object;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
0 7 1 uri Ljava/lang/String;
0 7 2 localName Ljava/lang/String;
0 7 3 qName Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
uri
localName
qName
public void characters(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: aload 0
getstatic com.sun.xml.internal.txw2.output.DataWriter.SEEN_DATA:Ljava/lang/Object;
putfield com.sun.xml.internal.txw2.output.DataWriter.state:Ljava/lang/Object;
1: aload 0
aload 1
iload 2
iload 3
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.characters:([CII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
0 3 1 ch [C
0 3 2 start I
0 3 3 length I
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length
public void (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: aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
ifle 2
1: aload 0
ldc "\n"
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.characters:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.xml.internal.txw2.output.DataWriter.doIndent:()V
3: aload 0
aload 1
iload 2
iload 3
invokespecial com.sun.xml.internal.txw2.output.XMLWriter.comment:([CII)V
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/xml/internal/txw2/output/DataWriter;
0 5 1 ch [C
0 5 2 start I
0 5 3 length I
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
start
length
private void doIndent();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
ifle 7
1: aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.indentStep:Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: char[] int
StackMap stack:
aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual com.sun.xml.internal.txw2.output.DataWriter.characters:([CII)V
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.sun.xml.internal.txw2.output.DataWriter.depth:I
if_icmplt 4
end local 2 end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/txw2/output/DataWriter;
2 7 1 ch [C
3 7 2 i I
Exceptions:
throws org.xml.sax.SAXException
}
SourceFile: "DataWriter.java"