public class com.ctc.wstx.sw.SimpleNsStreamWriter extends com.ctc.wstx.sw.BaseNsStreamWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.ctc.wstx.sw.SimpleNsStreamWriter
super_class: com.ctc.wstx.sw.BaseNsStreamWriter
{
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_0
invokespecial com.ctc.wstx.sw.BaseNsStreamWriter.<init>:(Lcom/ctc/wstx/sw/XmlWriter;Ljava/lang/String;Lcom/ctc/wstx/api/WriterConfig;Z)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/ctc/wstx/sw/SimpleNsStreamWriter;
0 2 1 xw Lcom/ctc/wstx/sw/XmlWriter;
0 2 2 enc Ljava/lang/String;
0 2 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=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mStartElementOpen:Z
ifne 2
1: getstatic com.ctc.wstx.cfg.ErrorConsts.WERR_ATTR_NO_ELEM:Ljava/lang/String;
invokestatic com.ctc.wstx.sw.SimpleNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.getExplicitPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mReturnNullForDefaultNamespace:Z
ifne 5
aload 4
ifnonnull 5
4: new java.lang.StringBuilder
dup
ldc "Unbound namespace URI '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
invokestatic com.ctc.wstx.sw.SimpleNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
aload 1
aload 4
aload 3
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.doWriteAttr:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6: return
end local 4 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/SimpleNsStreamWriter;
0 7 1 nsURI Ljava/lang/String;
0 7 2 localName Ljava/lang/String;
0 7 3 value Ljava/lang/String;
3 7 4 prefix 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=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.ctc.wstx.sw.SimpleNsStreamWriter.mStartElementOpen:Z
ifne 2
1: getstatic com.ctc.wstx.cfg.ErrorConsts.WERR_ATTR_NO_ELEM:Ljava/lang/String;
invokestatic com.ctc.wstx.sw.SimpleNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 2
aload 1
aload 4
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.doWriteAttr:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)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/SimpleNsStreamWriter;
0 4 1 prefix Ljava/lang/String;
0 4 2 nsURI Ljava/lang/String;
0 4 3 localName Ljava/lang/String;
0 4 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=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mStartElementOpen:Z
ifne 2
1: ldc "Trying to write a namespace declaration when there is no open start element."
invokestatic com.ctc.wstx.sw.SimpleNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.setDefaultNamespace:(Ljava/lang/String;)V
3: aload 0
aload 1
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.doWriteDefaultNs:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/sw/SimpleNsStreamWriter;
0 5 1 nsURI 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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
aload 1
invokevirtual java.lang.String.length:()I
ifeq 2
1: aload 1
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeDefaultNamespace:(Ljava/lang/String;)V
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mStartElementOpen:Z
ifne 6
5: ldc "Trying to write a namespace declaration when there is no open start element."
invokestatic com.ctc.wstx.sw.SimpleNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mXml11:Z
ifne 9
7: aload 2
invokevirtual java.lang.String.length:()I
ifne 9
8: getstatic com.ctc.wstx.cfg.ErrorConsts.ERR_NS_EMPTY:Ljava/lang/String;
invokestatic com.ctc.wstx.sw.SimpleNsStreamWriter.throwOutputError:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.setPrefix:(Ljava/lang/String;Ljava/lang/String;)V
10: aload 0
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.doWriteNamespace:(Ljava/lang/String;Ljava/lang/String;)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/sw/SimpleNsStreamWriter;
0 12 1 prefix Ljava/lang/String;
0 12 2 nsURI Ljava/lang/String;
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
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.setDefaultNsUri:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/sw/SimpleNsStreamWriter;
0 2 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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.addPrefix:(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/ctc/wstx/sw/SimpleNsStreamWriter;
0 2 1 prefix Ljava/lang/String;
0 2 2 uri 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=8, 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 1
invokeinterface javax.xml.stream.events.StartElement.getNamespaces:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 9
3: 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.Namespace
astore 4
start local 4 4: aload 4
invokeinterface javax.xml.stream.events.Namespace.getPrefix:()Ljava/lang/String;
astore 5
start local 5 5: aload 5
ifnull 6
aload 5
invokevirtual java.lang.String.length:()I
ifne 8
6: StackMap locals: javax.xml.stream.events.Namespace java.lang.String
StackMap stack:
aload 0
aload 4
invokeinterface javax.xml.stream.events.Namespace.getNamespaceURI:()Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.setDefaultNamespace:(Ljava/lang/String;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 4
invokeinterface javax.xml.stream.events.Namespace.getNamespaceURI:()Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.setPrefix:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 end local 4 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: aload 2
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
astore 4
start local 4 11: aload 4
ifnonnull 14
12: aload 0
aload 2
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartElement:(Ljava/lang/String;)V
13: goto 16
14: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
astore 5
start local 5 15: aload 0
aload 5
aload 2
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 4
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 5 16: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.StartElement.getNamespaces:()Ljava/util/Iterator;
astore 5
start local 5 17: goto 24
18: StackMap locals: java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.stream.events.Namespace
astore 6
start local 6 19: aload 6
invokeinterface javax.xml.stream.events.Namespace.getPrefix:()Ljava/lang/String;
astore 7
start local 7 20: aload 7
ifnull 21
aload 7
invokevirtual java.lang.String.length:()I
ifne 23
21: StackMap locals: javax.xml.stream.events.Namespace java.lang.String
StackMap stack:
aload 0
aload 6
invokeinterface javax.xml.stream.events.Namespace.getNamespaceURI:()Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeDefaultNamespace:(Ljava/lang/String;)V
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 6
invokeinterface javax.xml.stream.events.Namespace.getNamespaceURI:()Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
end local 7 end local 6 24: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
25: aload 1
invokeinterface javax.xml.stream.events.StartElement.getAttributes:()Ljava/util/Iterator;
astore 6
start local 6 26: goto 36
27: StackMap locals: java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.stream.events.Attribute
astore 7
start local 7 28: aload 7
invokeinterface javax.xml.stream.events.Attribute.getName:()Ljavax/xml/namespace/QName;
astore 2
29: aload 2
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
astore 4
30: aload 4
ifnull 35
aload 4
invokevirtual java.lang.String.length:()I
ifle 35
31: aload 0
aload 2
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 4
32: aload 2
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 7
invokeinterface javax.xml.stream.events.Attribute.getValue:()Ljava/lang/String;
33: invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
34: goto 36
35: StackMap locals: javax.xml.stream.events.Attribute
StackMap stack:
aload 0
aload 2
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
aload 7
invokeinterface javax.xml.stream.events.Attribute.getValue:()Ljava/lang/String;
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeAttribute:(Ljava/lang/String;Ljava/lang/String;)V
end local 7 36: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
37: 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 38 0 this Lcom/ctc/wstx/sw/SimpleNsStreamWriter;
0 38 1 elem Ljavax/xml/stream/events/StartElement;
1 38 2 name Ljavax/xml/namespace/QName;
2 38 3 it Ljava/util/Iterator<Ljavax/xml/stream/events/Namespace;>;
4 9 4 ns Ljavax/xml/stream/events/Namespace;
5 9 5 prefix Ljava/lang/String;
11 38 4 nsURI Ljava/lang/String;
15 16 5 prefix Ljava/lang/String;
17 38 5 it2 Ljava/util/Iterator<Ljavax/xml/stream/events/Namespace;>;
19 24 6 ns Ljavax/xml/stream/events/Namespace;
20 24 7 prefix Ljava/lang/String;
26 38 6 ait Ljava/util/Iterator<Ljavax/xml/stream/events/Attribute;>;
28 36 7 attr Ljavax/xml/stream/events/Attribute;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
elem
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
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 2
invokevirtual com.ctc.wstx.sw.SimpleOutputElement.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new javax.xml.stream.XMLStreamException
dup
new java.lang.StringBuilder
dup
ldc "Unbound namespace URI '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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;
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.checkStartElement:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
ifnull 6
5: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.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
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
ifnull 12
7: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
astore 4
start local 4 8: aload 0
aload 4
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.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.SimpleNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
9: aload 0
dup
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mPoolSize:I
iconst_1
isub
putfield com.ctc.wstx.sw.SimpleNsStreamWriter.mPoolSize:I
10: aload 0
aload 4
putfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
end local 4 11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.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.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
13: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 1
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.doWriteStartTag:(Ljava/lang/String;Ljava/lang/String;)V
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/ctc/wstx/sw/SimpleNsStreamWriter;
0 15 1 localName Ljava/lang/String;
0 15 2 nsURI Ljava/lang/String;
1 15 3 prefix Ljava/lang/String;
8 11 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=5, 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.SimpleNsStreamWriter.checkStartElement:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
ifnull 3
2: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
aload 2
aload 3
aload 1
invokevirtual org.codehaus.stax2.validation.XMLValidator.validateElementStart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
ifnull 9
4: aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
astore 4
start local 4 5: aload 0
aload 4
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
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.SimpleNsStreamWriter.mOutputElemPool:Lcom/ctc/wstx/sw/SimpleOutputElement;
6: aload 0
dup
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mPoolSize:I
iconst_1
isub
putfield com.ctc.wstx.sw.SimpleNsStreamWriter.mPoolSize:I
7: aload 0
aload 4
putfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
end local 4 8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
aload 1
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.SimpleNsStreamWriter.mCurrElem:Lcom/ctc/wstx/sw/SimpleOutputElement;
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.doWriteStartTag:(Ljava/lang/String;Ljava/lang/String;)V
11: return
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/SimpleNsStreamWriter;
0 12 1 prefix Ljava/lang/String;
0 12 2 localName Ljava/lang/String;
0 12 3 nsURI Ljava/lang/String;
5 8 4 newCurr Lcom/ctc/wstx/sw/SimpleOutputElement;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
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=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.ctc.wstx.sr.InputElementStack.getCurrentNsCount:()I
istore 3
start local 3 1: iload 3
ifle 12
2: iconst_0
istore 4
start local 4 3: goto 11
4: StackMap locals: int int
StackMap stack:
aload 1
iload 4
invokevirtual com.ctc.wstx.sr.InputElementStack.getLocalNsPrefix:(I)Ljava/lang/String;
astore 5
start local 5 5: aload 1
iload 4
invokevirtual com.ctc.wstx.sr.InputElementStack.getLocalNsURI:(I)Ljava/lang/String;
astore 6
start local 6 6: aload 5
ifnull 7
aload 5
invokevirtual java.lang.String.length:()I
ifne 9
7: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 6
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.setDefaultNamespace:(Ljava/lang/String;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 6
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.setPrefix:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 3
if_icmplt 4
end local 4 12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.ctc.wstx.sr.InputElementStack.getPrefix:()Ljava/lang/String;
13: aload 1
invokevirtual com.ctc.wstx.sr.InputElementStack.getLocalName:()Ljava/lang/String;
14: aload 1
invokevirtual com.ctc.wstx.sr.InputElementStack.getNsURI:()Ljava/lang/String;
15: invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
16: iload 3
ifle 27
17: iconst_0
istore 4
start local 4 18: goto 26
19: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokevirtual com.ctc.wstx.sr.InputElementStack.getLocalNsPrefix:(I)Ljava/lang/String;
astore 5
start local 5 20: aload 1
iload 4
invokevirtual com.ctc.wstx.sr.InputElementStack.getLocalNsURI:(I)Ljava/lang/String;
astore 6
start local 6 21: aload 5
ifnull 22
aload 5
invokevirtual java.lang.String.length:()I
ifne 24
22: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 6
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeDefaultNamespace:(Ljava/lang/String;)V
23: goto 25
24: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 6
invokevirtual com.ctc.wstx.sw.SimpleNsStreamWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 end local 5 25: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
26: iload 4
iload 3
if_icmplt 19
end local 4 27: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mCfgCopyDefaultAttrs:Z
ifeq 29
28: aload 2
invokevirtual com.ctc.wstx.sr.AttributeCollector.getCount:()I
goto 30
29: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.ctc.wstx.sr.AttributeCollector.getSpecifiedCount:()I
30: StackMap locals:
StackMap stack: int
istore 4
start local 4 31: iload 4
ifle 37
32: iconst_0
istore 5
start local 5 33: goto 36
34: StackMap locals: int int
StackMap stack:
aload 2
iload 5
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mWriter:Lcom/ctc/wstx/sw/XmlWriter;
aload 0
getfield com.ctc.wstx.sw.SimpleNsStreamWriter.mValidator:Lorg/codehaus/stax2/validation/XMLValidator;
invokevirtual com.ctc.wstx.sr.AttributeCollector.writeAttribute:(ILcom/ctc/wstx/sw/XmlWriter;Lorg/codehaus/stax2/validation/XMLValidator;)V
35: iinc 5 1
StackMap locals:
StackMap stack:
36: iload 5
iload 4
if_icmplt 34
end local 5 37: 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 38 0 this Lcom/ctc/wstx/sw/SimpleNsStreamWriter;
0 38 1 elemStack Lcom/ctc/wstx/sr/InputElementStack;
0 38 2 attrCollector Lcom/ctc/wstx/sr/AttributeCollector;
1 38 3 nsCount I
3 12 4 i I
5 10 5 prefix Ljava/lang/String;
6 10 6 uri Ljava/lang/String;
18 27 4 i I
20 25 5 prefix Ljava/lang/String;
21 25 6 uri Ljava/lang/String;
31 38 4 attrCount I
33 37 5 i I
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
elemStack
attrCollector
public java.lang.String validateQNamePrefix(javax.xml.namespace.QName);
descriptor: (Ljavax/xml/namespace/QName;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/sw/SimpleNsStreamWriter;
0 1 1 name Ljavax/xml/namespace/QName;
MethodParameters:
Name Flags
name
}
SourceFile: "SimpleNsStreamWriter.java"