public class com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer extends com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer
super_class: com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer
{
protected javax.xml.parsers.DocumentBuilderFactory dbf;
descriptor: Ljavax/xml/parsers/DocumentBuilderFactory;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xml.internal.security.encryption.AbstractSerializer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/DocumentSerializer;
public org.w3c.dom.Node deserialize(byte[], org.w3c.dom.Node);
descriptor: ([BLorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.createContext:([BLorg/w3c/dom/Node;)[B
astore 3
start local 3 1: aload 0
aload 2
new org.xml.sax.InputSource
dup
new java.io.ByteArrayInputStream
dup
aload 3
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/InputStream;)V
invokevirtual com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.deserialize:(Lorg/w3c/dom/Node;Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Node;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/encryption/DocumentSerializer;
0 2 1 source [B
0 2 2 ctx Lorg/w3c/dom/Node;
1 2 3 fragment [B
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
source
ctx
public org.w3c.dom.Node deserialize(java.lang.String, org.w3c.dom.Node);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.createContext:(Ljava/lang/String;Lorg/w3c/dom/Node;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
aload 2
new org.xml.sax.InputSource
dup
new java.io.StringReader
dup
aload 3
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/Reader;)V
invokevirtual com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.deserialize:(Lorg/w3c/dom/Node;Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Node;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/encryption/DocumentSerializer;
0 2 1 source Ljava/lang/String;
0 2 2 ctx Lorg/w3c/dom/Node;
1 2 3 fragment Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
source
ctx
private org.w3c.dom.Node deserialize(org.w3c.dom.Node, org.xml.sax.InputSource);
descriptor: (Lorg/w3c/dom/Node;Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.dbf:Ljavax/xml/parsers/DocumentBuilderFactory;
ifnonnull 6
1: aload 0
invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
putfield com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.dbf:Ljavax/xml/parsers/DocumentBuilderFactory;
2: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.dbf:Ljavax/xml/parsers/DocumentBuilderFactory;
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
3: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.dbf:Ljavax/xml/parsers/DocumentBuilderFactory;
ldc "http://javax.xml.XMLConstants/feature/secure-processing"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setFeature:(Ljava/lang/String;Z)V
4: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.dbf:Ljavax/xml/parsers/DocumentBuilderFactory;
ldc "http://xml.org/sax/features/namespaces"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.dbf:Ljavax/xml/parsers/DocumentBuilderFactory;
iconst_0
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setValidating:(Z)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.dbf:Ljavax/xml/parsers/DocumentBuilderFactory;
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 3
start local 3 7: aload 3
aload 2
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
astore 4
start local 4 8: aconst_null
astore 5
start local 5 9: bipush 9
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpne 12
10: aload 1
checkcast org.w3c.dom.Document
astore 5
11: goto 13
12: StackMap locals: javax.xml.parsers.DocumentBuilder org.w3c.dom.Document org.w3c.dom.Document
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
astore 5
13: StackMap locals:
StackMap stack:
aload 5
aload 4
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
iconst_1
invokeinterface org.w3c.dom.Document.importNode:(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Element
14: astore 6
start local 6 15: aload 5
invokeinterface org.w3c.dom.Document.createDocumentFragment:()Lorg/w3c/dom/DocumentFragment;
astore 7
start local 7 16: aload 6
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 8
start local 8 17: goto 21
18: StackMap locals: org.w3c.dom.Element org.w3c.dom.DocumentFragment org.w3c.dom.Node
StackMap stack:
aload 6
aload 8
invokeinterface org.w3c.dom.Element.removeChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
19: aload 7
aload 8
invokeinterface org.w3c.dom.DocumentFragment.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
20: aload 6
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 8
21: StackMap locals:
StackMap stack:
aload 8
ifnonnull 18
22: aload 7
23: areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 24: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer org.w3c.dom.Node org.xml.sax.InputSource
StackMap stack: org.xml.sax.SAXException
astore 3
start local 3 25: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 26: StackMap locals:
StackMap stack: javax.xml.parsers.ParserConfigurationException
astore 3
start local 3 27: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 28: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 29: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/org/apache/xml/internal/security/encryption/DocumentSerializer;
0 30 1 ctx Lorg/w3c/dom/Node;
0 30 2 inputSource Lorg/xml/sax/InputSource;
7 24 3 db Ljavax/xml/parsers/DocumentBuilder;
8 24 4 d Lorg/w3c/dom/Document;
9 24 5 contextDocument Lorg/w3c/dom/Document;
15 24 6 fragElt Lorg/w3c/dom/Element;
16 24 7 result Lorg/w3c/dom/DocumentFragment;
17 24 8 child Lorg/w3c/dom/Node;
25 26 3 se Lorg/xml/sax/SAXException;
27 28 3 pce Ljavax/xml/parsers/ParserConfigurationException;
29 30 3 ioe Ljava/io/IOException;
Exception table:
from to target type
0 23 24 Class org.xml.sax.SAXException
0 23 26 Class javax.xml.parsers.ParserConfigurationException
0 23 28 Class java.io.IOException
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
ctx
inputSource
}
SourceFile: "DocumentSerializer.java"