public class com.ctc.wstx.dom.WstxDOMWrappingWriter extends org.codehaus.stax2.ri.dom.DOMWrappingWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.ctc.wstx.dom.WstxDOMWrappingWriter
super_class: org.codehaus.stax2.ri.dom.DOMWrappingWriter
{
protected static final java.lang.String ERR_NSDECL_WRONG_STATE;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "Trying to write a namespace declaration when there is no open start element."
protected final com.ctc.wstx.api.WriterConfig mConfig;
descriptor: Lcom/ctc/wstx/api/WriterConfig;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected com.ctc.wstx.dom.DOMOutputElement mCurrElem;
descriptor: Lcom/ctc/wstx/dom/DOMOutputElement;
flags: (0x0004) ACC_PROTECTED
protected com.ctc.wstx.dom.DOMOutputElement mOpenElement;
descriptor: Lcom/ctc/wstx/dom/DOMOutputElement;
flags: (0x0004) ACC_PROTECTED
protected int[] mAutoNsSeq;
descriptor: [I
flags: (0x0004) ACC_PROTECTED
protected java.lang.String mSuggestedDefNs;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String mAutomaticNsPrefix;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
java.util.HashMap<java.lang.String, java.lang.String> mSuggestedPrefixes;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
private void <init>(com.ctc.wstx.api.WriterConfig, org.w3c.dom.Node);
descriptor: (Lcom/ctc/wstx/api/WriterConfig;Lorg/w3c/dom/Node;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
aload 1
invokevirtual com.ctc.wstx.api.WriterConfig.willSupportNamespaces:()Z
aload 1
invokevirtual com.ctc.wstx.api.WriterConfig.automaticNamespacesEnabled:()Z
invokespecial org.codehaus.stax2.ri.dom.DOMWrappingWriter.<init>:(Lorg/w3c/dom/Node;ZZ)V
1: aload 0
aconst_null
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mSuggestedDefNs:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
3: aload 0
aload 1
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
4: aload 0
aconst_null
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
5: aload 0
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mNsRepairing:Z
ifeq 6
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.getAutomaticNsPrefix:()Ljava/lang/String;
goto 7
StackMap locals: com.ctc.wstx.dom.WstxDOMWrappingWriter com.ctc.wstx.api.WriterConfig org.w3c.dom.Node
StackMap stack: com.ctc.wstx.dom.WstxDOMWrappingWriter
6: aconst_null
StackMap locals: com.ctc.wstx.dom.WstxDOMWrappingWriter com.ctc.wstx.api.WriterConfig org.w3c.dom.Node
StackMap stack: com.ctc.wstx.dom.WstxDOMWrappingWriter java.lang.String
7: putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutomaticNsPrefix:Ljava/lang/String;
8: aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
lookupswitch { // 3
1: 12
9: 9
11: 9
default: 16
}
9: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic com.ctc.wstx.dom.DOMOutputElement.createRoot:(Lorg/w3c/dom/Node;)Lcom/ctc/wstx/dom/DOMOutputElement;
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
10: aload 0
aconst_null
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
11: goto 17
12: StackMap locals:
StackMap stack:
aload 2
invokestatic com.ctc.wstx.dom.DOMOutputElement.createRoot:(Lorg/w3c/dom/Node;)Lcom/ctc/wstx/dom/DOMOutputElement;
astore 3
start local 3 13: aload 2
checkcast org.w3c.dom.Element
astore 4
start local 4 14: aload 0
aload 0
aload 3
aload 4
invokevirtual com.ctc.wstx.dom.DOMOutputElement.createChild:(Lorg/w3c/dom/Element;)Lcom/ctc/wstx/dom/DOMOutputElement;
dup_x1
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
end local 4 end local 3 15: goto 17
16: StackMap locals:
StackMap stack:
new javax.xml.stream.XMLStreamException
dup
new java.lang.StringBuilder
dup
ldc "Can not create an XMLStreamWriter for a DOM node of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 18 1 cfg Lcom/ctc/wstx/api/WriterConfig;
0 18 2 treeRoot Lorg/w3c/dom/Node;
13 15 3 root Lcom/ctc/wstx/dom/DOMOutputElement;
14 15 4 elem Lorg/w3c/dom/Element;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
cfg
treeRoot
public static com.ctc.wstx.dom.WstxDOMWrappingWriter createFrom(com.ctc.wstx.api.WriterConfig, javax.xml.transform.dom.DOMResult);
descriptor: (Lcom/ctc/wstx/api/WriterConfig;Ljavax/xml/transform/dom/DOMResult;)Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.xml.transform.dom.DOMResult.getNode:()Lorg/w3c/dom/Node;
astore 2
start local 2 1: new com.ctc.wstx.dom.WstxDOMWrappingWriter
dup
aload 0
aload 2
invokespecial com.ctc.wstx.dom.WstxDOMWrappingWriter.<init>:(Lcom/ctc/wstx/api/WriterConfig;Lorg/w3c/dom/Node;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cfg Lcom/ctc/wstx/api/WriterConfig;
0 2 1 dst Ljavax/xml/transform/dom/DOMResult;
1 2 2 rootNode Lorg/w3c/dom/Node;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
cfg
dst
public javax.xml.namespace.NamespaceContext getNamespaceContext();
descriptor: ()Ljavax/xml/namespace/NamespaceContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mNsAware:Z
ifne 2
1: invokestatic org.codehaus.stax2.ri.EmptyNamespaceContext.getInstance:()Lorg/codehaus/stax2/ri/EmptyNamespaceContext;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
public java.lang.String getPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
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.dom.WstxDOMWrappingWriter.mNsAware:Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mNsContext:Ljavax/xml/namespace/NamespaceContext;
ifnull 6
3: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mNsContext:Ljavax/xml/namespace/NamespaceContext;
aload 1
invokeinterface javax.xml.namespace.NamespaceContext.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 1
invokevirtual com.ctc.wstx.dom.DOMOutputElement.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 7 1 uri Ljava/lang/String;
4 6 2 prefix Ljava/lang/String;
MethodParameters:
Name Flags
uri
public java.lang.Object getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
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.dom.WstxDOMWrappingWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
aload 1
invokevirtual com.ctc.wstx.api.WriterConfig.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
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.dom.WstxDOMWrappingWriter
1: aconst_null
goto 3
StackMap locals:
StackMap stack: com.ctc.wstx.dom.WstxDOMWrappingWriter
2: aload 1
StackMap locals: com.ctc.wstx.dom.WstxDOMWrappingWriter java.lang.String
StackMap stack: com.ctc.wstx.dom.WstxDOMWrappingWriter java.lang.String
3: putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.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/dom/WstxDOMWrappingWriter;
0 5 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public void setPrefix(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Can not pass null 'prefix' value"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifne 5
3: aload 0
aload 2
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.setDefaultNamespace:(Ljava/lang/String;)V
4: return
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 7
6: new java.lang.NullPointerException
dup
ldc "Can not pass null 'uri' value"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
ldc "xml"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
8: aload 2
ldc "http://www.w3.org/XML/1998/namespace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
9: getstatic com.ctc.wstx.cfg.ErrorConsts.ERR_NS_REDECL_XML:Ljava/lang/String;
aload 2
invokestatic com.ctc.wstx.dom.WstxDOMWrappingWriter.throwOutputError:(Ljava/lang/String;Ljava/lang/Object;)V
10: goto 20
StackMap locals:
StackMap stack:
11: aload 1
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
12: aload 2
ldc "http://www.w3.org/2000/xmlns/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
13: getstatic com.ctc.wstx.cfg.ErrorConsts.ERR_NS_REDECL_XMLNS:Ljava/lang/String;
aload 2
invokestatic com.ctc.wstx.dom.WstxDOMWrappingWriter.throwOutputError:(Ljava/lang/String;Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
return
15: StackMap locals:
StackMap stack:
aload 2
ldc "http://www.w3.org/XML/1998/namespace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: getstatic com.ctc.wstx.cfg.ErrorConsts.ERR_NS_REDECL_XML_URI:Ljava/lang/String;
aload 1
invokestatic com.ctc.wstx.dom.WstxDOMWrappingWriter.throwOutputError:(Ljava/lang/String;Ljava/lang/Object;)V
17: goto 20
StackMap locals:
StackMap stack:
18: aload 2
ldc "http://www.w3.org/2000/xmlns/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
19: getstatic com.ctc.wstx.cfg.ErrorConsts.ERR_NS_REDECL_XMLNS_URI:Ljava/lang/String;
aload 1
invokestatic com.ctc.wstx.dom.WstxDOMWrappingWriter.throwOutputError:(Ljava/lang/String;Ljava/lang/Object;)V
20: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
ifnonnull 22
21: aload 0
new java.util.HashMap
dup
bipush 16
invokespecial java.util.HashMap.<init>:(I)V
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
22: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
aload 2
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 24 1 prefix Ljava/lang/String;
0 24 2 uri Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
uri
public void writeAttribute(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aconst_null
aload 1
aload 2
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.outputAttribute:(Ljava/lang/String;Ljava/lang/String;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/dom/WstxDOMWrappingWriter;
0 2 1 localName Ljava/lang/String;
0 2 2 value Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
localName
value
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aconst_null
aload 2
aload 3
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.outputAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 2 1 nsURI Ljava/lang/String;
0 2 2 localName Ljava/lang/String;
0 2 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=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 2
aload 1
aload 3
aload 4
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.outputAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 2 1 prefix Ljava/lang/String;
0 2 2 nsURI Ljava/lang/String;
0 2 3 localName Ljava/lang/String;
0 2 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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "No currently open START_ELEMENT, cannot write attribute"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.setDefaultNamespace:(Ljava/lang/String;)V
3: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
ldc "http://www.w3.org/2000/xmlns/"
ldc "xmlns"
aload 1
invokevirtual com.ctc.wstx.dom.DOMOutputElement.addAttribute:(Ljava/lang/String;Ljava/lang/String;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/dom/WstxDOMWrappingWriter;
0 5 1 nsURI Ljava/lang/String;
MethodParameters:
Name Flags
nsURI
public void writeEmptyElement(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.writeEmptyElement:(Ljava/lang/String;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/dom/WstxDOMWrappingWriter;
0 2 1 localName Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
localName
public void writeEmptyElement(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
iconst_1
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.createStartElem:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)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/dom/WstxDOMWrappingWriter;
0 2 1 nsURI Ljava/lang/String;
0 2 2 localName Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
nsURI
localName
public void writeEmptyElement(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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: ldc ""
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 1
aload 2
iconst_1
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.createStartElem:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
3: return
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/dom/WstxDOMWrappingWriter;
0 4 1 prefix Ljava/lang/String;
0 4 2 localName Ljava/lang/String;
0 4 3 nsURI Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
localName
nsURI
public void writeEndDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aconst_null
dup_x1
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
public void writeEndElement();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
ifnull 1
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
invokevirtual com.ctc.wstx.dom.DOMOutputElement.isRoot:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "No open start element to close"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
3: aload 0
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
invokevirtual com.ctc.wstx.dom.DOMOutputElement.getParent:()Lcom/ctc/wstx/dom/DOMOutputElement;
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
public void writeNamespace(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, 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.dom.WstxDOMWrappingWriter.writeDefaultNamespace:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mNsAware:Z
ifne 5
4: ldc "Can not write namespaces with non-namespace writer."
invokestatic com.ctc.wstx.dom.WstxDOMWrappingWriter.throwOutputError:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
ldc "http://www.w3.org/2000/xmlns/"
ldc "xmlns"
aload 1
aload 2
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.outputAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 1
aload 2
invokevirtual com.ctc.wstx.dom.DOMOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 8 1 prefix Ljava/lang/String;
0 8 2 nsURI Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
nsURI
public void writeStartElement(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.writeStartElement:(Ljava/lang/String;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/dom/WstxDOMWrappingWriter;
0 2 1 localName Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
localName
public void writeStartElement(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
iconst_0
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.createStartElem:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)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/dom/WstxDOMWrappingWriter;
0 2 1 nsURI Ljava/lang/String;
0 2 2 localName Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
nsURI
localName
public void writeStartElement(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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
aload 1
aload 2
iconst_0
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.createStartElem:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;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/dom/WstxDOMWrappingWriter;
0 2 1 prefix Ljava/lang/String;
0 2 2 localName Ljava/lang/String;
0 2 3 nsURI Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
localName
nsURI
public boolean isPropertySupported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
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.dom.WstxDOMWrappingWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
aload 1
invokevirtual com.ctc.wstx.api.WriterConfig.isPropertySupported:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public boolean setProperty(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Z
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.dom.WstxDOMWrappingWriter.mConfig:Lcom/ctc/wstx/api/WriterConfig;
aload 1
aload 2
invokevirtual com.ctc.wstx.api.WriterConfig.setProperty:(Ljava/lang/String;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 1 1 name Ljava/lang/String;
0 1 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
public void writeDTD(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=3, 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.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
ifnull 2
1: new java.lang.IllegalStateException
dup
ldc "Operation only allowed to the document before adding root element"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
ldc "writeDTD()"
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.reportUnsupported:(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/dom/WstxDOMWrappingWriter;
0 4 1 rootName Ljava/lang/String;
0 4 2 systemId Ljava/lang/String;
0 4 3 publicId Ljava/lang/String;
0 4 4 internalSubset Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
rootName
systemId
publicId
internalSubset
protected void appendLeaf(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 1
invokevirtual com.ctc.wstx.dom.DOMOutputElement.appendNode:(Lorg/w3c/dom/Node;)V
1: aload 0
aconst_null
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 3 1 n Lorg/w3c/dom/Node;
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
n
protected void createStartElem(java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, 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.dom.WstxDOMWrappingWriter.mNsAware:Z
ifne 5
1: aload 1
ifnull 3
aload 1
invokevirtual java.lang.String.length:()I
ifle 3
2: ldc "Can not specify non-empty uri/prefix in non-namespace mode"
invokestatic com.ctc.wstx.dom.WstxDOMWrappingWriter.throwOutputError:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mDocument:Lorg/w3c/dom/Document;
aload 3
invokeinterface org.w3c.dom.Document.createElement:(Ljava/lang/String;)Lorg/w3c/dom/Element;
invokevirtual com.ctc.wstx.dom.DOMOutputElement.createAndAttachChild:(Lorg/w3c/dom/Element;)Lcom/ctc/wstx/dom/DOMOutputElement;
astore 5
start local 5 4: goto 39
end local 5 5: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mNsRepairing:Z
ifeq 30
6: aload 0
aload 2
aload 1
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.validateElemPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/dom/DOMOutputElement;)Ljava/lang/String;
astore 6
start local 6 7: aload 6
ifnull 13
8: aload 6
invokevirtual java.lang.String.length:()I
ifeq 11
9: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mDocument:Lorg/w3c/dom/Document;
aload 1
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
invokevirtual com.ctc.wstx.dom.DOMOutputElement.createAndAttachChild:(Lorg/w3c/dom/Element;)Lcom/ctc/wstx/dom/DOMOutputElement;
astore 5
start local 5 10: goto 39
end local 5 11: StackMap locals: com.ctc.wstx.dom.WstxDOMWrappingWriter java.lang.String java.lang.String java.lang.String int top java.lang.String
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mDocument:Lorg/w3c/dom/Document;
aload 1
aload 3
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
invokevirtual com.ctc.wstx.dom.DOMOutputElement.createAndAttachChild:(Lorg/w3c/dom/Element;)Lcom/ctc/wstx/dom/DOMOutputElement;
astore 5
start local 5 12: goto 39
end local 5 13: StackMap locals:
StackMap stack:
aload 2
ifnonnull 15
14: ldc ""
astore 2
15: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.generateElemPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/dom/DOMOutputElement;)Ljava/lang/String;
astore 6
16: aload 6
invokevirtual java.lang.String.length:()I
ifeq 17
iconst_1
goto 18
StackMap locals:
StackMap stack:
17: iconst_0
StackMap locals:
StackMap stack: int
18: istore 7
start local 7 19: iload 7
ifeq 21
20: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
21: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mDocument:Lorg/w3c/dom/Document;
aload 1
aload 3
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
invokevirtual com.ctc.wstx.dom.DOMOutputElement.createAndAttachChild:(Lorg/w3c/dom/Element;)Lcom/ctc/wstx/dom/DOMOutputElement;
astore 5
start local 5 22: aload 0
aload 5
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
23: iload 7
ifeq 27
24: aload 0
aload 6
aload 1
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
25: aload 5
aload 6
aload 1
invokevirtual com.ctc.wstx.dom.DOMOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
26: goto 39
27: StackMap locals: com.ctc.wstx.dom.WstxDOMWrappingWriter java.lang.String java.lang.String java.lang.String int com.ctc.wstx.dom.DOMOutputElement java.lang.String int
StackMap stack:
aload 0
aload 1
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.writeDefaultNamespace:(Ljava/lang/String;)V
28: aload 5
aload 1
invokevirtual com.ctc.wstx.dom.DOMOutputElement.setDefaultNsUri:(Ljava/lang/String;)V
end local 7 end local 6 29: goto 39
end local 5 30: StackMap locals:
StackMap stack:
aload 2
ifnonnull 36
aload 1
ifnull 36
aload 1
invokevirtual java.lang.String.length:()I
ifle 36
31: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
ifnonnull 32
aconst_null
goto 33
StackMap locals:
StackMap stack:
32: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
StackMap locals:
StackMap stack: java.lang.String
33: astore 2
34: aload 2
ifnonnull 36
35: new java.lang.StringBuilder
dup
ldc "Can not find prefix for namespace \""
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.dom.WstxDOMWrappingWriter.throwOutputError:(Ljava/lang/String;)V
36: StackMap locals:
StackMap stack:
aload 2
ifnull 38
aload 2
invokevirtual java.lang.String.length:()I
ifeq 38
37: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
38: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mDocument:Lorg/w3c/dom/Document;
aload 1
aload 3
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
invokevirtual com.ctc.wstx.dom.DOMOutputElement.createAndAttachChild:(Lorg/w3c/dom/Element;)Lcom/ctc/wstx/dom/DOMOutputElement;
astore 5
start local 5 39: StackMap locals: com.ctc.wstx.dom.DOMOutputElement
StackMap stack:
aload 0
aload 5
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
40: iload 4
ifne 42
41: aload 0
aload 5
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
42: StackMap locals:
StackMap stack:
return
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 43 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 43 1 nsURI Ljava/lang/String;
0 43 2 prefix Ljava/lang/String;
0 43 3 localName Ljava/lang/String;
0 43 4 isEmpty Z
4 5 5 elem Lcom/ctc/wstx/dom/DOMOutputElement;
10 11 5 elem Lcom/ctc/wstx/dom/DOMOutputElement;
12 13 5 elem Lcom/ctc/wstx/dom/DOMOutputElement;
22 30 5 elem Lcom/ctc/wstx/dom/DOMOutputElement;
39 43 5 elem Lcom/ctc/wstx/dom/DOMOutputElement;
7 29 6 actPrefix Ljava/lang/String;
19 29 7 hasPrefix Z
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
nsURI
prefix
localName
isEmpty
protected void outputAttribute(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: (0x0004) ACC_PROTECTED
Code:
stack=4, 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.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "No currently open START_ELEMENT, cannot write attribute"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mNsAware:Z
ifeq 9
3: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mNsRepairing:Z
ifeq 5
4: aload 0
aload 2
aload 1
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.findOrCreateAttrPrefix:(Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/dom/DOMOutputElement;)Ljava/lang/String;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnull 7
aload 2
invokevirtual java.lang.String.length:()I
ifle 7
6: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
7: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 1
aload 3
aload 4
invokevirtual com.ctc.wstx.dom.DOMOutputElement.addAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
8: goto 12
9: StackMap locals:
StackMap stack:
aload 2
ifnull 11
aload 2
invokevirtual java.lang.String.length:()I
ifle 11
10: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
11: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mOpenElement:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 3
aload 4
invokevirtual com.ctc.wstx.dom.DOMOutputElement.addAttribute:(Ljava/lang/String;Ljava/lang/String;)V
12: 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 13 0 this Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
0 13 1 nsURI Ljava/lang/String;
0 13 2 prefix Ljava/lang/String;
0 13 3 localName Ljava/lang/String;
0 13 4 value Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
nsURI
prefix
localName
value
private final java.lang.String validateElemPrefix(java.lang.String, java.lang.String, com.ctc.wstx.dom.DOMOutputElement);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/dom/DOMOutputElement;)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.dom.DOMOutputElement.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.dom.DOMOutputElement.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/dom/WstxDOMWrappingWriter;
0 9 1 prefix Ljava/lang/String;
0 9 2 nsURI Ljava/lang/String;
0 9 3 elem Lcom/ctc/wstx/dom/DOMOutputElement;
2 5 4 currURL Ljava/lang/String;
6 9 4 status I
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
prefix
nsURI
elem
protected final java.lang.String findElemPrefix(java.lang.String, com.ctc.wstx.dom.DOMOutputElement);
descriptor: (Ljava/lang/String;Lcom/ctc/wstx/dom/DOMOutputElement;)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.dom.DOMOutputElement.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.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 1
invokevirtual com.ctc.wstx.dom.DOMOutputElement.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/dom/WstxDOMWrappingWriter;
0 6 1 nsURI Ljava/lang/String;
0 6 2 elem Lcom/ctc/wstx/dom/DOMOutputElement;
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.dom.DOMOutputElement);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/dom/DOMOutputElement;)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.dom.WstxDOMWrappingWriter.mSuggestedDefNs:Ljava/lang/String;
ifnull 6
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.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.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
ifnonnull 7
aconst_null
goto 8
StackMap locals:
StackMap stack:
7: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
StackMap locals:
StackMap stack: java.lang.String
8: astore 1
9: aload 1
ifnonnull 16
10: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
ifnonnull 13
11: aload 0
iconst_1
newarray 10
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
12: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
iconst_0
iconst_1
iastore
13: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutomaticNsPrefix:Ljava/lang/String;
aload 2
14: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
15: invokevirtual com.ctc.wstx.dom.DOMOutputElement.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/dom/WstxDOMWrappingWriter;
0 17 1 suggPrefix Ljava/lang/String;
0 17 2 nsURI Ljava/lang/String;
0 17 3 elem Lcom/ctc/wstx/dom/DOMOutputElement;
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.dom.DOMOutputElement);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/dom/DOMOutputElement;)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.dom.DOMOutputElement.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.dom.DOMOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
aload 1
aload 2
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.writeNamespace:(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.dom.DOMOutputElement.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.dom.WstxDOMWrappingWriter.mSuggestedPrefixes:Ljava/util/HashMap;
ifnull 18
17: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.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.dom.DOMOutputElement.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.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
ifnonnull 26
24: aload 0
iconst_1
newarray 10
putfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
25: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
iconst_0
iconst_1
iastore
26: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mCurrElem:Lcom/ctc/wstx/dom/DOMOutputElement;
aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutomaticNsPrefix:Ljava/lang/String;
aload 2
27: aload 0
getfield com.ctc.wstx.dom.WstxDOMWrappingWriter.mAutoNsSeq:[I
28: invokevirtual com.ctc.wstx.dom.DOMOutputElement.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.dom.DOMOutputElement.addPrefix:(Ljava/lang/String;Ljava/lang/String;)V
30: aload 0
aload 4
aload 2
invokevirtual com.ctc.wstx.dom.WstxDOMWrappingWriter.writeNamespace:(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/dom/WstxDOMWrappingWriter;
0 32 1 suggPrefix Ljava/lang/String;
0 32 2 nsURI Ljava/lang/String;
0 32 3 elem Lcom/ctc/wstx/dom/DOMOutputElement;
4 10 4 status I
11 32 4 prefix Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
suggPrefix
nsURI
elem
}
SourceFile: "WstxDOMWrappingWriter.java"