public abstract class com.sun.xml.internal.txw2.output.ResultFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.xml.internal.txw2.output.ResultFactory
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.xml.internal.txw2.output.ResultFactory this
0: .line 43
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.sun.xml.internal.txw2.output.ResultFactory this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/txw2/output/ResultFactory;
public static com.sun.xml.internal.txw2.output.XmlSerializer createSerializer(javax.xml.transform.Result);
descriptor: (Ljavax/xml/transform/Result;)Lcom/sun/xml/internal/txw2/output/XmlSerializer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 // javax.xml.transform.Result result
0: .line 55
aload 0 /* result */
instanceof javax.xml.transform.sax.SAXResult
ifeq 2
1: .line 56
new com.sun.xml.internal.txw2.output.SaxSerializer
dup
aload 0 /* result */
checkcast javax.xml.transform.sax.SAXResult
invokespecial com.sun.xml.internal.txw2.output.SaxSerializer.<init>:(Ljavax/xml/transform/sax/SAXResult;)V
areturn
2: .line 57
StackMap locals:
StackMap stack:
aload 0 /* result */
instanceof javax.xml.transform.dom.DOMResult
ifeq 4
3: .line 58
new com.sun.xml.internal.txw2.output.DomSerializer
dup
aload 0 /* result */
checkcast javax.xml.transform.dom.DOMResult
invokespecial com.sun.xml.internal.txw2.output.DomSerializer.<init>:(Ljavax/xml/transform/dom/DOMResult;)V
areturn
4: .line 59
StackMap locals:
StackMap stack:
aload 0 /* result */
instanceof javax.xml.transform.stream.StreamResult
ifeq 6
5: .line 60
new com.sun.xml.internal.txw2.output.StreamSerializer
dup
aload 0 /* result */
checkcast javax.xml.transform.stream.StreamResult
invokespecial com.sun.xml.internal.txw2.output.StreamSerializer.<init>:(Ljavax/xml/transform/stream/StreamResult;)V
areturn
6: .line 61
StackMap locals:
StackMap stack:
aload 0 /* result */
instanceof com.sun.xml.internal.txw2.output.TXWResult
ifeq 8
7: .line 62
new com.sun.xml.internal.txw2.output.TXWSerializer
dup
aload 0 /* result */
checkcast com.sun.xml.internal.txw2.output.TXWResult
invokevirtual com.sun.xml.internal.txw2.output.TXWResult.getWriter:()Lcom/sun/xml/internal/txw2/TypedXmlWriter;
invokespecial com.sun.xml.internal.txw2.output.TXWSerializer.<init>:(Lcom/sun/xml/internal/txw2/TypedXmlWriter;)V
areturn
8: .line 64
StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported Result type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* result */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 // javax.xml.transform.Result result
LocalVariableTable:
Start End Slot Name Signature
0 9 0 result Ljavax/xml/transform/Result;
MethodParameters:
Name Flags
result
}
SourceFile: "ResultFactory.java"