public abstract class com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 extends com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315
super_class: com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase
{
private boolean firstCall;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack xmlattrStack;
descriptor: Lcom/sun/org/apache/xml/internal/security/c14n/implementations/XmlAttrStack;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean c14n11;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
invokespecial com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.<init>:(ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 2 1 includeComments Z
MethodParameters:
Name Flags
includeComments
public void <init>(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokespecial com.sun.org.apache.xml.internal.security.c14n.implementations.CanonicalizerBase.<init>:(Z)V
1: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.firstCall:Z
2: aload 0
new com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack
dup
iload 2
invokespecial com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack.<init>:(Z)V
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.xmlattrStack:Lcom/sun/org/apache/xml/internal/security/c14n/implementations/XmlAttrStack;
3: aload 0
iload 2
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.c14n11:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 5 1 includeComments Z
0 5 2 c14n11 Z
MethodParameters:
Name Flags
includeComments
c14n11
public byte[] engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node>, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
ldc "c14n.Canonicalizer.UnsupportedOperation"
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 1 1 xpathNodeSet Ljava/util/Set<Lorg/w3c/dom/Node;>;
0 1 2 inclusiveNamespaces Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
Signature: (Ljava/util/Set<Lorg/w3c/dom/Node;>;Ljava/lang/String;)[B
MethodParameters:
Name Flags
xpathNodeSet
inclusiveNamespaces
public byte[] engineCanonicalizeSubTree(org.w3c.dom.Node, java.lang.String);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
ldc "c14n.Canonicalizer.UnsupportedOperation"
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 1 1 rootNode Lorg/w3c/dom/Node;
0 1 2 inclusiveNamespaces Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
rootNode
inclusiveNamespaces
public byte[] engineCanonicalizeSubTree(org.w3c.dom.Node, java.lang.String, boolean);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;Z)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
ldc "c14n.Canonicalizer.UnsupportedOperation"
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 1 1 rootNode Lorg/w3c/dom/Node;
0 1 2 inclusiveNamespaces Ljava/lang/String;
0 1 3 propagateDefaultNamespace Z
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
rootNode
inclusiveNamespaces
propagateDefaultNamespace
protected void outputAttributesSubtree(org.w3c.dom.Element, com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable, java.util.Map<java.lang.String, byte[]>);
descriptor: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.w3c.dom.Element.hasAttributes:()Z
ifne 2
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.firstCall:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
new java.util.TreeSet
dup
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.COMPARE:Lcom/sun/org/apache/xml/internal/security/c14n/helper/AttrCompare;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 4
start local 4 3: aload 1
invokeinterface org.w3c.dom.Element.hasAttributes:()Z
ifeq 26
4: aload 1
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 5
start local 5 5: aload 5
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 6
start local 6 6: iconst_0
istore 7
start local 7 7: goto 25
8: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable java.util.Map java.util.SortedSet org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 5
iload 7
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 8
start local 8 9: aload 8
invokeinterface org.w3c.dom.Attr.getNamespaceURI:()Ljava/lang/String;
astore 9
start local 9 10: aload 8
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
astore 10
start local 10 11: aload 8
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
astore 11
start local 11 12: ldc "http://www.w3.org/2000/xmlns/"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
13: aload 4
aload 8
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
14: goto 24
StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable java.util.Map java.util.SortedSet org.w3c.dom.NamedNodeMap int int org.w3c.dom.Attr java.lang.String java.lang.String java.lang.String
StackMap stack:
15: ldc "xml"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
ldc "http://www.w3.org/XML/1998/namespace"
aload 11
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
16: StackMap locals:
StackMap stack:
aload 2
aload 10
aload 11
aload 8
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMappingAndRender:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Node;
astore 12
start local 12 17: aload 12
ifnull 24
18: aload 4
aload 12
checkcast org.w3c.dom.Attr
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
19: aload 8
invokestatic com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper.namespaceIsRelative:(Lorg/w3c/dom/Attr;)Z
ifeq 24
20: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 10
aastore
dup
iconst_2
aload 8
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
aastore
astore 13
start local 13 21: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
22: ldc "c14n.Canonicalizer.RelativeNamespace"
aload 13
23: invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 24: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable java.util.Map java.util.SortedSet org.w3c.dom.NamedNodeMap int int
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
iload 6
if_icmplt 8
end local 7 end local 6 end local 5 26: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.firstCall:Z
ifeq 30
27: aload 2
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.getUnrenderedNodes:(Ljava/util/Collection;)V
28: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.xmlattrStack:Lcom/sun/org/apache/xml/internal/security/c14n/implementations/XmlAttrStack;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack.getXmlnsAttr:(Ljava/util/Collection;)V
29: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.firstCall:Z
30: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.getWriter:()Ljava/io/OutputStream;
astore 5
start local 5 31: aload 4
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 7
goto 34
StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable java.util.Map java.util.SortedSet java.io.OutputStream top java.util.Iterator
StackMap stack:
32: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Attr
astore 6
start local 6 33: aload 6
invokeinterface org.w3c.dom.Attr.getNodeName:()Ljava/lang/String;
aload 6
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
aload 5
aload 3
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.outputAttrToWriter:(Ljava/lang/String;Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
end local 6 34: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 32
35: 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 36 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 36 1 element Lorg/w3c/dom/Element;
0 36 2 ns Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;
0 36 3 cache Ljava/util/Map<Ljava/lang/String;[B>;
3 36 4 result Ljava/util/SortedSet<Lorg/w3c/dom/Attr;>;
5 26 5 attrs Lorg/w3c/dom/NamedNodeMap;
6 26 6 attrsLength I
7 26 7 i I
9 24 8 attribute Lorg/w3c/dom/Attr;
10 24 9 NUri Ljava/lang/String;
11 24 10 NName Ljava/lang/String;
12 24 11 NValue Ljava/lang/String;
17 24 12 n Lorg/w3c/dom/Node;
21 24 13 exArgs [Ljava/lang/Object;
31 36 5 writer Ljava/io/OutputStream;
33 34 6 attr Lorg/w3c/dom/Attr;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, org.w3c.dom.DOMException, java.io.IOException
Signature: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map<Ljava/lang/String;[B>;)V
MethodParameters:
Name Flags
element
ns
cache
protected void outputAttributes(org.w3c.dom.Element, com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable, java.util.Map<java.lang.String, byte[]>);
descriptor: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.xmlattrStack:Lcom/sun/org/apache/xml/internal/security/c14n/implementations/XmlAttrStack;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.getLevel:()I
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack.push:(I)V
1: aload 0
aload 1
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.getLevel:()I
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.isVisibleDO:(Lorg/w3c/dom/Node;I)I
iconst_1
if_icmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: new java.util.TreeSet
dup
getstatic com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.COMPARE:Lcom/sun/org/apache/xml/internal/security/c14n/helper/AttrCompare;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 5
start local 5 5: aload 1
invokeinterface org.w3c.dom.Element.hasAttributes:()Z
ifeq 42
6: aload 1
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 6
start local 6 7: aload 6
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 7
start local 7 8: iconst_0
istore 8
start local 8 9: goto 41
10: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable java.util.Map int java.util.SortedSet org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 6
iload 8
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 9
start local 9 11: aload 9
invokeinterface org.w3c.dom.Attr.getNamespaceURI:()Ljava/lang/String;
astore 10
start local 10 12: aload 9
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
astore 11
start local 11 13: aload 9
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
astore 12
start local 12 14: ldc "http://www.w3.org/2000/xmlns/"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
15: ldc "http://www.w3.org/XML/1998/namespace"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
16: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.c14n11:Z
ifeq 20
ldc "id"
aload 11
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
17: iload 4
ifeq 40
18: aload 5
aload 9
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
19: goto 40
20: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable java.util.Map int java.util.SortedSet org.w3c.dom.NamedNodeMap int int org.w3c.dom.Attr java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.xmlattrStack:Lcom/sun/org/apache/xml/internal/security/c14n/implementations/XmlAttrStack;
aload 9
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack.addXmlnsAttr:(Lorg/w3c/dom/Attr;)V
21: goto 40
StackMap locals:
StackMap stack:
22: iload 4
ifeq 40
23: aload 5
aload 9
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
24: goto 40
StackMap locals:
StackMap stack:
25: ldc "xml"
aload 11
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
ldc "http://www.w3.org/XML/1998/namespace"
aload 12
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 40
26: StackMap locals:
StackMap stack:
aload 0
aload 9
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.isVisible:(Lorg/w3c/dom/Node;)Z
ifeq 36
27: iload 4
ifne 28
aload 2
aload 11
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.removeMappingIfRender:(Ljava/lang/String;)Z
ifne 40
28: StackMap locals:
StackMap stack:
aload 2
aload 11
aload 12
aload 9
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMappingAndRender:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Node;
astore 13
start local 13 29: aload 13
ifnull 40
30: aload 5
aload 13
checkcast org.w3c.dom.Attr
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
31: aload 9
invokestatic com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper.namespaceIsRelative:(Lorg/w3c/dom/Attr;)Z
ifeq 40
32: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 11
aastore
dup
iconst_2
aload 9
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
aastore
astore 14
start local 14 33: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
34: ldc "c14n.Canonicalizer.RelativeNamespace"
aload 14
35: invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 14 end local 13 36: StackMap locals:
StackMap stack:
iload 4
ifeq 39
ldc "xmlns"
aload 11
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 39
37: aload 2
aload 11
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.removeMapping:(Ljava/lang/String;)V
38: goto 40
39: StackMap locals:
StackMap stack:
aload 2
aload 11
aload 12
aload 9
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMapping:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Z
pop
end local 12 end local 11 end local 10 end local 9 40: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable java.util.Map int java.util.SortedSet org.w3c.dom.NamedNodeMap int int
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
41: iload 8
iload 7
if_icmplt 10
end local 8 end local 7 end local 6 42: StackMap locals:
StackMap stack:
iload 4
ifeq 56
43: aload 1
ldc "http://www.w3.org/2000/xmlns/"
ldc "xmlns"
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 6
start local 6 44: aconst_null
astore 7
start local 7 45: aload 6
ifnonnull 48
46: aload 2
ldc "xmlns"
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.getMapping:(Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 7
47: goto 52
StackMap locals: org.w3c.dom.Attr org.w3c.dom.Node
StackMap stack:
48: aload 0
aload 6
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.isVisible:(Lorg/w3c/dom/Node;)Z
ifne 52
49: aload 2
50: ldc "xmlns"
ldc ""
aload 0
aload 6
invokeinterface org.w3c.dom.Attr.getOwnerDocument:()Lorg/w3c/dom/Document;
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.getNullNode:(Lorg/w3c/dom/Document;)Lorg/w3c/dom/Attr;
51: invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMappingAndRender:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Node;
astore 7
52: StackMap locals:
StackMap stack:
aload 7
ifnull 54
53: aload 5
aload 7
checkcast org.w3c.dom.Attr
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
54: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.xmlattrStack:Lcom/sun/org/apache/xml/internal/security/c14n/implementations/XmlAttrStack;
aload 5
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack.getXmlnsAttr:(Ljava/util/Collection;)V
55: aload 2
aload 5
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.getUnrenderedNodes:(Ljava/util/Collection;)V
end local 7 end local 6 56: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.getWriter:()Ljava/io/OutputStream;
astore 6
start local 6 57: aload 5
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 8
goto 60
StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable java.util.Map int java.util.SortedSet java.io.OutputStream top java.util.Iterator
StackMap stack:
58: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Attr
astore 7
start local 7 59: aload 7
invokeinterface org.w3c.dom.Attr.getNodeName:()Ljava/lang/String;
aload 7
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
aload 6
aload 3
invokestatic com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.outputAttrToWriter:(Ljava/lang/String;Ljava/lang/String;Ljava/io/OutputStream;Ljava/util/Map;)V
end local 7 60: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 58
61: 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 62 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 62 1 element Lorg/w3c/dom/Element;
0 62 2 ns Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;
0 62 3 cache Ljava/util/Map<Ljava/lang/String;[B>;
4 62 4 isRealVisible Z
5 62 5 result Ljava/util/SortedSet<Lorg/w3c/dom/Attr;>;
7 42 6 attrs Lorg/w3c/dom/NamedNodeMap;
8 42 7 attrsLength I
9 42 8 i I
11 40 9 attribute Lorg/w3c/dom/Attr;
12 40 10 NUri Ljava/lang/String;
13 40 11 NName Ljava/lang/String;
14 40 12 NValue Ljava/lang/String;
29 36 13 n Lorg/w3c/dom/Node;
33 36 14 exArgs [Ljava/lang/Object;
44 56 6 xmlns Lorg/w3c/dom/Attr;
45 56 7 n Lorg/w3c/dom/Node;
57 62 6 writer Ljava/io/OutputStream;
59 60 7 attr Lorg/w3c/dom/Attr;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, org.w3c.dom.DOMException, java.io.IOException
Signature: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;Ljava/util/Map<Ljava/lang/String;[B>;)V
MethodParameters:
Name Flags
element
ns
cache
protected void circumventBugIfNeeded(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput);
descriptor: (Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.isNeedsToBeExpanded:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
ifnull 6
4: aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getSubNode:()Lorg/w3c/dom/Node;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
astore 2
5: goto 7
6: StackMap locals: org.w3c.dom.Document
StackMap stack:
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput.getNodeSet:()Ljava/util/Set;
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getOwnerDocument:(Ljava/util/Set;)Lorg/w3c/dom/Document;
astore 2
7: StackMap locals:
StackMap stack:
aload 2
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.circumventBug2650:(Lorg/w3c/dom/Document;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 9 1 input Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
3 9 2 doc Lorg/w3c/dom/Document;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
MethodParameters:
Name Flags
input
protected void handleParent(org.w3c.dom.Element, com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable);
descriptor: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.w3c.dom.Element.hasAttributes:()Z
ifne 2
aload 1
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.xmlattrStack:Lcom/sun/org/apache/xml/internal/security/c14n/implementations/XmlAttrStack;
iconst_m1
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack.push:(I)V
3: aload 1
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 3
start local 3 4: aload 3
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 18
7: StackMap locals: org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 3
iload 5
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 6
start local 6 8: aload 6
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
astore 7
start local 7 9: aload 6
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
astore 8
start local 8 10: ldc "http://www.w3.org/2000/xmlns/"
aload 6
invokeinterface org.w3c.dom.Attr.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
11: ldc "xml"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
ldc "http://www.w3.org/XML/1998/namespace"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
12: StackMap locals: org.w3c.dom.Attr java.lang.String java.lang.String
StackMap stack:
aload 2
aload 7
aload 8
aload 6
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMapping:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Z
pop
13: goto 17
StackMap locals:
StackMap stack:
14: ldc "http://www.w3.org/XML/1998/namespace"
aload 6
invokeinterface org.w3c.dom.Attr.getNamespaceURI:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.c14n11:Z
ifeq 16
ldc "id"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315.xmlattrStack:Lcom/sun/org/apache/xml/internal/security/c14n/implementations/XmlAttrStack;
aload 6
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.XmlAttrStack.addXmlnsAttr:(Lorg/w3c/dom/Attr;)V
end local 8 end local 7 end local 6 17: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
iload 4
if_icmplt 7
end local 5 19: aload 1
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
ifnull 30
20: aload 1
invokeinterface org.w3c.dom.Element.getPrefix:()Ljava/lang/String;
astore 5
start local 5 21: aload 1
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
astore 6
start local 6 22: aload 5
ifnull 23
aload 5
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
23: StackMap locals: com.sun.org.apache.xml.internal.security.c14n.implementations.Canonicalizer20010315 org.w3c.dom.Element com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable org.w3c.dom.NamedNodeMap int java.lang.String java.lang.String
StackMap stack:
ldc "xmlns"
astore 5
24: ldc "xmlns"
astore 7
start local 7 25: goto 27
end local 7 26: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 27: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
ldc "http://www.w3.org/2000/xmlns/"
aload 7
invokeinterface org.w3c.dom.Document.createAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 8
start local 8 28: aload 8
aload 6
invokeinterface org.w3c.dom.Attr.setValue:(Ljava/lang/String;)V
29: aload 2
aload 5
aload 6
aload 8
invokevirtual com.sun.org.apache.xml.internal.security.c14n.implementations.NameSpaceSymbTable.addMapping:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/Attr;)Z
pop
end local 8 end local 7 end local 6 end local 5 30: 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 31 0 this Lcom/sun/org/apache/xml/internal/security/c14n/implementations/Canonicalizer20010315;
0 31 1 e Lorg/w3c/dom/Element;
0 31 2 ns Lcom/sun/org/apache/xml/internal/security/c14n/implementations/NameSpaceSymbTable;
4 31 3 attrs Lorg/w3c/dom/NamedNodeMap;
5 31 4 attrsLength I
6 19 5 i I
8 17 6 attribute Lorg/w3c/dom/Attr;
9 17 7 NName Ljava/lang/String;
10 17 8 NValue Ljava/lang/String;
21 30 5 NName Ljava/lang/String;
22 30 6 NValue Ljava/lang/String;
25 26 7 Name Ljava/lang/String;
27 30 7 Name Ljava/lang/String;
28 30 8 n Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
e
ns
}
SourceFile: "Canonicalizer20010315.java"