public final class com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/c14n/helper/C14nHelper;
public static boolean namespaceIsRelative(org.w3c.dom.Attr);
descriptor: (Lorg/w3c/dom/Attr;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper.namespaceIsAbsolute:(Lorg/w3c/dom/Attr;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 namespace Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
namespace
public static boolean namespaceIsRelative(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper.namespaceIsAbsolute:(Ljava/lang/String;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 namespaceValue Ljava/lang/String;
MethodParameters:
Name Flags
namespaceValue
public static boolean namespaceIsAbsolute(org.w3c.dom.Attr);
descriptor: (Lorg/w3c/dom/Attr;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper.namespaceIsAbsolute:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 namespace Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
namespace
public static boolean namespaceIsAbsolute(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
ifle 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 namespaceValue Ljava/lang/String;
MethodParameters:
Name Flags
namespaceValue
public static void assertNotRelativeNS(org.w3c.dom.Attr);
descriptor: (Lorg/w3c/dom/Attr;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Attr.getNodeName:()Ljava/lang/String;
astore 1
start local 1 3: ldc "xmlns"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 2
start local 2 4: aload 1
ldc "xmlns:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 3
start local 3 5: iload 2
ifne 6
iload 3
ifeq 13
StackMap locals: java.lang.String int int
StackMap stack:
6: aload 0
invokestatic com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper.namespaceIsRelative:(Lorg/w3c/dom/Attr;)Z
ifeq 13
7: aload 0
invokeinterface org.w3c.dom.Attr.getOwnerElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
astore 4
start local 4 8: aload 0
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
astore 5
start local 5 9: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 5
aastore
astore 6
start local 6 10: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
11: ldc "c14n.Canonicalizer.RelativeNamespace"
aload 6
12: invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 6 end local 5 end local 4 13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 attr Lorg/w3c/dom/Attr;
3 14 1 nodeAttrName Ljava/lang/String;
4 14 2 definesDefaultNS Z
5 14 3 definesNonDefaultNS Z
8 13 4 parentName Ljava/lang/String;
9 13 5 attrValue Ljava/lang/String;
10 13 6 exArgs [Ljava/lang/Object;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
attr
public static void checkTraversability(org.w3c.dom.Document);
descriptor: (Lorg/w3c/dom/Document;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "Traversal"
ldc "2.0"
invokeinterface org.w3c.dom.Document.isSupported:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 5
1: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokeinterface org.w3c.dom.Document.getImplementation:()Lorg/w3c/dom/DOMImplementation;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
astore 1
start local 1 2: new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
3: ldc "c14n.Canonicalizer.TraversalNotSupported"
aload 1
4: invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 document Lorg/w3c/dom/Document;
2 5 1 exArgs [Ljava/lang/Object;
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
document
public static void checkForRelativeNamespace(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ifnull 9
1: aload 0
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 1
start local 1 2: aload 1
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 1
iload 3
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
invokestatic com.sun.org.apache.xml.internal.security.c14n.helper.C14nHelper.assertNotRelativeNS:(Lorg/w3c/dom/Attr;)V
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 5
end local 3 end local 2 end local 1 8: goto 10
9: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
dup
ldc "Called checkForRelativeNamespace() on null"
invokespecial com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 ctxNode Lorg/w3c/dom/Element;
2 8 1 attributes Lorg/w3c/dom/NamedNodeMap;
3 8 2 length I
4 8 3 i I
Exceptions:
throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException
MethodParameters:
Name Flags
ctxNode
}
SourceFile: "C14nHelper.java"