public final class org.jcp.xml.dsig.internal.dom.DOMXPathTransform extends org.jcp.xml.dsig.internal.dom.ApacheTransform
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.DOMXPathTransform
super_class: org.jcp.xml.dsig.internal.dom.ApacheTransform
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.ApacheTransform.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMXPathTransform;
public void init(javax.xml.crypto.dsig.spec.TransformParameterSpec);
descriptor: (Ljavax/xml/crypto/dsig/spec/TransformParameterSpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.security.InvalidAlgorithmParameterException
dup
ldc "params are required"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.xml.crypto.dsig.spec.XPathFilterParameterSpec
ifne 6
3: new java.security.InvalidAlgorithmParameterException
dup
4: ldc "params must be of type XPathFilterParameterSpec"
5: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jcp.xml.dsig.internal.dom.DOMXPathTransform.params:Ljavax/xml/crypto/dsig/spec/TransformParameterSpec;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jcp/xml/dsig/internal/dom/DOMXPathTransform;
0 8 1 params Ljavax/xml/crypto/dsig/spec/TransformParameterSpec;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
public void init(javax.xml.crypto.XMLStructure, javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/XMLStructure;Ljavax/xml/crypto/XMLCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jcp.xml.dsig.internal.dom.ApacheTransform.init:(Ljavax/xml/crypto/XMLStructure;Ljavax/xml/crypto/XMLCryptoContext;)V
1: aload 0
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMXPathTransform.transformElem:Lorg/w3c/dom/Element;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
invokevirtual org.jcp.xml.dsig.internal.dom.DOMXPathTransform.unmarshalParams:(Lorg/w3c/dom/Element;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMXPathTransform;
0 3 1 parent Ljavax/xml/crypto/XMLStructure;
0 3 2 context Ljavax/xml/crypto/XMLCryptoContext;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
parent
context
private void unmarshalParams(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 3
start local 3 2: aload 3
ifnull 16
3: aload 3
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 4
start local 4 4: new java.util.HashMap
dup
iload 4
invokespecial java.util.HashMap.<init>:(I)V
5: astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: goto 13
8: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMXPathTransform org.w3c.dom.Element java.lang.String org.w3c.dom.NamedNodeMap int java.util.Map int
StackMap stack:
aload 3
iload 6
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 7
start local 7 9: aload 7
invokeinterface org.w3c.dom.Attr.getPrefix:()Ljava/lang/String;
astore 8
start local 8 10: aload 8
ifnull 12
ldc "xmlns"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: aload 5
aload 7
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
aload 7
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 12: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 4
if_icmplt 8
end local 6 14: aload 0
new javax.xml.crypto.dsig.spec.XPathFilterParameterSpec
dup
aload 2
aload 5
invokespecial javax.xml.crypto.dsig.spec.XPathFilterParameterSpec.<init>:(Ljava/lang/String;Ljava/util/Map;)V
putfield org.jcp.xml.dsig.internal.dom.DOMXPathTransform.params:Ljavax/xml/crypto/dsig/spec/TransformParameterSpec;
end local 5 end local 4 15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
new javax.xml.crypto.dsig.spec.XPathFilterParameterSpec
dup
aload 2
invokespecial javax.xml.crypto.dsig.spec.XPathFilterParameterSpec.<init>:(Ljava/lang/String;)V
putfield org.jcp.xml.dsig.internal.dom.DOMXPathTransform.params:Ljavax/xml/crypto/dsig/spec/TransformParameterSpec;
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/jcp/xml/dsig/internal/dom/DOMXPathTransform;
0 18 1 paramsElem Lorg/w3c/dom/Element;
1 18 2 xPath Ljava/lang/String;
2 18 3 attributes Lorg/w3c/dom/NamedNodeMap;
4 15 4 length I
6 15 5 namespaceMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
7 14 6 i I
9 12 7 attr Lorg/w3c/dom/Attr;
10 12 8 prefix Ljava/lang/String;
MethodParameters:
Name Flags
paramsElem
public void marshalParams(javax.xml.crypto.XMLStructure, javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/XMLStructure;Ljavax/xml/crypto/XMLCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jcp.xml.dsig.internal.dom.ApacheTransform.marshalParams:(Ljavax/xml/crypto/XMLStructure;Ljavax/xml/crypto/XMLCryptoContext;)V
1: aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.DOMXPathTransform.getParameterSpec:()Ljava/security/spec/AlgorithmParameterSpec;
checkcast javax.xml.crypto.dsig.spec.XPathFilterParameterSpec
2: astore 3
start local 3 3: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMXPathTransform.ownerDoc:Lorg/w3c/dom/Document;
ldc "XPath"
4: ldc "http://www.w3.org/2000/09/xmldsig#"
aload 2
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getSignaturePrefix:(Ljavax/xml/crypto/XMLCryptoContext;)Ljava/lang/String;
5: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.createElement:(Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 4
start local 4 6: aload 4
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMXPathTransform.ownerDoc:Lorg/w3c/dom/Document;
aload 3
invokevirtual javax.xml.crypto.dsig.spec.XPathFilterParameterSpec.getXPath:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
7: aload 3
invokevirtual javax.xml.crypto.dsig.spec.XPathFilterParameterSpec.getNamespaceMap:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
8: astore 5
start local 5 9: aload 5
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 15
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMXPathTransform javax.xml.crypto.XMLStructure javax.xml.crypto.XMLCryptoContext javax.xml.crypto.dsig.spec.XPathFilterParameterSpec org.w3c.dom.Element java.util.Set top java.util.Iterator
StackMap stack:
10: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 11: aload 4
ldc "http://www.w3.org/2000/xmlns/"
new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
14: invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 6 15: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
16: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMXPathTransform.transformElem:Lorg/w3c/dom/Element;
aload 4
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
17: 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 18 0 this Lorg/jcp/xml/dsig/internal/dom/DOMXPathTransform;
0 18 1 parent Ljavax/xml/crypto/XMLStructure;
0 18 2 context Ljavax/xml/crypto/XMLCryptoContext;
3 18 3 xp Ljavax/xml/crypto/dsig/spec/XPathFilterParameterSpec;
6 18 4 xpathElem Lorg/w3c/dom/Element;
9 18 5 entries Ljava/util/Set<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;
11 15 6 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
context
}
SourceFile: "DOMXPathTransform.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map