public class com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider extends com.fasterxml.jackson.databind.ser.DefaultSerializerProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider
super_class: com.fasterxml.jackson.databind.ser.DefaultSerializerProvider
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final javax.xml.namespace.QName ROOT_NAME_FOR_NULL;
descriptor: Ljavax/xml/namespace/QName;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected final com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup _rootNameLookup;
descriptor: Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new javax.xml.namespace.QName
dup
ldc "null"
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;)V
putstatic com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider.ROOT_NAME_FOR_NULL:Ljavax/xml/namespace/QName;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup);
descriptor: (Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.<init>:()V
1: aload 0
aload 1
putfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameLookup:Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 3 1 rootNames Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;
MethodParameters:
Name Flags
rootNames
public void <init>(com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory);
descriptor: (Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;Lcom/fasterxml/jackson/databind/SerializationConfig;Lcom/fasterxml/jackson/databind/ser/SerializerFactory;)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.fasterxml.jackson.databind.ser.DefaultSerializerProvider.<init>:(Lcom/fasterxml/jackson/databind/SerializerProvider;Lcom/fasterxml/jackson/databind/SerializationConfig;Lcom/fasterxml/jackson/databind/ser/SerializerFactory;)V
1: aload 0
aload 1
getfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameLookup:Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;
putfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameLookup:Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;
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/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 3 1 src Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 3 2 config Lcom/fasterxml/jackson/databind/SerializationConfig;
0 3 3 f Lcom/fasterxml/jackson/databind/ser/SerializerFactory;
MethodParameters:
Name Flags
src
config
f
protected void <init>(com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider);
descriptor: (Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.<init>:(Lcom/fasterxml/jackson/databind/ser/DefaultSerializerProvider;)V
1: aload 0
new com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup
dup
invokespecial com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup.<init>:()V
putfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameLookup:Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 3 1 src Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
MethodParameters:
Name Flags
src
public com.fasterxml.jackson.databind.ser.DefaultSerializerProvider copy();
descriptor: ()Lcom/fasterxml/jackson/databind/ser/DefaultSerializerProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider
dup
aload 0
invokespecial com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider.<init>:(Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
public com.fasterxml.jackson.databind.ser.DefaultSerializerProvider createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory);
descriptor: (Lcom/fasterxml/jackson/databind/SerializationConfig;Lcom/fasterxml/jackson/databind/ser/SerializerFactory;)Lcom/fasterxml/jackson/databind/ser/DefaultSerializerProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider
dup
aload 0
aload 1
aload 2
invokespecial com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider.<init>:(Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;Lcom/fasterxml/jackson/databind/SerializationConfig;Lcom/fasterxml/jackson/databind/ser/SerializerFactory;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 1 1 config Lcom/fasterxml/jackson/databind/SerializationConfig;
0 1 2 jsf Lcom/fasterxml/jackson/databind/ser/SerializerFactory;
MethodParameters:
Name Flags
config
jsf
public void serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 3
1: aload 0
aload 1
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._serializeXmlNull:(Lcom/fasterxml/jackson/core/JsonGenerator;)V
2: return
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 4: aload 0
aload 1
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._asXmlGenerator:(Lcom/fasterxml/jackson/core/JsonGenerator;)Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;
astore 5
start local 5 5: aload 5
ifnonnull 8
6: iconst_0
istore 4
start local 4 7: goto 15
end local 4 8: StackMap locals: com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider com.fasterxml.jackson.core.JsonGenerator java.lang.Object java.lang.Class top com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator
StackMap stack:
aload 0
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameFromConfig:()Ljavax/xml/namespace/QName;
astore 6
start local 6 9: aload 6
ifnonnull 11
10: aload 0
getfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameLookup:Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;
aload 3
aload 0
getfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._config:Lcom/fasterxml/jackson/databind/SerializationConfig;
invokevirtual com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup.findRootName:(Ljava/lang/Class;Lcom/fasterxml/jackson/databind/cfg/MapperConfig;)Ljavax/xml/namespace/QName;
astore 6
11: StackMap locals: javax.xml.namespace.QName
StackMap stack:
aload 0
aload 5
aload 6
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._initWithRootName:(Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;Ljavax/xml/namespace/QName;)V
12: aload 3
invokestatic com.fasterxml.jackson.dataformat.xml.util.TypeUtil.isIndexedType:(Ljava/lang/Class;)Z
istore 4
start local 4 13: iload 4
ifeq 15
14: aload 0
aload 5
aload 6
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._startRootArray:(Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;Ljavax/xml/namespace/QName;)V
end local 6 15: StackMap locals: com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider com.fasterxml.jackson.core.JsonGenerator java.lang.Object java.lang.Class int com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator
StackMap stack:
aload 0
aload 3
iconst_1
aconst_null
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider.findTypedValueSerializer:(Ljava/lang/Class;ZLcom/fasterxml/jackson/databind/BeanProperty;)Lcom/fasterxml/jackson/databind/JsonSerializer;
astore 6
start local 6 16: aload 6
aload 2
aload 1
aload 0
invokevirtual com.fasterxml.jackson.databind.JsonSerializer.serialize:(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
17: goto 20
StackMap locals: com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider com.fasterxml.jackson.core.JsonGenerator java.lang.Object java.lang.Class int com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator com.fasterxml.jackson.databind.JsonSerializer
StackMap stack: java.lang.Exception
18: astore 7
start local 7 19: aload 0
aload 1
aload 7
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._wrapAsIOE:(Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Exception;)Ljava/io/IOException;
athrow
end local 7 20: StackMap locals:
StackMap stack:
iload 4
ifeq 22
21: aload 1
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeEndObject:()V
22: 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 23 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 23 1 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 23 2 value Ljava/lang/Object;
4 23 3 cls Ljava/lang/Class<*>;
7 8 4 asArray Z
13 23 4 asArray Z
5 23 5 xgen Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;
9 15 6 rootName Ljavax/xml/namespace/QName;
16 23 6 ser Lcom/fasterxml/jackson/databind/JsonSerializer<Ljava/lang/Object;>;
19 20 7 e Ljava/lang/Exception;
Exception table:
from to target type
16 17 18 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
gen
value
public void serializeValue(com.fasterxml.jackson.core.JsonGenerator, , com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Object;Lcom/fasterxml/jackson/databind/JavaType;Lcom/fasterxml/jackson/databind/JsonSerializer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ifnonnull 3
1: aload 0
aload 1
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._serializeXmlNull:(Lcom/fasterxml/jackson/core/JsonGenerator;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._asXmlGenerator:(Lcom/fasterxml/jackson/core/JsonGenerator;)Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;
astore 6
start local 6 4: aload 6
ifnonnull 7
5: iconst_0
istore 5
start local 5 6: goto 14
end local 5 7: StackMap locals: com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider com.fasterxml.jackson.core.JsonGenerator java.lang.Object com.fasterxml.jackson.databind.JavaType com.fasterxml.jackson.databind.JsonSerializer top com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator
StackMap stack:
aload 0
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameFromConfig:()Ljavax/xml/namespace/QName;
astore 7
start local 7 8: aload 7
ifnonnull 10
9: aload 0
getfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameLookup:Lcom/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup;
aload 3
aload 0
getfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._config:Lcom/fasterxml/jackson/databind/SerializationConfig;
invokevirtual com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup.findRootName:(Lcom/fasterxml/jackson/databind/JavaType;Lcom/fasterxml/jackson/databind/cfg/MapperConfig;)Ljavax/xml/namespace/QName;
astore 7
10: StackMap locals: javax.xml.namespace.QName
StackMap stack:
aload 0
aload 6
aload 7
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._initWithRootName:(Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;Ljavax/xml/namespace/QName;)V
11: aload 3
invokestatic com.fasterxml.jackson.dataformat.xml.util.TypeUtil.isIndexedType:(Lcom/fasterxml/jackson/databind/JavaType;)Z
istore 5
start local 5 12: iload 5
ifeq 14
13: aload 0
aload 6
aload 7
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._startRootArray:(Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;Ljavax/xml/namespace/QName;)V
end local 7 14: StackMap locals: com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider com.fasterxml.jackson.core.JsonGenerator java.lang.Object com.fasterxml.jackson.databind.JavaType com.fasterxml.jackson.databind.JsonSerializer int com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator
StackMap stack:
aload 4
ifnonnull 16
15: aload 0
aload 3
iconst_1
aconst_null
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider.findTypedValueSerializer:(Lcom/fasterxml/jackson/databind/JavaType;ZLcom/fasterxml/jackson/databind/BeanProperty;)Lcom/fasterxml/jackson/databind/JsonSerializer;
astore 4
16: StackMap locals:
StackMap stack:
aload 4
aload 2
aload 1
aload 0
invokevirtual com.fasterxml.jackson.databind.JsonSerializer.serialize:(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
17: goto 20
StackMap locals:
StackMap stack: java.lang.Exception
18: astore 7
start local 7 19: aload 0
aload 1
aload 7
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._wrapAsIOE:(Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Exception;)Ljava/io/IOException;
athrow
end local 7 20: StackMap locals:
StackMap stack:
iload 5
ifeq 22
21: aload 1
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeEndObject:()V
22: 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 23 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 23 1 gen Lcom/fasterxml/jackson/core/JsonGenerator;
0 23 2 value Ljava/lang/Object;
0 23 3 rootType Lcom/fasterxml/jackson/databind/JavaType;
0 23 4 ser Lcom/fasterxml/jackson/databind/JsonSerializer<Ljava/lang/Object;>;
6 7 5 asArray Z
12 23 5 asArray Z
4 23 6 xgen Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;
8 14 7 rootName Ljavax/xml/namespace/QName;
19 20 7 e Ljava/lang/Exception;
Exception table:
from to target type
16 17 18 Class java.lang.Exception
Exceptions:
throws java.io.IOException
Signature: (Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Object;Lcom/fasterxml/jackson/databind/JavaType;Lcom/fasterxml/jackson/databind/JsonSerializer<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
gen
value
rootType
ser
protected void _serializeXmlNull(com.fasterxml.jackson.core.JsonGenerator);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._rootNameFromConfig:()Ljavax/xml/namespace/QName;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: getstatic com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider.ROOT_NAME_FOR_NULL:Ljavax/xml/namespace/QName;
astore 2
3: StackMap locals: javax.xml.namespace.QName
StackMap stack:
aload 1
instanceof com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator
ifeq 5
4: aload 0
aload 1
checkcast com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator
aload 2
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._initWithRootName:(Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;Ljavax/xml/namespace/QName;)V
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
invokespecial com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue:(Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 7 1 jgen Lcom/fasterxml/jackson/core/JsonGenerator;
1 7 2 rootName Ljavax/xml/namespace/QName;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
jgen
protected void _startRootArray(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator, javax.xml.namespace.QName);
descriptor: (Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;Ljavax/xml/namespace/QName;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.writeStartObject:()V
1: aload 1
ldc "item"
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.writeFieldName:(Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 3 1 xgen Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;
0 3 2 rootName Ljavax/xml/namespace/QName;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
xgen
rootName
protected void _initWithRootName(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator, javax.xml.namespace.QName);
descriptor: (Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;Ljavax/xml/namespace/QName;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.setNextNameIfMissing:(Ljavax/xml/namespace/QName;)Z
ifne 3
1: aload 1
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.inRoot:()Z
ifeq 3
2: aload 1
aload 2
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.setNextName:(Ljavax/xml/namespace/QName;)V
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.initGenerator:()V
4: aload 2
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnull 10
aload 3
invokevirtual java.lang.String.length:()I
ifle 10
6: aload 1
invokevirtual com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.getStaxWriter:()Ljavax/xml/stream/XMLStreamWriter;
aload 3
invokeinterface javax.xml.stream.XMLStreamWriter.setDefaultNamespace:(Ljava/lang/String;)V
7: goto 10
StackMap locals: com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator javax.xml.namespace.QName java.lang.String
StackMap stack: javax.xml.stream.XMLStreamException
8: astore 4
start local 4 9: aload 4
aload 1
invokestatic com.fasterxml.jackson.dataformat.xml.util.StaxUtil.throwAsGenerationException:(Ljavax/xml/stream/XMLStreamException;Lcom/fasterxml/jackson/core/JsonGenerator;)Ljava/lang/Object;
pop
end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 11 1 xgen Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;
0 11 2 rootName Ljavax/xml/namespace/QName;
5 11 3 ns Ljava/lang/String;
9 10 4 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
6 7 8 Class javax.xml.stream.XMLStreamException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
xgen
rootName
protected javax.xml.namespace.QName _rootNameFromConfig();
descriptor: ()Ljavax/xml/namespace/QName;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider._config:Lcom/fasterxml/jackson/databind/SerializationConfig;
invokevirtual com.fasterxml.jackson.databind.SerializationConfig.getFullRootName:()Lcom/fasterxml/jackson/databind/PropertyName;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: com.fasterxml.jackson.databind.PropertyName
StackMap stack:
aload 1
invokevirtual com.fasterxml.jackson.databind.PropertyName.getNamespace:()Ljava/lang/String;
astore 2
start local 2 4: aload 2
ifnull 5
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 6
5: StackMap locals: java.lang.String
StackMap stack:
new javax.xml.namespace.QName
dup
aload 1
invokevirtual com.fasterxml.jackson.databind.PropertyName.getSimpleName:()Ljava/lang/String;
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;)V
areturn
6: StackMap locals:
StackMap stack:
new javax.xml.namespace.QName
dup
aload 2
aload 1
invokevirtual com.fasterxml.jackson.databind.PropertyName.getSimpleName:()Ljava/lang/String;
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
1 7 1 name Lcom/fasterxml/jackson/databind/PropertyName;
4 7 2 ns Ljava/lang/String;
protected com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator _asXmlGenerator(com.fasterxml.jackson.core.JsonGenerator);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;)Lcom/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator
ifne 6
1: aload 1
instanceof com.fasterxml.jackson.databind.util.TokenBuffer
ifne 5
2: aload 1
3: new java.lang.StringBuilder
dup
ldc "XmlMapper does not with generators of type other than ToXmlGenerator; got: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
4: invokestatic com.fasterxml.jackson.databind.JsonMappingException.from:(Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/String;)Lcom/fasterxml/jackson/databind/JsonMappingException;
athrow
5: StackMap locals:
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 7 1 gen Lcom/fasterxml/jackson/core/JsonGenerator;
Exceptions:
throws com.fasterxml.jackson.databind.JsonMappingException
MethodParameters:
Name Flags
gen
protected java.io.IOException _wrapAsIOE(com.fasterxml.jackson.core.JsonGenerator, java.lang.Exception);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;Ljava/lang/Exception;)Ljava/io/IOException;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.io.IOException
ifeq 2
1: aload 2
checkcast java.io.IOException
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: new java.lang.StringBuilder
dup
ldc "[no message for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
5: StackMap locals: java.lang.String
StackMap stack:
new com.fasterxml.jackson.databind.JsonMappingException
dup
aload 1
aload 3
aload 2
invokespecial com.fasterxml.jackson.databind.JsonMappingException.<init>:(Ljava/io/Closeable;Ljava/lang/String;Ljava/lang/Throwable;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider;
0 6 1 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 6 2 e Ljava/lang/Exception;
3 6 3 msg Ljava/lang/String;
MethodParameters:
Name Flags
g
e
}
SourceFile: "XmlSerializerProvider.java"