public class com.sun.xml.internal.txw2.output.DomSerializer implements com.sun.xml.internal.txw2.output.XmlSerializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.txw2.output.DomSerializer
super_class: java.lang.Object
{
private final com.sun.xml.internal.txw2.output.SaxSerializer serializer;
descriptor: Lcom/sun/xml/internal/txw2/output/SaxSerializer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new com.sun.xml.internal.txw2.output.Dom2SaxAdapter
dup
aload 1
invokespecial com.sun.xml.internal.txw2.output.Dom2SaxAdapter.<init>:(Lorg/w3c/dom/Node;)V
astore 2
start local 2 2: aload 0
new com.sun.xml.internal.txw2.output.SaxSerializer
dup
aload 2
aload 2
iconst_0
invokespecial com.sun.xml.internal.txw2.output.SaxSerializer.<init>:(Lorg/xml/sax/ContentHandler;Lorg/xml/sax/ext/LexicalHandler;Z)V
putfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/txw2/output/DomSerializer;
0 4 1 node Lorg/w3c/dom/Node;
2 4 2 adapter Lcom/sun/xml/internal/txw2/output/Dom2SaxAdapter;
MethodParameters:
Name Flags
node
public void <init>(javax.xml.transform.dom.DOMResult);
descriptor: (Ljavax/xml/transform/dom/DOMResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual javax.xml.transform.dom.DOMResult.getNode:()Lorg/w3c/dom/Node;
astore 2
start local 2 2: aload 2
ifnonnull 12
3: invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
astore 3
start local 3 4: aload 3
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
5: aload 3
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 4
start local 4 6: aload 4
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 5
start local 5 7: aload 1
aload 5
invokevirtual javax.xml.transform.dom.DOMResult.setNode:(Lorg/w3c/dom/Node;)V
8: aload 0
new com.sun.xml.internal.txw2.output.SaxSerializer
dup
new com.sun.xml.internal.txw2.output.Dom2SaxAdapter
dup
aload 5
invokespecial com.sun.xml.internal.txw2.output.Dom2SaxAdapter.<init>:(Lorg/w3c/dom/Node;)V
aconst_null
iconst_0
invokespecial com.sun.xml.internal.txw2.output.SaxSerializer.<init>:(Lorg/xml/sax/ContentHandler;Lorg/xml/sax/ext/LexicalHandler;Z)V
putfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
end local 5 end local 4 end local 3 9: goto 13
StackMap locals: com.sun.xml.internal.txw2.output.DomSerializer javax.xml.transform.dom.DOMResult org.w3c.dom.Node
StackMap stack: javax.xml.parsers.ParserConfigurationException
10: astore 3
start local 3 11: new com.sun.xml.internal.txw2.TxwException
dup
aload 3
invokespecial com.sun.xml.internal.txw2.TxwException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
aload 0
new com.sun.xml.internal.txw2.output.SaxSerializer
dup
new com.sun.xml.internal.txw2.output.Dom2SaxAdapter
dup
aload 2
invokespecial com.sun.xml.internal.txw2.output.Dom2SaxAdapter.<init>:(Lorg/w3c/dom/Node;)V
aconst_null
iconst_0
invokespecial com.sun.xml.internal.txw2.output.SaxSerializer.<init>:(Lorg/xml/sax/ContentHandler;Lorg/xml/sax/ext/LexicalHandler;Z)V
putfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
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/xml/internal/txw2/output/DomSerializer;
0 14 1 domResult Ljavax/xml/transform/dom/DOMResult;
2 14 2 node Lorg/w3c/dom/Node;
4 9 3 dbf Ljavax/xml/parsers/DocumentBuilderFactory;
6 9 4 db Ljavax/xml/parsers/DocumentBuilder;
7 9 5 doc Lorg/w3c/dom/Document;
11 12 3 pce Ljavax/xml/parsers/ParserConfigurationException;
Exception table:
from to target type
3 9 10 Class javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
domResult
public void startDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.startDocument:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/txw2/output/DomSerializer;
public void beginStartTag(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
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
aload 1
aload 2
aload 3
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.beginStartTag:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)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/xml/internal/txw2/output/DomSerializer;
0 2 1 uri Ljava/lang/String;
0 2 2 localName Ljava/lang/String;
0 2 3 prefix Ljava/lang/String;
MethodParameters:
Name Flags
uri
localName
prefix
public void writeAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.StringBuilder);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringBuilder;)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.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
aload 1
aload 2
aload 3
aload 4
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringBuilder;)V
1: return
end local 4 end local 3 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/DomSerializer;
0 2 1 uri Ljava/lang/String;
0 2 2 localName Ljava/lang/String;
0 2 3 prefix Ljava/lang/String;
0 2 4 value Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
uri
localName
prefix
value
public void writeXmlns(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
aload 1
aload 2
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.writeXmlns:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/txw2/output/DomSerializer;
0 2 1 prefix Ljava/lang/String;
0 2 2 uri Ljava/lang/String;
MethodParameters:
Name Flags
prefix
uri
public void endStartTag(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
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
aload 1
aload 2
aload 3
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.endStartTag:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)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/xml/internal/txw2/output/DomSerializer;
0 2 1 uri Ljava/lang/String;
0 2 2 localName Ljava/lang/String;
0 2 3 prefix Ljava/lang/String;
MethodParameters:
Name Flags
uri
localName
prefix
public void endTag();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.endTag:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/txw2/output/DomSerializer;
public void text(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
aload 1
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.text:(Ljava/lang/StringBuilder;)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/DomSerializer;
0 2 1 text Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
text
public void cdata(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
aload 1
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.cdata:(Ljava/lang/StringBuilder;)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/DomSerializer;
0 2 1 text Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
text
public void (java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
aload 1
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.comment:(Ljava/lang/StringBuilder;)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/DomSerializer;
0 2 1 comment Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
comment
public void endDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.txw2.output.DomSerializer.serializer:Lcom/sun/xml/internal/txw2/output/SaxSerializer;
invokevirtual com.sun.xml.internal.txw2.output.SaxSerializer.endDocument:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/txw2/output/DomSerializer;
public void flush();
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/xml/internal/txw2/output/DomSerializer;
}
SourceFile: "DomSerializer.java"