public class com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI implements com.sun.org.apache.xml.internal.security.utils.XPathAPI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI
super_class: java.lang.Object
{
private javax.xml.xpath.XPathFactory xpf;
descriptor: Ljavax/xml/xpath/XPathFactory;
flags: (0x0002) ACC_PRIVATE
private java.lang.String xpathStr;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.xml.xpath.XPathExpression xpathExpression;
descriptor: Ljavax/xml/xpath/XPathExpression;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/JDKXPathAPI;
public org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node, org.w3c.dom.Node, java.lang.String, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Ljava/lang/String;Lorg/w3c/dom/Node;)Lorg/w3c/dom/NodeList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathStr:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathExpression:Ljavax/xml/xpath/XPathExpression;
ifnonnull 14
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
ifnonnull 7
2: aload 0
invokestatic javax.xml.xpath.XPathFactory.newInstance:()Ljavax/xml/xpath/XPathFactory;
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
3: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
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.xpath.XPathFactory.setFeature:(Ljava/lang/String;Z)V
4: goto 7
StackMap locals:
StackMap stack: javax.xml.xpath.XPathFactoryConfigurationException
5: astore 5
start local 5 6: new javax.xml.transform.TransformerException
dup
ldc "empty"
aload 5
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
invokevirtual javax.xml.xpath.XPathFactory.newXPath:()Ljavax/xml/xpath/XPath;
astore 5
start local 5 8: aload 5
new com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext
dup
aload 4
invokespecial com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.<init>:(Lorg/w3c/dom/Node;)V
invokeinterface javax.xml.xpath.XPath.setNamespaceContext:(Ljavax/xml/namespace/NamespaceContext;)V
9: aload 0
aload 3
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathStr:Ljava/lang/String;
10: aload 0
aload 5
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathStr:Ljava/lang/String;
invokeinterface javax.xml.xpath.XPath.compile:(Ljava/lang/String;)Ljavax/xml/xpath/XPathExpression;
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathExpression:Ljavax/xml/xpath/XPathExpression;
11: goto 14
StackMap locals: com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI org.w3c.dom.Node org.w3c.dom.Node java.lang.String org.w3c.dom.Node javax.xml.xpath.XPath
StackMap stack: javax.xml.xpath.XPathExpressionException
12: astore 6
start local 6 13: new javax.xml.transform.TransformerException
dup
ldc "empty"
aload 6
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathExpression:Ljavax/xml/xpath/XPathExpression;
aload 1
getstatic javax.xml.xpath.XPathConstants.NODESET:Ljavax/xml/namespace/QName;
invokeinterface javax.xml.xpath.XPathExpression.evaluate:(Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object;
checkcast org.w3c.dom.NodeList
15: areturn
16: StackMap locals:
StackMap stack: javax.xml.xpath.XPathExpressionException
astore 5
start local 5 17: new javax.xml.transform.TransformerException
dup
ldc "empty"
aload 5
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
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 Lcom/sun/org/apache/xml/internal/security/utils/JDKXPathAPI;
0 18 1 contextNode Lorg/w3c/dom/Node;
0 18 2 xpathnode Lorg/w3c/dom/Node;
0 18 3 str Ljava/lang/String;
0 18 4 namespaceNode Lorg/w3c/dom/Node;
6 7 5 ex Ljavax/xml/xpath/XPathFactoryConfigurationException;
8 14 5 xpath Ljavax/xml/xpath/XPath;
13 14 6 ex Ljavax/xml/xpath/XPathExpressionException;
17 18 5 ex Ljavax/xml/xpath/XPathExpressionException;
Exception table:
from to target type
3 4 5 Class javax.xml.xpath.XPathFactoryConfigurationException
10 11 12 Class javax.xml.xpath.XPathExpressionException
14 15 16 Class javax.xml.xpath.XPathExpressionException
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
contextNode
xpathnode
str
namespaceNode
public boolean evaluate(org.w3c.dom.Node, org.w3c.dom.Node, java.lang.String, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Ljava/lang/String;Lorg/w3c/dom/Node;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathStr:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathExpression:Ljavax/xml/xpath/XPathExpression;
ifnonnull 14
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
ifnonnull 7
2: aload 0
invokestatic javax.xml.xpath.XPathFactory.newInstance:()Ljavax/xml/xpath/XPathFactory;
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
3: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
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.xpath.XPathFactory.setFeature:(Ljava/lang/String;Z)V
4: goto 7
StackMap locals:
StackMap stack: javax.xml.xpath.XPathFactoryConfigurationException
5: astore 5
start local 5 6: new javax.xml.transform.TransformerException
dup
ldc "empty"
aload 5
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
invokevirtual javax.xml.xpath.XPathFactory.newXPath:()Ljavax/xml/xpath/XPath;
astore 5
start local 5 8: aload 5
new com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext
dup
aload 4
invokespecial com.sun.org.apache.xml.internal.security.utils.DOMNamespaceContext.<init>:(Lorg/w3c/dom/Node;)V
invokeinterface javax.xml.xpath.XPath.setNamespaceContext:(Ljavax/xml/namespace/NamespaceContext;)V
9: aload 0
aload 3
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathStr:Ljava/lang/String;
10: aload 0
aload 5
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathStr:Ljava/lang/String;
invokeinterface javax.xml.xpath.XPath.compile:(Ljava/lang/String;)Ljavax/xml/xpath/XPathExpression;
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathExpression:Ljavax/xml/xpath/XPathExpression;
11: goto 14
StackMap locals: com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI org.w3c.dom.Node org.w3c.dom.Node java.lang.String org.w3c.dom.Node javax.xml.xpath.XPath
StackMap stack: javax.xml.xpath.XPathExpressionException
12: astore 6
start local 6 13: new javax.xml.transform.TransformerException
dup
ldc "empty"
aload 6
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathExpression:Ljavax/xml/xpath/XPathExpression;
aload 1
getstatic javax.xml.xpath.XPathConstants.BOOLEAN:Ljavax/xml/namespace/QName;
invokeinterface javax.xml.xpath.XPathExpression.evaluate:(Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 5
start local 5 15: aload 5
invokevirtual java.lang.Boolean.booleanValue:()Z
16: ireturn
end local 5 17: StackMap locals:
StackMap stack: javax.xml.xpath.XPathExpressionException
astore 5
start local 5 18: new javax.xml.transform.TransformerException
dup
ldc "empty"
aload 5
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
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 19 0 this Lcom/sun/org/apache/xml/internal/security/utils/JDKXPathAPI;
0 19 1 contextNode Lorg/w3c/dom/Node;
0 19 2 xpathnode Lorg/w3c/dom/Node;
0 19 3 str Ljava/lang/String;
0 19 4 namespaceNode Lorg/w3c/dom/Node;
6 7 5 ex Ljavax/xml/xpath/XPathFactoryConfigurationException;
8 14 5 xpath Ljavax/xml/xpath/XPath;
13 14 6 ex Ljavax/xml/xpath/XPathExpressionException;
15 17 5 result Ljava/lang/Boolean;
18 19 5 ex Ljavax/xml/xpath/XPathExpressionException;
Exception table:
from to target type
3 4 5 Class javax.xml.xpath.XPathFactoryConfigurationException
10 11 12 Class javax.xml.xpath.XPathExpressionException
14 16 17 Class javax.xml.xpath.XPathExpressionException
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
contextNode
xpathnode
str
namespaceNode
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathStr:Ljava/lang/String;
1: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpathExpression:Ljavax/xml/xpath/XPathExpression;
2: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.utils.JDKXPathAPI.xpf:Ljavax/xml/xpath/XPathFactory;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/security/utils/JDKXPathAPI;
}
SourceFile: "JDKXPathAPI.java"