public final class com.ctc.wstx.sw.RepairingNsStreamWriter extends com.ctc.wstx.sw.BaseNsStreamWriter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.sw.RepairingNsStreamWriter
super_class: com.ctc.wstx.sw.BaseNsStreamWriter
{
protected final java.lang.String mAutomaticNsPrefix;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected int[] mAutoNsSeq;
descriptor: [I
flags: (0x0004) ACC_PROTECTED
protected java.lang.String mSuggestedDefNs;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.util.HashMap<java.lang.String, java.lang.String> mSuggestedPrefixes;
descriptor: Ljava/util/HashMap;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
public void <init>(com.ctc.wstx.sw.XmlWriter, java.lang.String, com.ctc.wstx.api.WriterConfig);
descriptor: (Lcom/ctc/wstx/sw/XmlWriter;Ljava/lang/String;Lcom/ctc/wstx/api/WriterConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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
iconst_1
invokespecial com.ctc.wstx.sw.BaseNsStreamWriter.<init>:(Lcom/ctc/wstx/sw/XmlWriter;Ljava/lang/String;Lcom/ctc/wstx/api/WriterConfig;Z)V
1: aload 0
aconst_null
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
2: aload 0
aconst_null
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedDefNs:Ljava/lang/String;
3: aload 0
aconst_null
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
4: aload 0
aload 3
invokevirtual com.ctc.wstx.api.WriterConfig.getAutomaticNsPrefix:()Ljava/lang/String;
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutomaticNsPrefix:Ljava/lang/String;
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/ctc/wstx/sw/RepairingNsStreamWriter;
0 6 1 xw Lcom/ctc/wstx/sw/XmlWriter;
0 6 2 enc Ljava/lang/String;
0 6 3 cfg Lcom/ctc/wstx/api/WriterConfig;
MethodParameters:
Name Flags
xw
enc
cfg
public void writeAttribute(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=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mStartElementOpen:Z
ifne 2
1: getstatic com.ctc.wstx.cfg.ErrorConsts.WERR_ATTR_NO_ELEM:Ljava/lang/String;
invokestatic com.ctc.wstx.sw.RepairingNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
3: aload 0
aconst_null
aload 1
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.findOrCreateAttrPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
4: aload 3
5: invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteAttr:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
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/ctc/wstx/sw/RepairingNsStreamWriter;
0 7 1 nsURI Ljava/lang/String;
0 7 2 localName Ljava/lang/String;
0 7 3 value Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
nsURI
localName
value
public void writeAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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.ctc.wstx.sw.RepairingNsStreamWriter.mStartElementOpen:Z
ifne 2
1: getstatic com.ctc.wstx.cfg.ErrorConsts.WERR_ATTR_NO_ELEM:Ljava/lang/String;
invokestatic com.ctc.wstx.sw.RepairingNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 2
aload 0
aload 1
aload 2
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.findOrCreateAttrPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
3: aload 4
4: invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteAttr:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 6 1 prefix Ljava/lang/String;
0 6 2 nsURI Ljava/lang/String;
0 6 3 localName Ljava/lang/String;
0 6 4 value Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
nsURI
localName
value
public void writeDefaultNamespace(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mStartElementOpen:Z
ifne 2
1: ldc "Trying to write a namespace declaration when there is no open start element."
invokestatic com.ctc.wstx.sw.RepairingNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.getPrefix:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 6
aload 2
invokevirtual java.lang.String.length:()I
ifle 6
4: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.setDefaultNsUri:(Ljava/lang/String;)V
5: aload 0
aload 1
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteDefaultNs:(Ljava/lang/String;)V
6: StackMap locals: java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 7 1 nsURI Ljava/lang/String;
3 7 2 prefix Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
nsURI
public void writeNamespace(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 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 3
1: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.writeDefaultNamespace:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mStartElementOpen:Z
ifne 5
4: ldc "Trying to write a namespace declaration when there is no open start element."
invokestatic com.ctc.wstx.sw.RepairingNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
aload 2
iconst_1
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.isPrefixValid:(Ljava/lang/String;Ljava/lang/String;Z)I
istore 3
start local 3 6: iload 3
ifne 9
7: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteNamespace:(Ljava/lang/String;Ljava/lang/String;)V
9: StackMap locals: int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 10 1 prefix Ljava/lang/String;
0 10 2 nsURI Ljava/lang/String;
6 10 3 value I
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
nsURI
public void setDefaultNamespace(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
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
StackMap locals:
StackMap stack: com.ctc.wstx.sw.RepairingNsStreamWriter
1: aconst_null
goto 3
StackMap locals:
StackMap stack: com.ctc.wstx.sw.RepairingNsStreamWriter
2: aload 1
StackMap locals: com.ctc.wstx.sw.RepairingNsStreamWriter java.lang.String
StackMap stack: com.ctc.wstx.sw.RepairingNsStreamWriter java.lang.String
3: putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedDefNs:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 5 1 uri Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
uri
public void doSetPrefix(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 10
1: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
ifnull 13
2: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
invokevirtual java.util.HashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: goto 8
4: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 5: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: aload 5
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
invokeinterface java.util.Iterator.remove:()V
end local 5 end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 9: goto 13
10: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
ifnonnull 12
11: aload 0
new java.util.HashMap
dup
bipush 16
invokespecial java.util.HashMap.<init>:(I)V
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
12: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
aload 2
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
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/ctc/wstx/sw/RepairingNsStreamWriter;
0 14 1 prefix Ljava/lang/String;
0 14 2 uri Ljava/lang/String;
3 9 3 it Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;
5 8 4 en Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
6 8 5 thisP Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
uri
public void writeStartElement(javax.xml.stream.events.StartElement);
descriptor: (Ljavax/xml/stream/events/StartElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.xml.stream.events.StartElement.getName:()Ljavax/xml/namespace/QName;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 2
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
2: aload 2
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
3: invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.writeStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4: aload 1
invokeinterface javax.xml.stream.events.StartElement.getAttributes:()Ljava/util/Iterator;
astore 3
start local 3 5: goto 11
6: StackMap locals: javax.xml.namespace.QName java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.stream.events.Attribute
astore 4
start local 4 7: aload 4
invokeinterface javax.xml.stream.events.Attribute.getName:()Ljavax/xml/namespace/QName;
astore 2
8: aload 0
aload 2
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 2
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
9: aload 2
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 4
invokeinterface javax.xml.stream.events.Attribute.getValue:()Ljava/lang/String;
10: invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 13 1 elem Ljavax/xml/stream/events/StartElement;
1 13 2 name Ljavax/xml/namespace/QName;
5 13 3 it Ljava/util/Iterator<Ljavax/xml/stream/events/Attribute;>;
7 11 4 attr Ljavax/xml/stream/events/Attribute;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
elem
protected void writeTypedAttribute(java.lang.String, java.lang.String, java.lang.String, org.codehaus.stax2.ri.typed.AsciiValueEncoder);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/codehaus/stax2/ri/typed/AsciiValueEncoder;)V
flags: (0x0004) ACC_PROTECTED
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
aload 0
aload 1
aload 2
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.findOrCreateAttrPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
1: aload 2
aload 3
aload 4
2: invokespecial com.ctc.wstx.sw.BaseNsStreamWriter.writeTypedAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/codehaus/stax2/ri/typed/AsciiValueEncoder;)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 4 1 prefix Ljava/lang/String;
0 4 2 nsURI Ljava/lang/String;
0 4 3 localName Ljava/lang/String;
0 4 4 enc Lorg/codehaus/stax2/ri/typed/AsciiValueEncoder;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
nsURI
localName
enc
protected void writeStartOrEmpty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
ldc ""
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.checkStartElement:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 2
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.findElemPrefix:(Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
ifnull 8
3: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
astore 4
start local 4 4: aload 0
aload 4
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 3
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.reuseAsChild:(Lcom/ctc/wstx/sw/SimpleOutputElement;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/sw/SimpleOutputElement;
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
5: aload 0
dup
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mPoolSize:I
iconst_1
isub
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mPoolSize:I
6: aload 0
aload 4
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
end local 4 7: goto 9
8: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 3
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.createChild:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/sw/SimpleOutputElement;
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
9: StackMap locals:
StackMap stack:
aload 3
ifnull 14
10: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
ifnull 12
11: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
aload 1
aload 2
aload 3
invokevirtual org.codehaus.stax2.validation.XMLValidator.validateElementStart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 1
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteStartTag:(Ljava/lang/String;Ljava/lang/String;)V
13: goto 25
14: StackMap locals:
StackMap stack:
aload 0
aconst_null
aload 2
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.generateElemPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
astore 3
15: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
ifnull 17
16: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
aload 1
aload 2
aload 3
invokevirtual org.codehaus.stax2.validation.XMLValidator.validateElementStart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 3
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.setPrefix:(Ljava/lang/String;)V
18: aload 0
aload 3
aload 1
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteStartTag:(Ljava/lang/String;Ljava/lang/String;)V
19: aload 3
ifnull 20
aload 3
invokevirtual java.lang.String.length:()I
ifne 23
20: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.setDefaultNsUri:(Ljava/lang/String;)V
21: aload 0
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteDefaultNs:(Ljava/lang/String;)V
22: goto 25
23: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 3
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
24: aload 0
aload 3
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteNamespace:(Ljava/lang/String;Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 26 1 localName Ljava/lang/String;
0 26 2 nsURI Ljava/lang/String;
2 26 3 prefix Ljava/lang/String;
4 7 4 newCurr Lcom/ctc/wstx/sw/SimpleOutputElement;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
localName
nsURI
protected void writeStartOrEmpty(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 1
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.checkStartElement:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
aload 3
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.validateElemPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
astore 4
start local 4 2: aload 4
ifnull 14
3: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
ifnull 5
4: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
aload 2
aload 3
aload 4
invokevirtual org.codehaus.stax2.validation.XMLValidator.validateElementStart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
ifnull 11
6: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
astore 5
start local 5 7: aload 0
aload 5
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 4
aload 2
aload 3
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.reuseAsChild:(Lcom/ctc/wstx/sw/SimpleOutputElement;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/sw/SimpleOutputElement;
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
8: aload 0
dup
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mPoolSize:I
iconst_1
isub
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mPoolSize:I
9: aload 0
aload 5
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
end local 5 10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 4
aload 2
aload 3
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.createChild:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/sw/SimpleOutputElement;
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
12: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteStartTag:(Ljava/lang/String;Ljava/lang/String;)V
13: goto 34
14: StackMap locals:
StackMap stack:
aload 1
ifnonnull 16
15: ldc ""
astore 1
16: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.generateElemPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
astore 4
17: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
ifnull 19
18: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
aload 2
aload 3
aload 4
invokevirtual org.codehaus.stax2.validation.XMLValidator.validateElementStart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
ifnull 25
20: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
astore 5
start local 5 21: aload 0
aload 5
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 4
aload 2
aload 3
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.reuseAsChild:(Lcom/ctc/wstx/sw/SimpleOutputElement;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/sw/SimpleOutputElement;
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
22: aload 0
dup
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mPoolSize:I
iconst_1
isub
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mPoolSize:I
23: aload 0
aload 5
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
end local 5 24: goto 26
25: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 4
aload 2
aload 3
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.createChild:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/ctc/wstx/sw/SimpleOutputElement;
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
26: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 4
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.setPrefix:(Ljava/lang/String;)V
27: aload 0
aload 4
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteStartTag:(Ljava/lang/String;Ljava/lang/String;)V
28: aload 4
ifnull 29
aload 4
invokevirtual java.lang.String.length:()I
ifne 32
29: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 3
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.setDefaultNsUri:(Ljava/lang/String;)V
30: aload 0
aload 3
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteDefaultNs:(Ljava/lang/String;)V
31: goto 34
32: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 4
aload 3
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
33: aload 0
aload 4
aload 3
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteNamespace:(Ljava/lang/String;Ljava/lang/String;)V
34: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 35 1 suggPrefix Ljava/lang/String;
0 35 2 localName Ljava/lang/String;
0 35 3 nsURI Ljava/lang/String;
2 35 4 actPrefix Ljava/lang/String;
7 10 5 newCurr Lcom/ctc/wstx/sw/SimpleOutputElement;
21 24 5 newCurr Lcom/ctc/wstx/sw/SimpleOutputElement;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
suggPrefix
localName
nsURI
public final void copyStartElement(com.ctc.wstx.sr.InputElementStack, com.ctc.wstx.sr.AttributeCollector);
descriptor: (Lcom/ctc/wstx/sr/InputElementStack;Lcom/ctc/wstx/sr/AttributeCollector;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.ctc.wstx.sr.InputElementStack.getPrefix:()Ljava/lang/String;
astore 3
start local 3 1: aload 1
invokevirtual com.ctc.wstx.sr.InputElementStack.getNsURI:()Ljava/lang/String;
astore 4
start local 4 2: aload 0
aload 3
aload 1
invokevirtual com.ctc.wstx.sr.InputElementStack.getLocalName:()Ljava/lang/String;
aload 4
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.writeStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: aload 1
invokevirtual com.ctc.wstx.sr.InputElementStack.getCurrentNsCount:()I
istore 5
start local 5 4: iload 5
ifle 10
5: iconst_0
istore 6
start local 6 6: goto 9
7: StackMap locals: com.ctc.wstx.sw.RepairingNsStreamWriter com.ctc.wstx.sr.InputElementStack com.ctc.wstx.sr.AttributeCollector java.lang.String java.lang.String int int
StackMap stack:
aload 0
aload 1
iload 6
invokevirtual com.ctc.wstx.sr.InputElementStack.getLocalNsPrefix:(I)Ljava/lang/String;
aload 1
iload 6
invokevirtual com.ctc.wstx.sr.InputElementStack.getLocalNsURI:(I)Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
8: iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 5
if_icmplt 7
end local 6 10: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCfgCopyDefaultAttrs:Z
ifeq 11
aload 2
invokevirtual com.ctc.wstx.sr.AttributeCollector.getCount:()I
goto 12
StackMap locals:
StackMap stack:
11: aload 2
invokevirtual com.ctc.wstx.sr.AttributeCollector.getSpecifiedCount:()I
StackMap locals:
StackMap stack: int
12: istore 6
start local 6 13: iload 6
ifle 27
14: iconst_0
istore 7
start local 7 15: goto 26
16: StackMap locals: int int
StackMap stack:
aload 2
iload 7
invokevirtual com.ctc.wstx.sr.AttributeCollector.getURI:(I)Ljava/lang/String;
astore 4
17: aload 2
iload 7
invokevirtual com.ctc.wstx.sr.AttributeCollector.getPrefix:(I)Ljava/lang/String;
astore 3
18: aload 3
ifnull 21
aload 3
invokevirtual java.lang.String.length:()I
ifne 20
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 4
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.findOrCreateAttrPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
astore 3
21: StackMap locals:
StackMap stack:
aload 3
ifnull 22
aload 3
invokevirtual java.lang.String.length:()I
ifne 24
22: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mWriter:Lcom/ctc/wstx/sw/XmlWriter;
aload 2
iload 7
invokevirtual com.ctc.wstx.sr.AttributeCollector.getLocalName:(I)Ljava/lang/String;
aload 2
iload 7
invokevirtual com.ctc.wstx.sr.AttributeCollector.getValue:(I)Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.XmlWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;)V
23: goto 25
24: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mWriter:Lcom/ctc/wstx/sw/XmlWriter;
aload 3
aload 2
iload 7
invokevirtual com.ctc.wstx.sr.AttributeCollector.getLocalName:(I)Ljava/lang/String;
aload 2
iload 7
invokevirtual com.ctc.wstx.sr.AttributeCollector.getValue:(I)Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.XmlWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
26: iload 7
iload 6
if_icmplt 16
end local 7 27: 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 28 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 28 1 elemStack Lcom/ctc/wstx/sr/InputElementStack;
0 28 2 ac Lcom/ctc/wstx/sr/AttributeCollector;
1 28 3 prefix Ljava/lang/String;
2 28 4 uri Ljava/lang/String;
4 28 5 nsCount I
6 10 6 i I
13 28 6 attrCount I
15 27 7 i I
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
elemStack
ac
public java.lang.String validateQNamePrefix(javax.xml.namespace.QName);
descriptor: (Ljavax/xml/namespace/QName;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 3
aload 2
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.validateElemPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
astore 4
start local 4 3: aload 4
ifnonnull 11
4: aload 3
ifnonnull 6
5: ldc ""
astore 3
6: StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
aload 3
aload 2
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.generateElemPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
astore 4
7: aload 4
ifnull 8
aload 4
invokevirtual java.lang.String.length:()I
ifne 10
8: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.writeDefaultNamespace:(Ljava/lang/String;)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 12 1 name Ljavax/xml/namespace/QName;
1 12 2 uri Ljava/lang/String;
2 12 3 suggPrefix Ljava/lang/String;
3 12 4 actPrefix Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
name
protected final java.lang.String findElemPrefix(java.lang.String, com.ctc.wstx.sw.SimpleOutputElement);
descriptor: (Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 5
1: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.getDefaultNsUri:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnull 4
aload 3
invokevirtual java.lang.String.length:()I
ifle 4
3: aconst_null
areturn
4: StackMap locals: java.lang.String
StackMap stack:
ldc ""
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 6 1 nsURI Ljava/lang/String;
0 6 2 elem Lcom/ctc/wstx/sw/SimpleOutputElement;
2 5 3 currDefNsURI Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
nsURI
elem
protected final java.lang.String generateElemPrefix(java.lang.String, java.lang.String, com.ctc.wstx.sw.SimpleOutputElement);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 16
3: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedDefNs:Ljava/lang/String;
ifnull 6
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedDefNs:Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: ldc ""
astore 1
5: goto 16
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
ifnonnull 7
aconst_null
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
8: StackMap locals:
StackMap stack: java.lang.String
astore 1
9: aload 1
ifnonnull 16
10: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
ifnonnull 13
11: aload 0
iconst_1
newarray 10
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
12: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
iconst_0
iconst_1
iastore
13: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutomaticNsPrefix:Ljava/lang/String;
aload 2
14: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
15: invokevirtual com.ctc.wstx.sw.SimpleOutputElement.generateMapping:(Ljava/lang/String;Ljava/lang/String;[I)Ljava/lang/String;
astore 1
16: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 17 1 suggPrefix Ljava/lang/String;
0 17 2 nsURI Ljava/lang/String;
0 17 3 elem Lcom/ctc/wstx/sw/SimpleOutputElement;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
suggPrefix
nsURI
elem
protected final java.lang.String findOrCreateAttrPrefix(java.lang.String, java.lang.String, com.ctc.wstx.sw.SimpleOutputElement);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 10
3: aload 3
aload 1
aload 2
iconst_0
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.isPrefixValid:(Ljava/lang/String;Ljava/lang/String;Z)I
istore 4
start local 4 4: iload 4
iconst_1
if_icmpne 6
5: aload 1
areturn
6: StackMap locals: int
StackMap stack:
iload 4
ifne 10
7: aload 3
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteNamespace:(Ljava/lang/String;Ljava/lang/String;)V
9: aload 1
areturn
end local 4 10: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.getExplicitPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 11: aload 4
ifnull 13
12: aload 4
areturn
13: StackMap locals: java.lang.String
StackMap stack:
aload 1
ifnull 16
14: aload 1
astore 4
15: goto 18
StackMap locals:
StackMap stack:
16: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
ifnull 18
17: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mSuggestedPrefixes:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
18: StackMap locals:
StackMap stack:
aload 4
ifnull 22
19: aload 4
invokevirtual java.lang.String.length:()I
ifeq 21
20: aload 3
aload 4
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.getNamespaceURI:(Ljava/lang/String;)Ljava/lang/String;
ifnull 22
21: StackMap locals:
StackMap stack:
aconst_null
astore 4
22: StackMap locals:
StackMap stack:
aload 4
ifnonnull 29
23: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
ifnonnull 26
24: aload 0
iconst_1
newarray 10
putfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
25: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
iconst_0
iconst_1
iastore
26: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutomaticNsPrefix:Ljava/lang/String;
aload 2
27: aload 0
getfield com.ctc.wstx.sw.RepairingNsStreamWriter.mAutoNsSeq:[I
28: invokevirtual com.ctc.wstx.sw.SimpleOutputElement.generateMapping:(Ljava/lang/String;Ljava/lang/String;[I)Ljava/lang/String;
astore 4
29: StackMap locals:
StackMap stack:
aload 3
aload 4
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
30: aload 0
aload 4
aload 2
invokevirtual com.ctc.wstx.sw.RepairingNsStreamWriter.doWriteNamespace:(Ljava/lang/String;Ljava/lang/String;)V
31: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 32 1 suggPrefix Ljava/lang/String;
0 32 2 nsURI Ljava/lang/String;
0 32 3 elem Lcom/ctc/wstx/sw/SimpleOutputElement;
4 10 4 status I
11 32 4 prefix Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
suggPrefix
nsURI
elem
private final java.lang.String validateElemPrefix(java.lang.String, java.lang.String, com.ctc.wstx.sw.SimpleOutputElement);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/sw/SimpleOutputElement;)Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 5
1: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.getDefaultNsUri:()Ljava/lang/String;
astore 4
start local 4 2: aload 4
ifnull 3
aload 4
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals: java.lang.String
StackMap stack:
ldc ""
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 5: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 2
iconst_1
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.isPrefixValid:(Ljava/lang/String;Ljava/lang/String;Z)I
istore 4
start local 4 6: iload 4
iconst_1
if_icmpne 8
7: aload 1
areturn
8: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/ctc/wstx/sw/RepairingNsStreamWriter;
0 9 1 prefix Ljava/lang/String;
0 9 2 nsURI Ljava/lang/String;
0 9 3 elem Lcom/ctc/wstx/sw/SimpleOutputElement;
2 5 4 currURL Ljava/lang/String;
6 9 4 status I
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
nsURI
elem
}
SourceFile: "RepairingNsStreamWriter.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map